Add kernel logging task

- Enable creating kernel tasks
- Create kernel task that disables immediate-mode logging and prints
  logs to the console forever
This commit is contained in:
Justin C. Miller
2019-03-20 23:45:01 -07:00
parent 866073ae8a
commit 9067f8d298
14 changed files with 142 additions and 30 deletions

View File

@@ -10,6 +10,14 @@ struct cpu_state
uint64_t rip, cs, rflags, user_rsp, ss;
};
struct cpu_data
{
uintptr_t rsp0;
uintptr_t rsp3;
};
extern cpu_data bsp_cpu_data;
class cpu_id
{
public: