Skip to content

[kernel] Store syscall table in ROM on ROM platforms#2311

Merged
ghaerr merged 1 commit intoghaerr:masterfrom
asiekierka:feature/entry-romcode
Apr 20, 2025
Merged

[kernel] Store syscall table in ROM on ROM platforms#2311
ghaerr merged 1 commit intoghaerr:masterfrom
asiekierka:feature/entry-romcode

Conversation

@asiekierka
Copy link
Copy Markdown
Contributor

Since the system call table is already in memory on ROM platforms, and it doesn't appear to be written to at runtime, there's no need to copy it from the text segment to the data segment.

This saves about 416 bytes of RAM on those platforms at the expense of having to process the cs: segment modifier as part of a syscall.

@ghaerr
Copy link
Copy Markdown
Owner

ghaerr commented Apr 20, 2025

Another nice saving of RAM for ROM systems, thank you!

@ghaerr ghaerr merged commit 44e7960 into ghaerr:master Apr 20, 2025
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.

2 participants