Commit Graph

109 Commits

Author SHA1 Message Date
Chloe M. a317368901 stos/amd64: prim: Prefer UQUAD over QUAD for ASWAP
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 22:19:21 +00:00
Chloe M. 531a027122 stos/amd64: cpu: Default to IRQL_PASSIVE on startup
We cannot be certain that the CR8 register will be zeroed by the time we
have control passed to us, therefore it is wise to set it ourselves.

Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 22:05:02 +00:00
Chloe M. 114cc434d2 stos/amd64: intr: Add IRQL management
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 22:01:52 +00:00
Chloe M. 22beed638d stos: Bump kernel version to v0.0.2
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 21:34:38 +00:00
Chloe M. 27c6ca8125 stos/amd64: cpu: Add HAL interrupt registration
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 21:20:09 +00:00
Chloe M. e1a115cccc stos: hal: Add interrupt IRQL defs
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 20:14:03 +00:00
Chloe M. 69ddd09500 stos/amd64: Add processor primitives
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 20:13:49 +00:00
Chloe M. b6d4a1c963 stos/amd64: cpu: Add exception handling groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 19:11:14 +00:00
Chloe M. 27af606ba2 stos/amd64: Add GDT header
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 19:00:14 +00:00
Chloe M. 3671c32532 stos/amd64: Add kernel fence helper
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 18:59:57 +00:00
Chloe M. ec83f6c6a2 stos/amd64: Add IDT gate types
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 16:53:05 +00:00
Chloe M. d337a3d55b stos: mm: Add virtual page allocation
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 09:52:44 +00:00
Chloe M. 333331171d stos/amd64: cpu: Obtain more processor info
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 07:03:35 +00:00
Chloe M. 81ebb948ed stos: vmm: Resolve panic TODO
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 06:46:54 +00:00
Chloe M. bc4b69b6bf stos: knot: Add KNOT_OOM reason
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 06:46:41 +00:00
Chloe M. 5c522ffc7f stos: Handle pre BPAL kernel knots
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 05:47:24 +00:00
Chloe M. 81d5f13a30 stos: Add kernel knotting impl
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 05:36:10 +00:00
Chloe M. d2596979a2 stos: bootvid: Remove debug include
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 05:34:45 +00:00
Chloe M. a230a09686 stos/amd64: Add trapframe defs
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 04:31:32 +00:00
Chloe M. 70a46ab513 stos: init: Initialize splash if bootcons=false
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 03:08:39 +00:00
Chloe M. 06e9d99925 stos: ex: Add command line parser
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 03:08:17 +00:00
Chloe M. 6c297030ad stos: bpal: Add kernel command line request
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 03:00:06 +00:00
Chloe M. 03a68ddd39 stos: bootvid: Add boot splash blitter
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 02:55:38 +00:00
Chloe M. 01ec3a3119 stos: init: Initialize PBI imager manager
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 02:35:49 +00:00
Chloe M. 21aef3e436 drivers: bootvid: Add BootVidClear() helper
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 02:35:30 +00:00
Chloe M. 1df447c91d stos: ke: Add PBI image parser
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 02:34:13 +00:00
Chloe M. 2c7d55e950 stos: bpal: Add helper to get bootloader module
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-23 02:13:57 +00:00
Chloe M. eb8861e641 stos: vmm: Initialize virtual memory manager
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 23:27:26 +00:00
Chloe M. 32a1463b92 stos: hal: Implement HalMmuForkVas()
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 23:27:04 +00:00
Chloe M. cdce5416e2 stos/amd64: vas: Add helper to get VAS base
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 23:26:42 +00:00
Chloe M. 5b30974cb0 stos/amd64: mmu: Implement page mapping
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 22:35:42 +00:00
Chloe M. 532e46c62f stos: hal: Add virtual address space helpers
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 21:46:51 +00:00
Chloe M. e3954277f8 stos/amd64: Impl phase 1 processor init
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 19:15:58 +00:00
Chloe M. 0214faa94b stos/amd64: Add CPUID helper
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 17:03:49 +00:00
Chloe M. 6f126b6761 stos: hal: Add kernel processor control region
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 07:21:05 +00:00
Chloe M. df1719fbd0 stos: pmm: Add physical frame allocation
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 06:50:36 +00:00
Chloe M. ef0588512c stos: pmm: Add pageframe descriptor population
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 06:33:14 +00:00
Chloe M. d59d66973d stos: mm: Add PMM groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 05:54:25 +00:00
Chloe M. e9a1de69cf stos: bpal: Add memory map callbacks
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:51:35 +00:00
Chloe M. c317ed8a4d stos: mm: Add mm/vmm.h
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:51:27 +00:00
Chloe M. 504a4b19b4 stos: bpal: Add helper to get kernel base
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:50:12 +00:00
Chloe M. 26139ff1ab stos: bootvid: Add boot console support
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:40:34 +00:00
Chloe M. b2e4f35e9f stos: xt: Add flanterm port
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:40:17 +00:00
Chloe M. b588cc0217 stos: bootvid: Add bootvid driver stub
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 03:24:50 +00:00
Chloe M. 800568f996 stos: bpal: Add framebuffer info request
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 02:40:50 +00:00
Chloe M. bb6e4d98d1 stos: bpal: Initialize BPAL handle
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 02:25:27 +00:00
Chloe M. f546599d18 stos: bpal: Add loader perf stats
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 02:19:52 +00:00
Chloe M. 4b1c00ba43 stos: Add BPAL groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 02:08:45 +00:00
Chloe M. e42ea2e6a6 stos: limine: Translate types
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 02:07:08 +00:00
Chloe M. 51e4543079 paw: boot: Use newest limine version
Signed-off-by: Chloe M. <chloe@mensia.org>
2026-06-22 02:00:37 +00:00