Skip to content

Implement syscall(2)#9

Draft
dogtopus wants to merge 6 commits intomasterfrom
implement-syscall2
Draft

Implement syscall(2)#9
dogtopus wants to merge 6 commits intomasterfrom
implement-syscall2

Conversation

@dogtopus
Copy link
Contributor

@dogtopus dogtopus commented Aug 1, 2025

NOTE: This does not work yet. We may need to rewrite this to avoid using stack red zone for generated SVC instruction.


Pretty straightforward on paper. You make a call to this function and it calls the corresponding syscall for you, buuuut Besta has to make it unnecessarily complicated to implement it...

Not tested yet.
The function has now been verified on emulator.
va decoding is still broken it seems but at least it's not crashing anymore.
Still doesn't work :(
@dogtopus dogtopus force-pushed the implement-syscall2 branch from 71f59f4 to e07e505 Compare August 14, 2025 15:01
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

Successfully merging this pull request may close these issues.

1 participant