Commit Graph

110 Commits

Author SHA1 Message Date
chloe 89841b3563 sdk: ptapi: Add memory management API
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-11 04:47:58 -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 256499fe4c ptos: init: Remove unused include
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 20:56:27 -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
chloe c8e6cfe697 ptos: pm: Print usable memory in pretty units
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 19:17:13 -04:00
chloe 0d2d5d3412 sdk: units: Add UNIT_KIB to storage units
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 19:16:57 -04:00
chloe 79bbbc074b ptos: pm: Add frame allocation and reclamation
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 19:07:11 -04:00
chloe 92f4720898 ptos: vm: Add virtual memory related macros
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 19:06:53 -04:00
chloe 1c5e14f250 ptos: bpal: Add helper to get kernel load base
Signed-off-by: Chloe M <chloe@yiffware.org>
2026-07-10 19:05:23 -04:00
chloe 27b9d726ff ptos: mm: Add physical memory groundwork
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 18:26:29 -04:00
chloe 5026a758ec ptos: bootvid: Fix indentation
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 18:25:35 -04:00
chloe 7aa3c946a3 ptos: pm: Add page frame conversion helpers
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 18:05:21 -04:00
chloe 050221a0de ptos: hal: Add machine specific page information
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 18:05:08 -04:00
chloe 128060dca0 ptos: bpal: Add memory map interface
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-10 20:16:46 +00:00
chloe cbd74a54fb sdk: ptapi: Add STATUS_NOT_FOUND
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-07-10 20:16:31 +00:00
chloe 1dd997b894 ptos/amd64: Add model specific register helpers
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 15:25:16 -04:00
chloe eaa0beca91 ptos/amd64: Add CPUID helper macro
Signed-off-by: Chloe M <chloe@mensia.org>
2026-07-10 15:24:51 -04:00
chloe 2594613412 ptos: bootvid: Add boot console to bootvid
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 10:14:58 +00:00
chloe 85e8f11a89 ptos: xt: Add flanterm port
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 10:09:28 +00:00
chloe 1eb4f9dde6 spkg: Add RtlMemSet() and RtlMemCpy()
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 10:09:06 +00:00
chloe 912d262318 ptos: drivers: Add bootvid driver stub
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 06:52:38 +00:00
chloe 44f0afaddd ptos: bpal: No need to return PT_STATUS
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 06:49:52 +00:00
chloe 163115f9c5 service: mk: Fix typo in ptos.mk
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 06:47:52 +00:00
chloe 530233c966 ptos: bpal: Obtain framebuffer information
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 06:29:52 +00:00
chloe dfafeaf313 ptos: ke: Display copyright on boot
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 05:32:42 +00:00
chloe b88d0b0b9d ptos: xt: Add printf() port
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 05:32:26 +00:00
chloe d21050c1e6 ptos/amd64: platform: Add UART driver + HAL interface
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 05:22:51 +00:00
chloe 5f556df0ac ptos/amd64: Add port I/O headers
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 05:16:34 +00:00
chloe d8d686352d ptos: ke: Add BPAL layer groundwork
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 05:09:53 +00:00
chloe b2502c4ab1 spkg: strlib: Add RtlStrEq() function
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 04:08:28 +00:00
chloe e9bb671781 ptos: build: Link and include against spkg
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 04:07:03 +00:00
chloe 88f643452c spkg: strlib: Add RtlMemCmp() to string lib
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 03:46:56 +00:00
chloe 9231fd5aef spkg: Add string.h include in strlen.c
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 03:46:32 +00:00
chloe e91183bd84 spkg: Add support package groundwork
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 03:42:29 +00:00
chloe 5e760907e1 ptos: Add limine bootloader interface header
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 01:45:58 +00:00
chloe 275e2dd2f6 sdk: ptapi: Add program status codes
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 01:45:05 +00:00
chloe 81ee834a99 ptos: ke: Add kernel C groundwork
Signed-off-by: Chloe M. <chloe@yiffware.org>
2026-07-10 01:38:43 +00:00