STRUCT OS_AREA_HEADER(9)
π struct os_area_header(9) π
okay so bestie, welcome to the Kernel API Manual page for struct os_area_header β yes it's PS3 kernel stuff, yes it's niche, yes it's iconic. strap in π
β¨ NAME β¨
struct os_area_header β the os area header segment, aka the little glow-up header that sits at the top of the os area. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
struct os_area_header {
u8 magic_num[16];
u32 hdr_version;
u32 db_area_offset;
u32 ldr_area_offset;
u32 _reserved_1;
u32 ldr_format;
u32 ldr_size;
u32 _reserved_2[6];
};
look at her. a whole struct. she's got range π
π«Ά Members π«Ά
magic_numβ literally always'cell_ext_os_area'. no cap. that's the magic, that's the fingerprint, that's her whole identity β¨hdr_versionβ the header format version number. the version of the header format. iyk how that goes.db_area_offsetβ starting segment number of the other os database area. the other one πldr_area_offsetβ starting segment number of the bootloader image area. the bootloader lives here, respect her space πldr_formatβ theHEADER_LDR_FORMATflag. a flag. that's the whole field. slay.ldr_sizeβ size of the bootloader image, in bytes π
π Description π
okay so real talk β the docs refer to area offsets. what does that even mean? bestie, it means offsets in units of segments from the start of the os area. and where does the os area start? at the top of the header, duh π―
honestly they're better thought of as segment numbers. like, don't overthink the whole "offset" thing, just call them segment numbers and move on β¨
also! the os area of the os area is reserved for the os image. yes that sentence is real. the os area. of the os area. reserved for the os image. the recursion of it all π it's giving "inception" but make it firmware. keep that space for the os image and don't touch it, periodt π
π₯ SEE ALSO π₯
Kernel file ./arch/powerpc/platforms/ps3/os-area.c struct
os_area_params(9)struct os_area_db(9)enum os_area_db_owner(9)struct saved_params(9)os_area_set_property(9)os_area_get_property(9)db_for_each_64(9)update_flash_db(9)os_area_queue_work_handler(9)ps3_os_area_save_params(9)ps3_os_area_init(9)ps3_os_area_get_rtc_diff(9)ps3_os_area_set_rtc_diff(9)ps3_os_area_get_av_multi_out(9)
like, that's the whole friend group fr fr, go read all of them π«Ά
ok and one last thing before you go β this page is living in./arch/powerpc/platforms/ps3and it's dated October 2026. it's astruct os_area_header(9)kind of day, every day. mwah. ππβ¨
π¦ 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