add a realtime scheduler class and priority-inheritance mutexes with timeouts and abandonment, add an HDA audio driver and a SYS_AUDIO_* syscall family, flesh out kernel32 with Win32 threads, events, mutexes, critical sections, and condition variables, add SYS_RESUME_THREAD for suspended thread creation, add KeInitializeMemoryTypes to reprogram MTRRs and install a canonical PAT for WB/WC/UC control, rework the display pipeline with a pitched present path and console output flush, bring back disk.vhd with mtools since vvfat fucking sucks, harden AHCI with serialized cache flush, USB mass storage with SCSI sense-data decoding, and xHCI with cleaner DMA teardown, fix the last stray for(;;) in HalStopProcessor to while(true), pile on smoke tests for audio, win32 sync primitives, and thread suspend, implement AHCI timeout, kill readahead since it was desperetaly trying to murder me, fix doom sound x2.
This commit is contained in:
1 parent
8b254f84f4
commit
4add6789ba
177 files changed
+22565
-3070
No files matched your search
@@ -57,7 +57,7 @@ static void print_hex32(uint32_t v) {
|
||||
|
||||
// Exits the process without returning to the runtime.
|
||||
static void exit_now(int code) {
|
||||
for (;;) SysExitProcess(code);
|
||||
while (true) SysExitProcess(code);
|
||||
}
|
||||
|
||||
// Converts ASCII to lowercase for stable case-insensitive comparisons.
|
||||
@@ -69,7 +69,7 @@ static char ascii_lower(char c) {
|
||||
// Compares two names case-insensitively, with a case-sensitive tie-breaker.
|
||||
static int compare_names(const char* a, const char* b) {
|
||||
size_t i = 0;
|
||||
for (;;) {
|
||||
while (true) {
|
||||
char ca = ascii_lower(a[i]);
|
||||
char cb = ascii_lower(b[i]);
|
||||
if (ca != cb) return (unsigned char)ca < (unsigned char)cb ? -1 : 1;
|
||||
@@ -219,7 +219,7 @@ static uint32_t collect_tests(const char* dir, const char* selfName, TEST_ENTRY*
|
||||
uint32_t count = 0;
|
||||
uint32_t capacity = 0;
|
||||
|
||||
for (;;) {
|
||||
while (true) {
|
||||
SYS_DIR_ENTRY entry;
|
||||
status = SysReadDir(hDir, &entry);
|
||||
if (status != NTLSTATUS_SUCCESS) break;
|
||||
|
||||
Reference in new issue
Block a user