Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it supporting andoird? #3

Open
likesxuqiang opened this issue Sep 2, 2024 · 1 comment
Open

Is it supporting andoird? #3

likesxuqiang opened this issue Sep 2, 2024 · 1 comment

Comments

@likesxuqiang
Copy link

Is there a copy surpporting android ? only support x86 now?

@likesxuqiang
Copy link
Author

is there android arm version for these code ?
#ifdef CONFIG_X86
// The use of registers relies on the arch.
// arch/x86/lib/putuser.S
// arch/x86/lib/getuser.S
PRE_HANDLER_KERNEL(copy_from_user, regs->si, regs->dx)
PRE_HANDLER_KERNEL(get_user_1, regs->ax, 1)
PRE_HANDLER_KERNEL(get_user_2, regs->ax, 2)
PRE_HANDLER_KERNEL(get_user_4, regs->ax, 4)
PRE_HANDLER_KERNEL(get_user_8, regs->ax, 8)
PRE_HANDLER_USER(copy_to_user, regs->di, regs->dx)
PRE_HANDLER_USER(put_user_1, regs->cx, 1)
PRE_HANDLER_USER(put_user_2, regs->cx, 2)
PRE_HANDLER_USER(put_user_4, regs->cx, 4)
PRE_HANDLER_USER(put_user_8, regs->cx, 8)
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant