Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kcall] Automatically Update Number of Kernel Calls #176

Closed
ppenna opened this issue Sep 9, 2019 · 0 comments
Closed

[kcall] Automatically Update Number of Kernel Calls #176

ppenna opened this issue Sep 9, 2019 · 0 comments
Assignees
Labels
enhancement Enhancement Request on an Existing Feature good first issue Good for Newcomers

Comments

@ppenna
Copy link
Contributor

ppenna commented Sep 9, 2019

Description

Currently, whenever we add a new kernel call, we should update NR_SYSCALLS. If we are not cautious, this may introduce a bug in the kernel.

Instead, we should create a constant NR_last_kcall with the last kernel call number and make NR_SYSCALLS expand to it.

@ppenna ppenna added enhancement Enhancement Request on an Existing Feature good first issue Good for Newcomers labels Sep 9, 2019
@ppenna ppenna added this to the Microkernel 1.0 Release milestone Sep 9, 2019
@ppenna ppenna changed the title Automatically Update Last Kernel Call Number Automatically Update Number of Kernel Calls Sep 9, 2019
@joaofel-u joaofel-u self-assigned this Sep 9, 2019
@ppenna ppenna changed the title Automatically Update Number of Kernel Calls [kcall] Automatically Update Number of Kernel Calls Sep 10, 2019
@ppenna ppenna closed this as completed Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement Request on an Existing Feature good first issue Good for Newcomers
Projects
None yet
Development

No branches or pull requests

2 participants