Files
RedBear-OS/local/sources
vasilito 71bf6e4e0f LG Gram Round 3: kernel SMBIOS scan + IRQ1 skip override + page-fault fix
ALL FOUR SystemQuirkFlags consumers are now wired end-to-end.

Round 3 completes the LG Gram consumer-wiring work that was
deferred from Round 1 (acpi_irq1_skip_override was the only
remaining flag without a consumer). The kernel-side implementation
required new infrastructure:

New kernel module src/acpi/smbios.rs (~320 lines):
- Early-boot SMBIOS / DMI table scanning
- Scans 0xF0000-0xFFFFF for _SM3_/_SM_ anchor
- Validates checksums, walks structure table
- Extracts sys_vendor + product_name + board_name + board_vendor
- Defensive: no panics, all errors return None
- Runs before Madt::init() so identity is available when ioapic
  processes IRQ source overrides

ioapic.rs wiring (submodule/kernel commit 198e59c4):
- IRQ1_SKIP_OVERRIDE_VENDORS table: ['LG Electronics']
- should_skip_irq1_override() consults SMBIOS_INFO
- handle_src_override: skip IRQ1 ActiveHigh override on matching
  platforms — keeps DSDT's ActiveLow so i8042 keyboard IRQ fires

Kernel page-fault todo!() fix (submodule/kernel commit bb4a97ec):
- Two todo!() bombs in memory/mod.rs page fault correction path
  replaced with warn! + SIGSEGV delivery
- Err(PfError::Oom) no longer panics the kernel under memory pressure
- Err(PfError::NonfatalInternalError) no longer panics on consistency
  issues (the name says 'nonfatal')

Broad stub sweep across all 8 source forks:
- bootloader, installer, redoxfs, userutils, syscall, libredox: 0 stubs
- kernel: 2 x86-relevant todo!() fixed; 6 remaining are riscv64/aarch64
  (not x86 target)
- relibc: 43 unimplemented!() are mostly in commented-out code
  (awaiting locale_t); active ones are upstream POSIX gaps

Build verification deferred per operator directive.
2026-07-26 18:11:04 +09:00
..