70 Commits

Author SHA1 Message Date
cec6b644ac kernel: add functions to query the number of available/online CPUs 2023-05-05 15:25:44 +01:00
bb524c1576 kernel: add support for getting percpu variables that belong to other CPUs 2023-05-04 21:42:51 +01:00
a52571eb19 kernel: add panic() function that accepts a cpu_context 2023-05-03 19:26:09 +01:00
40762ffb95 kernel: add function to query the current preempt count 2023-05-01 08:26:41 +01:00
72d8facd47 kernel: add standard clock system 2023-04-28 20:51:51 +01:00
e7fe5a8f8e kernel: add function to query CPU clock cycle count 2023-04-22 21:07:34 +01:00
b6f8c1ccaa kernel: don't use typedef for enums or non-opaque structs 2023-04-13 11:40:52 +01:00
981a5f2a0d kernel: add kern_status_string() 2023-04-09 16:38:31 +01:00
da415c7f6d kernel: implement panic() 2023-04-09 16:35:15 +01:00
7d003da960 sched: add current_task(), current_thread(), and preempt_disable/enable() 2023-03-28 21:40:56 +01:00
768e6c4ff6 kernel: fix off-by-one in per-cpu area allocation size 2023-03-19 20:35:25 +00:00
57eaf4e01c kernel: implement cpu IDs and per-cpu variables 2023-03-18 19:35:00 +00:00
5b9bdd4848 kernel: add definitions for a TTY device interface. 2023-02-09 11:35:35 +00:00
d56fc961fa kernel: print log messages directly to the console if log_buffer is full 2023-02-08 17:10:13 +00:00
31cb7aab8b kernel: add basic console registration system and printk() 2023-02-04 19:03:45 +00:00
d0a431c860 kernel: add basic spinlocks 2023-02-04 19:03:30 +00:00
247bb2b530 kernel: port sandbox components 2023-02-03 20:51:23 +00:00
40f83922da sandbox: moved all sources to main kernel tree 2023-02-03 20:43:38 +00:00
bcdf101779 kernel: add stub logging function 2023-02-03 20:26:02 +00:00
8475a6139e Implemented some basic libc functions and a text console 2022-12-21 08:29:33 +00:00