ABI proposal #8
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AbleOS/holey-bytes#8
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Proposal for official Holey Bytes C ABI.
Eg. What registers are reserved for what, what is saved by caller, what is saved by callee, integer sizes, etc etc...
Currently we have reserved:
r0
is a zero register, by spec unwritable, hard-wired zeror1
as a return address, saved by callerr2
as a stack pointer, saved by calleer3
as a thread-local data base pointer