ABI proposal #8
Labels
No labels
I-bug
I-enhancement
S-bug
S-proposal
bikeshedding
help-wanted
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AbleOS/holey-bytes#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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