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

Refactor Inline ASM Macros into Standalone ASM Files? #10

Open
tommy-u opened this issue Oct 19, 2022 · 0 comments
Open

Refactor Inline ASM Macros into Standalone ASM Files? #10

tommy-u opened this issue Oct 19, 2022 · 0 comments

Comments

@tommy-u
Copy link
Contributor

tommy-u commented Oct 19, 2022

Some of the inline assembly macros used in e.g. https://github.com/Symbi-OS/Symlib/blob/master/src/L2/sym_lib_page_fault.c#L217 are complicated and possibly error prone. If they could be expressed more clearly in standalone assembly code, it might be worth the refactor. A simple example here: https://github.com/Symbi-OS/LinuxPrototypes/tree/master/dynam_asm shows how asm and shared libs can be linked.

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