Commit Graph

68 Commits

Author SHA1 Message Date
chloe fe6be93d32 ptos: ps: Keep track of parent process
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-14 15:54:23 -04:00
chloe e6ac3d0b30 ptos: sched: Add thread enqueue/dequeue helpers
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-14 03:07:37 -04:00
chloe 7a2aec4e12 ptos: ke: Add per-processor scheduler queue + PBI packer
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-14 05:57:11 +00:00
chloe cf0e104b12 ptos: ps: Add thread management groundwork
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-14 00:47:29 -04:00
chloe bb55a52b69 ptos/amd64: Add task state segment
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 23:27:01 -04:00
chloe 4165241b6f stos/amd64: cpu: Add LAPIC driver + MCB in KPCR
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:26:21 -04:00
chloe 533483a367 ptos: bugcheck: Add BUGCHECK_MISSING_HARDWARE reason
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:25:05 -04:00
chloe 7099337c3a ptos: hal: Resolve inclusion of stale header
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:24:33 -04:00
chloe 449c13fcd3 ptos: drivers: Add ACPI driver groundwork
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:16:28 -04:00
chloe 680a17d175 ptos: bugcheck: Add BUGCHECK_BAD_CHECKSUM reason
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:16:08 -04:00
chloe 3387461f61 ptos: bpal: Obtain ACPI RSDP pointer
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:15:50 -04:00
chloe 3d06ed9edb ptos: bugcheck: Add BUGCHECK_BAD_FREE reason
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:03:23 -04:00
chloe 9d7ff0461f ptos: ps: Add process init logic
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 22:01:39 -04:00
chloe 0b3a0cc071 ptos: hal: Add MMIO helper macros
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 21:33:50 -04:00
chloe 93acc859af ptos: pool: Add freeing of allocated memory
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 20:19:09 -04:00
chloe aae870e874 ptos: pool: Propagate page information and prepend header
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 20:12:48 -04:00
chloe 6472e67fe2 ptos: pool: Add pool allocator groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-13 23:40:24 +00:00
chloe 895521c510 ptos: Initialize per-processor pool regions
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 18:35:39 -04:00
chloe 7a8fbe7025 ptos/amd64: cpu: Add HalKpcrCurrent()
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 18:13:25 -04:00
chloe 6969e90db6 ptos/amd64: msr: Update include
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-13 18:09:15 -04:00
chloe 9d7e9002ec ptos: ex: Add pool allocator header groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-13 21:53:14 +00:00
chloe a40f3dc2ea ptos: ke: Add spinlock impl
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-13 04:05:00 +00:00
chloe 7fb0e4e88c ptos: hal: Return proper type in HalCpuAswap()
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-13 04:04:32 +00:00
chloe 5b12cc0bd7 ptos/amd64: prim: Fix typo
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-13 04:04:10 +00:00
chloe 2081b15219 ptos/amd64+hal: intr: Add IRQL managmenet
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-13 03:54:22 +00:00
chloe b1f30e1f72 ptos/amd64: cpu: Add high-level interrupt registration
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-12 23:23:43 -04:00
chloe 048c479cd7 ptos: mm: Add page allocation helpers
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-12 22:26:59 +00:00
chloe f543f28bf0 ptos: mm: Add virtual address descriptor allocation
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-12 19:20:15 +00:00
chloe 8221e33395 ptos: vad: Add VAD insertions and create VALLOC VADs
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-12 06:26:18 +00:00
chloe 41706bf188 ptos: hal: Add high-level interrupt interface groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-12 02:58:45 +00:00
chloe 70de440326 ptos: mm: Add virtual address descriptor defs
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-12 02:06:07 +00:00
chloe ffe001821c ptos: vm: Initialize valloc range + zero pagemap lvls
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 20:27:07 -04:00
chloe 14afdcf62e ptos: mm: Add high-level page mapping interface
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-11 22:12:37 +00:00
chloe e03a6d0e91 ptos/amd64+hal: Add page unmap interface
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 05:18:36 -04:00
chloe 3593c66e3d ptos/amd64+hal: Add page mapping interface
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 05:15:49 -04:00
chloe 7cb153f98c ptos/amd64+hal: Add interrupt handling + P1 KPCR init
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-11 04:46:00 +00:00
chloe 0f2d2b9ea5 ptos/amd64: lapic: Add Local APIC register defs
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 00:24:46 -04:00
chloe 7153b91579 ptos/amd64: Add i8254 driver
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 00:23:59 -04:00
chloe 9c91a4d8e3 ptos/amd64+ke: Add bugcheck support
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 00:21:45 -04:00
chloe 686f8daf8b ptos: trace: FmtPrintf -> VFmtPrintf
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 00:21:29 -04:00
chloe 027074d548 ptos/amd64: cpu: Add interrupt descriptor table
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-11 03:08:00 +00:00
chloe cf393eab7b ptos/amd64: frame: Add assembly frame macros
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 22:45:29 -04:00
chloe a29318d24b ptos/amd64: Add trapframe defs
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 22:08:09 -04:00
chloe 38d5acbb1a ptos/amd64: Add IDT gate types
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 21:10:47 -04:00
chloe 8c0a1da9a8 ptos/amd64: Add global descriptor table defs
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 21:10:30 -04:00
chloe abad8f8cfe ptos/amd64+hal: Add processor primitives
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 21:07:24 -04:00
chloe eb009076b2 ptos/amd64: mmu: Add virtual address space helpers
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 21:02:57 -04:00
chloe cf7a1b88b2 ptos/amd64: mmu: Add MMU related bit defs
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 20:59:56 -04:00
chloe c3ae5ba68d ptos/amd64: tlb: Add TLB operation helpers
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 20:58:44 -04:00
chloe c29d8f1964 ptos/amd64+hal: Define the virtual address space
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 20:31:16 -04:00