STRUCT PORTS_BMP(9)
π struct ports_bmp(9) β a Kernel API Manual moment
okay bestie, buckle up, because we're talking about <rainbow>struct ports_bmp</rainbow> from the Kernel API Manual and honestly? she's small, she's focused, she has one job and she does it. main character energy in a 32-byte trench coat. π
β¨ NAME β¨
struct ports_bmp β a bitmap that says which ports are crying out for service. literally a "notice me" board for ports. π
πΈ SYNOPSIS πΈ
no cap, this is the whole entire struct, copy it exactly, don't get creative:
struct ports_bmp {
u64 status;
u64 unused[3];
};
yes that's it. that's the girl. two fields. iconic. β¨
π¦ Members π¦
the page has a Members heading, but ngl there's nothing listed underneath it β the actual members are the ones you just saw up in the SYNOPSIS (status and unused[3]). so if you were waiting for a big dramatic member list, this is the whole thing. we move. π«Ά
π Description π
okay so here's the tea:
struct ports_bmp is a 256 bit read only bitmap, and its whole personality is indicating ports that need service. that's it, that's the vibe check. π₯
β οΈ bestie, do NOT write to these bits. read only means read only. hands off. π
β οΈ also it must not cross a page boundary β that's a hard requirement, not a suggestion, so place her carefully. π
β SEE ALSO β
go read these next, iykyk, it's a whole family and they all live together in the kernel file ./drivers/ps3/ps3-vuart.c:
struct ps3_vuart_port_priv(9)ps3_vuart_set_interrupt_mask(9)ps3_vuart_raw_write(9)ps3_vuart_raw_read(9)ps3_vuart_clear_rx_bytes(9)struct list_buffer(9)ps3_vuart_write(9)ps3_vuart_queue_rx_bytes(9)ps3_vuart_read(9)ps3_vuart_work(9)ps3_vuart_handle_interrupt_tx(9)ps3_vuart_handle_interrupt_rx(9)ps3_vuart_handle_port_interrupt(9)ps3_vuart_irq_handler(9)ps3_vuart_cleanup(9)ps3_vuart_remove(9)ps3_vuart_shutdown(9)ps3_vuart_port_driver_register(9)ps3_vuart_port_driver_unregister(9)
like, that's nineteen friends and every single one of them is invited to the group chat. π§π
and that's the page, bestie! π this little manual page came from the ./drivers/ps3 corner of the kernel and it's dated October 2026, and yes it signs off as struct ports_bmp(9) because she knows exactly who she is. slay. πππ
π¦ 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