[kernel] Clean up syscall code

This is a minor refactor including:
- Removing old commented-out syscall_dispatch function
- Removing IA32_EFER syscall-enable flag setting (this is done by the
  bootloader now)
- Moving much logging from inside process/thread syscalls to the 'task'
  log area, allowing for turning the 'syscall' area down to info by
  default.
This commit is contained in:
Justin C. Miller
2021-01-23 20:37:20 -08:00
parent 16b9d4fd8b
commit 211a3c2358
5 changed files with 10 additions and 91 deletions

View File

@@ -7,7 +7,7 @@ struct cpu_state;
enum class syscall : uint64_t
{
#define SYSCALL(id, name, result, ...) name = id,
#define SYSCALL(id, name, ...) name = id,
#include "syscalls.inc"
#undef SYSCALL