Commit Graph

601 Commits

Author SHA1 Message Date
wash a4d850cc03 x86_64: more local and i/o apic configuration 2023-03-20 20:21:44 +00:00
wash 8e9127cd6a x86_64: init local apic on boot, or legacy pic/pit as fallback 2023-03-19 20:36:36 +00:00
wash 7e26050bde kernel: add volatile var read/write macros 2023-03-19 20:36:13 +00:00
wash ae848e9776 sched: add thread status flags 2023-03-19 20:35:48 +00:00
wash 768e6c4ff6 kernel: fix off-by-one in per-cpu area allocation size 2023-03-19 20:35:25 +00:00
wash 6ab0e653d5 build: allow language extensions 2023-03-19 20:33:36 +00:00
wash 44702bec5f build: move compile_commands.json to build directory 2023-03-19 20:33:27 +00:00
wash 4785c767e4 sched: set kernel_task as current task of bootstrap cpu 2023-03-18 19:35:23 +00:00
wash 57eaf4e01c kernel: implement cpu IDs and per-cpu variables 2023-03-18 19:35:00 +00:00
wash 56bc47f570 misc: add sync config file to gitignore 2023-03-17 20:08:23 +00:00
wash 62eb3b63a7 sched: add per-cpu runqueue 2023-03-17 20:07:49 +00:00
wash e1e897c953 kernel: add per-cpu data section to kernel image 2023-03-17 20:07:19 +00:00
wash f816b97cf8 kernel: add bitmap datatype 2023-03-17 20:06:25 +00:00
wash 1266fe5b86 build: link to libgcc 2023-03-17 20:06:02 +00:00
wash e66c611038 build: store compile_commands.json in source tree .config dir 2023-03-13 21:41:33 +00:00
wash c8facafb77 build: add script to copy source tree to/from build server 2023-03-13 21:40:53 +00:00
wash 3e954b1e13 sched: add task and thread alloc functions 2023-03-09 19:55:52 +00:00
wash f2b929e52e btree: fix bad function name expansion in BTREE_DEFINE_SIMPLE_GET() 2023-03-09 19:55:26 +00:00
wash 079941f3f9 libc: remove sprintf() 2023-03-09 19:54:27 +00:00
wash 22743edeb7 pmap: add get_kernel_pmap() 2023-03-09 19:50:22 +00:00
wash 902df83654 sched: add struct and object types for task and thread objects 2023-03-06 11:08:26 +00:00
wash 1a413189ab kernel: move object_bootstrap() call to kernel_init() 2023-03-06 11:08:02 +00:00
wash eecc4c5c1a user: replace x86_64 definitions with stubs 2023-03-06 11:06:59 +00:00
wash 7fab406b44 test: obj: deref objects obtained from get_at() after use 2023-03-05 18:26:28 +00:00
wash 8285506e58 obj: use ref-counting in set objects 2023-03-05 18:26:05 +00:00
wash d41ea0cd52 kernel: implement initcalls and a testing system 2023-02-26 10:05:39 +00:00
wash bc1bc9fec5 obj: add set and namespace object callbacks 2023-02-25 19:12:09 +00:00
wash eed73e2414 build: add a "user" arch to allow the kernel to run as a program on the host machine 2023-02-25 17:58:23 +00:00
wash 8c87e78797 obj: add more set and namespace functions 2023-02-25 17:57:53 +00:00
wash ef10ed5cd2 kernel: add initial object manager definitions 2023-02-17 19:36:14 +00:00
wash ff19915466 vm: mark memory holes as reserved under sparse memory model 2023-02-17 19:34:12 +00:00
wash 81ca98c952 x86_64: acpi: add minimal SMP core startup 2023-02-09 21:39:20 +00:00
wash d960909d1b x86_64: pmap: enable NX protection during bootstrap 2023-02-09 21:38:50 +00:00
wash ddb00acd31 x86_64: add a basic ACPI driver 2023-02-09 19:09:07 +00:00
wash a206b640e9 build: write VM serial output to log file 2023-02-09 19:08:24 +00:00
wash 5b9bdd4848 kernel: add definitions for a TTY device interface. 2023-02-09 11:35:35 +00:00
wash 943e9dc517 build: make tools makefile quiet 2023-02-09 09:16:48 +00:00
wash 8c4c224435 vm: fix get_or_create_page not allocating enough memory for sparse page map 2023-02-08 21:29:45 +00:00
wash 22eabbedbc vm: log per-zone free memory during init 2023-02-08 21:29:20 +00:00
wash 9792aa512d vm: use vm_memory_mode() to determine which model to initialise 2023-02-08 21:28:47 +00:00
wash b0b557d919 x86_64: add temporary serial driver for printk 2023-02-08 21:28:20 +00:00
wash 56578dda38 build: x86_64: write printk output to file via qemu serial port 2023-02-08 21:27:47 +00:00
wash 6c6ca6920b vm: handle null vm_pages and empty zones in zone init 2023-02-08 20:26:51 +00:00
wash b32791ade7 vm: zero sector array; perform overflow checks 2023-02-08 20:26:18 +00:00
wash a595b3040a vm: remove debug message from get_or_create_page 2023-02-08 20:25:52 +00:00
wash a9f8069aab vm: add sparse mm support to vm_page functions 2023-02-08 20:25:24 +00:00
wash cb6b400fae x86_64: build: add rule to debug using ncurses 2023-02-08 20:24:49 +00:00
wash 5e10f566a4 x86_64: add basic interrupt handling 2023-02-08 20:24:40 +00:00
wash 18c5b34923 build: create copy of kernel binary with debug symbols 2023-02-08 20:24:22 +00:00
wash e96da32cd5 x86_64: check for failure in alloc test 2023-02-08 18:48:01 +00:00