Commit Graph

  • 85006411bd kernel: add header files Max Wash 2026-02-19 19:13:44 +00:00
  • f2e128c57e handle: re-arrange handle space layout Max Wash 2026-02-19 19:11:11 +00:00
  • c6e1ba21dd vm: implement direct read/write/copy access to vm-object memory Max Wash 2026-02-19 19:09:38 +00:00
  • 2f413c603d kernel: all string parameters now take a corresponding length parameter Max Wash 2026-02-19 19:07:55 +00:00
  • 291a5f677e sched: implement passing arguments to user-mode threads Max Wash 2026-02-19 19:04:00 +00:00
  • b188573eea x86_64: pmap: change pmap_remove* pointer args to virt_addr_t Max Wash 2026-02-19 19:01:12 +00:00
  • c69aed254f x86_64: enable interrupts during syscall execution Max Wash 2026-02-19 19:00:04 +00:00
  • 44c2904c11 x86_64: re-arrange user and kernel GDT entries for compatibility with syscall instruction Max Wash 2026-02-19 18:59:37 +00:00
  • f89e3cb12c kernel: adjust formatting Max Wash 2026-02-19 18:57:53 +00:00
  • 6019c9307d kernel: separate headers into kernel and user headers Max Wash 2026-02-19 18:54:48 +00:00
  • e3dd48a0fa build: remove per-subdirectory log message Max Wash 2026-02-08 16:17:47 +00:00
  • 9f7b7bdd2d kernel: refactor syscall dispatch system Max Wash 2026-02-08 16:17:11 +00:00
  • c424e8127e kernel: bsp: update vm-region api usage Max Wash 2026-02-08 15:52:04 +00:00
  • fb7d7635c2 vm: region: refactor to use offsets rather than absolute addresses Max Wash 2026-02-08 15:51:51 +00:00
  • 409725f9d4 kernel: implementing mapping and execution of bsp executable Max Wash 2026-02-08 13:12:48 +00:00
  • 1c74291b99 kernel: add a temporary syscall dispatch system Max Wash 2026-02-08 13:12:24 +00:00
  • 5d28955dc6 vm: update vm-page documentation Max Wash 2026-02-08 13:11:41 +00:00
  • ee82097017 sched: implement user-mode task and thread creation Max Wash 2026-02-08 13:11:17 +00:00
  • d2f303680d sched: add root vm-region and handle table to struct task Max Wash 2026-02-08 13:10:54 +00:00
  • 27bed1a3d3 sched: all kernel-mode tasks now have negative task ids Max Wash 2026-02-08 13:09:29 +00:00
  • 18a5325fa7 sched: add PID_MAX definition Max Wash 2026-02-08 13:07:14 +00:00
  • 7eaad64969 pmap: declare fault handler function and flags Max Wash 2026-02-08 13:06:19 +00:00
  • 343689764f x86_64: irq: route user-mode page faults to pmap_handle_fault Max Wash 2026-02-08 13:05:29 +00:00
  • 5f2ad06fb0 x86_64: all intermediate page table entries now have PTE_USR set Max Wash 2026-02-08 13:03:41 +00:00
  • 67b3be9732 x86_64: add pmap_handle_fault to route user-mode page faults to vm-region to resolve Max Wash 2026-02-08 13:03:28 +00:00
  • 883b5ac9e2 vm: add vm-region to manage userspace virtual memory address spaces Max Wash 2026-02-08 12:59:08 +00:00
  • b8ccffd2d4 vm: add vm-object to represent non-contiguous physical memory allocations Max Wash 2026-02-08 12:56:43 +00:00
  • 14ebcd4875 kernel: implement object handle tables Max Wash 2026-02-08 12:55:47 +00:00
  • 6950850f5b object: add a macro to define object lock/unlock functions Max Wash 2026-02-08 12:55:13 +00:00
  • bcda479879 sched: implement task id allocation; remove thread id bitmap Max Wash 2026-02-08 12:54:43 +00:00
  • 7c4cff24f2 test: update object api usage Max Wash 2026-02-08 12:52:14 +00:00
  • b31c3a40b4 vm: sparse: ensure that vm_pages for the reserved bsp region are created Max Wash 2026-02-08 12:51:55 +00:00
  • 2b1bed844a vm: change virt_to_phys param to const Max Wash 2026-02-08 12:51:23 +00:00
  • 26afc3c6c3 vm: sparse: fix region base/limit alignment calculation Max Wash 2026-02-08 12:50:08 +00:00
  • d94a6ec7cb kernel: add generic FATAL_ERROR status code Max Wash 2026-02-08 12:48:59 +00:00
  • 0d73196b4b printk: add macro for conditional trace-level printk statements Max Wash 2026-02-08 12:48:33 +00:00
  • 687ba31d55 bitmap: fix bitmal_clear() clearing bits in the wrong direction Max Wash 2026-02-08 12:47:58 +00:00
  • 9e223ca5d0 x86_64: implement syscall instruction init and dispatch Max Wash 2026-02-08 12:47:28 +00:00
  • 4de1463e7c object: add functions to track handle allocation Max Wash 2026-02-08 12:37:08 +00:00
  • 5304e5be00 object: rename deref to unref Max Wash 2026-02-08 12:36:32 +00:00
  • 0853cff56b vm: remove vm_region; add vm_page_get_size_bytes Max Wash 2026-02-08 12:33:36 +00:00
  • aaa76ff197 memblock: make virt_to_phys pointer param const Max Wash 2026-02-08 12:33:03 +00:00
  • 0490541dc9 kernel: adjust formatting Max Wash 2026-02-08 12:17:27 +00:00
  • 49a75a1bbe pmap: change pmap_add* virtual pointer parameter to virt_addr_t Max Wash 2026-02-08 12:08:26 +00:00
  • 34f614b881 libc: move fill_random to kernel/util Max Wash 2026-02-08 12:06:50 +00:00
  • 720ed75770 x86_64: add invalid pmap pointer constant Max Wash 2026-02-08 11:59:18 +00:00
  • 880930e917 x86_64: implement functions to jump to userspace Max Wash 2026-02-08 11:58:27 +00:00
  • da611ab070 x86_64: find, record, and reserve the memory location of the bsp Max Wash 2026-02-08 11:52:33 +00:00
  • 129e782e99 kernel: add functions to get/set the bsp boot module location Max Wash 2026-02-08 11:38:50 +00:00
  • 00ea2b1b3b x86_64: adjust formatting Max Wash 2026-02-08 11:36:16 +00:00
  • 4051265876 x86_64: implement TSS initialisation and user/kernel stack pointer switching Max Wash 2026-02-08 11:34:21 +00:00
  • 564d4f9ba0 x86_64: rename struct cpu_context; move to machine/cpu.h Max Wash 2026-02-08 11:32:09 +00:00
  • c04b33647c x86_64: add kernel and user virtual memory boundary definitions Max Wash 2026-02-08 11:27:37 +00:00
  • a56d69e260 kernel: add a type to represent boot modules Max Wash 2026-02-08 11:02:35 +00:00
  • af0d97d6f5 misc: changes from a long time ago Max Wash 2026-02-03 21:28:15 +00:00
  • c7d4463f7e x86_64: remove redundant header files Max Wash 2025-05-20 23:14:42 +01:00
  • 8811016b7d kernel: remove redundant header files Max Wash 2025-05-20 23:14:33 +01:00
  • e1aeac9562 obj: remove redundant object functions; move to kernel/ subfolder Max Wash 2025-05-20 23:13:12 +01:00
  • 0ba46e065c build: build script now exports compile commands Max Wash 2025-05-20 23:12:21 +01:00
  • 675a6de47e build: add build script to configure kernel and tools build systems Max Wash 2025-05-19 22:01:12 +01:00
  • 4d12cab7f7 doc: add kernel interface documentation Max Wash 2024-11-02 15:12:05 +00:00
  • 62ec4c93ab meta: rename Max Wash 2024-11-02 11:31:51 +00:00
  • 065fdeec65 build: convert build system to CMake Max Wash 2024-09-17 17:50:15 +01:00
  • 8497962af6 kernel: show current task id, thread id, and cpu id in test messages Max Wash 2024-09-17 17:49:34 +01:00
  • ef05233dcf sched: allocate and assign ids to each thread Max Wash 2024-09-17 17:49:05 +01:00
  • d29b955ee8 x86_64: re-enable legacy PIC and PIT initialisation Max Wash 2024-09-17 17:48:26 +01:00
  • 3f992d84fb kernel: remove everything that is related to device/fs management Max Wash 2024-09-17 17:47:50 +01:00
  • 9b00f83ff1 build: set default qemu display to SDL Max Wash 2024-01-07 20:04:55 +00:00
  • 15c576a99d tools: delete legacy amldecode tool Max Wash 2024-01-07 20:04:23 +00:00
  • 149f49bd28 vm: limit sparse page init loop to last free page frame Max Wash 2023-12-30 15:29:48 +00:00
  • abfd97b924 memblock: fix bounds being ignored when iterating through total or reserved regions Max Wash 2023-12-30 15:29:13 +00:00
  • b0c021d4e9 kernel: add kernel.early-console and kernel.console boot args Max Wash 2023-12-30 09:09:18 +00:00
  • fc56f906d3 kexts: serialcon: implement writing to serial ports via tty interface Max Wash 2023-12-30 09:06:47 +00:00
  • 8af6670b0d x86_64: move serial port code to serialcon kext Max Wash 2023-12-29 20:35:26 +00:00
  • 1c5c256c89 vm: sparse sector map now extends to cover only all free pages by default Max Wash 2023-12-29 19:53:31 +00:00
  • 36c7f3bbeb debug: auto-select gdb/lldb session pane when starting debug session Max Wash 2023-12-27 17:35:27 +00:00
  • 53e756eca0 kernel: add boot argument parsing Max Wash 2023-12-27 17:34:59 +00:00
  • b8934d220c vm: increase the number of sparse memory sectors that can be created Max Wash 2023-12-24 09:43:52 +00:00
  • 8803c23f08 vm: improve memory usage under sparse with a high reserved memory ratio Max Wash 2023-12-24 09:39:28 +00:00
  • 8b99158d66 vm: fix overflow in memblock do_alloc when allocating large aligned blocks Max Wash 2023-12-24 09:37:52 +00:00
  • 63b69d8d85 util: fix absdiff64() always over/underflowing Max Wash 2023-12-24 09:36:41 +00:00
  • 1cbab5f2f4 vm: optimise vm_zone_init by only making blocks from free regions during boot Max Wash 2023-12-24 09:35:50 +00:00
  • 67c0b6eba9 tools: amldecode: skip creation of unnamed objects Max Wash 2023-07-27 19:06:06 +01:00
  • d66f0df2c2 tools: amldecode: add parsing support for more AML opcodes Max Wash 2023-07-22 17:57:20 +01:00
  • d08612f7db tools: amldecode: add test files extracted from Lenovo ThinkStation machine Max Wash 2023-07-22 17:56:47 +01:00
  • 82dd8c7846 tools: amldecode: fix read_pkg_length reading multibyte lengths in the wrong order Max Wash 2023-07-20 19:47:08 +01:00
  • af15eaa75b tools: amldecode: store table revision in parser Max Wash 2023-07-20 19:46:00 +01:00
  • 9a2ac25343 x86_64: don't call early_vgacon_init() if fbcon kext is not compiled in Max Wash 2023-07-19 19:02:00 +01:00
  • ac15f18782 build: remove --no-print-directory from make call when building userspace tools Max Wash 2023-07-19 19:01:02 +01:00
  • f8c1a52259 tools: add tool to decode AML files and build an ACPI namespace Max Wash 2023-07-19 19:00:27 +01:00
  • 42c6cfb697 kexts: ahci: remove generic log messages Max Wash 2023-07-19 18:59:42 +01:00
  • b4ef018c5f build: support multiple source files and nested directories for userspace tools Max Wash 2023-07-19 18:59:11 +01:00
  • e9e73bc027 dev: removed internal spinlock from bcache Max Wash 2023-07-11 21:28:02 +01:00
  • c0f380ddca kernel: lock block device before reading from it Max Wash 2023-07-11 21:26:22 +01:00
  • c696bdf122 kexts: ahci: implement read support for ATA devices Max Wash 2023-07-09 22:02:30 +01:00
  • 3233169f25 dev: implement reading from block devices Max Wash 2023-07-09 21:58:40 +01:00
  • 53440653f2 kernel: remove static qualifier from functions generated by btree convenience macros Max Wash 2023-07-09 21:57:04 +01:00
  • cefbd3e8d6 kexts: ahci: refactor driver Max Wash 2023-07-09 09:07:15 +01:00
  • 7d51bcb7b8 kexts: pci: add function to get pci-specific device data Max Wash 2023-07-09 09:07:02 +01:00
  • 49f50859b5 dev: block device IO callbacks now use iovec Max Wash 2023-07-09 09:06:36 +01:00