커밋 그래프
945 커밋
작성자 SHA1 메시지 날짜
harraiken 7526f90759 Implement pool quota accounting and stub raise functionality 2026-06-21 01:45:37 +02:00
harraiken c45b81d345 Add atomic addition functions 2026-06-21 01:36:02 +02:00
harraiken 95ec18a1de Add helper to get currently executing process 2026-06-18 20:34:28 +02:00
harraiken 9faf19b57e Enforce volatile semantics on inline assembly 2026-06-18 11:33:54 +02:00
harraiken bae43034a6 Implement thread preemption and context switching in dispatch interrupt handler 2026-06-18 11:18:36 +02:00
harraiken 156ae3efab Refactor thread ready state transitions into Scheduler class 2026-06-17 20:56:05 +02:00
harraiken 854a8c8eef Document the backlinking 2026-06-17 20:40:23 +02:00
harraiken 1fca2400a4 Add functions to transition threads to deferred ready or transition states 2026-06-17 16:30:28 +02:00
harraiken ea1ad3c6b1 Implement deferred ready thread insertion 2026-06-17 16:13:02 +02:00
harraiken cea860b008 Implement LIFO queue 2026-06-17 15:42:08 +02:00
harraiken 6560ca9b96 Refactor thread initialization to attach to process 2026-06-17 12:15:32 +02:00
harraiken ffcb2dbeda Correct initial StackCount value to reflect underlying type width 2026-06-17 11:12:11 +02:00
harraiken cc288f5417 Remove hardcoded throttle value 2026-06-16 12:53:07 +02:00
harraiken 55eb3047e3 Implement i686 RunThread with inline assembly 2026-06-16 12:25:26 +02:00
harraiken 8597e37650 Implement AMD64 RunThread with inline assembly 2026-06-16 12:00:56 +02:00
harraiken 1c90218042 Move RunThread to architecture-specific implementations 2026-06-16 11:43:42 +02:00
harraiken f6f37494cd Fix stack alignment and shadow space for EntryPoint call 2026-06-16 11:39:31 +02:00
harraiken d1aa3cf481 Trigger INT3 on unexpected system thread termination 2026-06-16 10:49:16 +02:00
harraiken 208684c3b4 Update i686 thread context initialization to match AMD64 2026-06-15 09:15:48 +02:00
harraiken 89681897d7 Wire thread startup frame to return to user-mode switch or system thread exit handler 2026-06-14 01:34:24 +02:00
harraiken e035666f7a Fix i686 thread context setup 2026-06-14 00:53:34 +02:00
harraiken df35bf8601 Add thread startup stub 2026-06-14 00:50:23 +02:00
harraiken 15523e7d71 Fix AMD64 thread context setup 2026-06-14 00:44:02 +02:00
harraiken f79c9023d8 Initialize thread service table 2026-06-12 23:19:05 +02:00
harraiken 97703c7932 Add stub for System Service Descriptor Table accessor routine 2026-06-12 23:16:20 +02:00
harraiken 2f5902119d Update thread initialization code 2026-06-12 20:52:23 +02:00
harraiken 7a10135731 Replace jmp with call to maintain ABI stack alignment 2026-06-12 15:58:42 +02:00
harraiken b0074637f8 Remove hardcoded shift in SIPI vector calculation 2026-06-12 14:21:27 +02:00
harraiken 1a062ca05f Trigger low memory allocation before PFN database initialization 2026-06-12 13:21:22 +02:00
harraiken c702152cca Refactor real-mode memory allocation and identity mapping for AP trampoline 2026-06-12 13:16:48 +02:00
harraiken 81c799e590 Fix TrampolineCodeSize variable type 2026-06-12 12:59:16 +02:00
harraiken cf0d7f0a40 Update trampoline size output parameter to PULONG across bootloader and kernel 2026-06-12 12:54:53 +02:00
harraiken b0d2868f82 Update PTE mapping to allocate from PFN database 2026-06-12 08:54:51 +02:00
harraiken 32f0b747a1 Convert dispatcher context switch functions to naked assembly 2026-06-10 16:48:54 +02:00
harraiken c57aa98923 Free affinity maps on allocation failure and remove redundant idle process affinity loop 2026-06-10 14:08:07 +02:00
harraiken 429e4ef6f1 Add bounds checking to affinity map bit operations and introduce InitializeAffinityMap 2026-06-10 12:51:05 +02:00
harraiken 39928f2ef4 Add documentation for InitializeProcessorAffinity 2026-06-10 12:11:03 +02:00
harraiken 51ec7e3bab Fix build by initializing thread dispatcher header 2026-06-10 11:56:49 +02:00
harraiken f3ae70573c Initialize dispatcher header 2026-06-10 11:46:26 +02:00
harraiken 830f84ab26 Pass initial affinity map to InitializeProcess 2026-06-10 11:27:25 +02:00
harraiken 5a9df7ca86 Add helper to set full system processor affinity mask 2026-06-10 11:13:28 +02:00
harraiken 4bcdcda3a0 Change ActiveProcessors to a pointer for dynamic allocation 2026-06-10 10:31:24 +02:00
harraiken 7a27912dac Dynamically allocate active processors affinity map 2026-06-10 10:22:15 +02:00
harraiken cf4b91ac83 Simplify active processor bit setting 2026-06-09 23:27:24 +02:00
harraiken 36c3d92399 Refactor idle thread initialization 2026-06-09 23:24:40 +02:00
harraiken 6a2a35c008 Refactor idle process initialization 2026-06-09 23:17:03 +02:00
harraiken a9202f5b57 Refactor CalculateAffinityMapSize and add CreateAffinityMap 2026-06-09 22:53:37 +02:00
harraiken 4cbefe3a22 Implement affinity map bit manipulation and memory sizing helpers 2026-06-09 20:17:47 +02:00
harraiken 3841ceaf5b Refactor processor affinity logic 2026-06-09 19:33:20 +02:00
harraiken e2eb784eef Enter idle loop instead of halting system 2026-06-09 09:39:17 +02:00