Skip to content

System calls #36

@SamTebbs33

Description

@SamTebbs33

The kernel will need syscalls so that programs can interact with the kernel. We could choose the same interrupt number as linux, which would be 0x80. The number used to select which syscall is desired could be placed in eax, and the kernel will perform the appropriate action for that number. Parameters should be passed according to the architecture's ABI, so for x86 we'd follow the cdecl ABI.

Depends on #51

Metadata

Metadata

Assignees

Labels

arch: noneAffects common code across architecturesarch: x86Affects the x86 portenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions