Closed marikgoldstein closed 7 years ago
Question from last week: What would it be like to write a generic barrelfish trapframe? This would involve restructuring the arch-specific syscall setup code into a mapping from arch-specific trapframe to barrelfish trapframe, and then call the MI syscalls (kern/syscall) with arguments taken from the barrelfish trapframe.
This might result in more simple and readable code, and it might cause the arch-specific syscall layer to look more consistent across archs (to make arch/arm/syscall and arch/x86_64/syscall to look more similar for example)
Note: function implementations that are automatically generated by the Hamlet parser will NOT be shown in kern/syscalls as they are a consequence of the build process. These functions will be found somewhere in build/something/something/cap_predicates or something with a similar name. It's quite possible that these functions are still shared across archs! is_ancestor() is an example