STRUCT X86_INIT_RESOURCES(9)
π struct x86_init_resources(9) π
okay bestie so this is a page straight out of the Kernel API Manual β we're talking struct x86_init_resources, and it's basically the platform-specific resource-ops starter pack π
β¨ NAME β¨
struct x86_init_resources β platform specific resource related ops π«Ά
πΈ SYNOPSIS πΈ
struct x86_init_resources {
void (*probe_roms)(void);
void (*reserve_resources)(void);
char *(*memory_setup)(void);
void (*dmi_setup)(void);
unsigned long realmode_limit;
};
π¦ Members π¦
nfg these are the little function pointers, each one carrying main character energy in its own lane β¨
probe_romsβ probe BIOS roms π iconic little rom-hunter behaviourreserve_resourcesβ reserve the standard resources for the platform π claiming what's hersmemory_setupβ platform specific memory setup π returns achar *, don't ask her how she's feelingdmi_setupβ platform specific DMI setup πΈrealmode_limitβ platform specific address limit for the real mode trampoline, and the default is1Mβ (yes, the source literally says "default 1M", periodt)
π SEE ALSO π
okay so the source of truth is the kernel file ./arch/x86/include/asm/x86_init.h β that's the struct's home π and then she's got a whole group chat of sibling structs and enums, all listed, no gatekeeping:
struct x86_init_mpparse(9)struct x86_init_irqs(9)struct x86_init_oem(9)struct x86_init_paging(9)struct x86_init_timers(9)struct x86_init_iommu(9)struct x86_init_pci(9)struct x86_hyper_init(9)struct x86_init_acpi(9)struct x86_guest(9)struct x86_init_ops(9)struct x86_cpuinit_ops(9)struct x86_legacy_devices(9)enum x86_legacy_i8042_state(9)struct x86_legacy_features(9)struct x86_hyper_runtime(9)struct x86_platform_ops(9)
k that's the whole page, no cap π this one came from ./arch/x86/include/asm, dated October 2026 β literally the version stamp of the moment, bestie, and that's a wrap π§β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms