fh_partition_get_dtprop(9)
β¨ fh_partition_get_dtprop(9) β¨
okay so bestie, buckle up β this is a page straight outta the Kernel API Manual, and it's literally about grabbing a property out of a guest device tree. yes. that vibe. π
π NAME π
fh_partition_get_dtprop β get a property from a guest device tree. that's it, that's the whole job, and she does it slayfully π«Ά
πΈ SYNOPSIS πΈ
unsigned int fh_partition_get_dtprop (int handle , uint64_t dtpath_addr
, uint64_t propname_addr , uint64_t propvalue_addr , uint32_t
*propvalue_len );
like, look at her. five args. all business. no cap. β¨
π¦ ARGUMENTS π¦
handleβ the handle of the partition whose device tree you wanna go poke around in. iykyk πdtpath_addrβ the physical address of the device tree path you're tryna access. yes, physical. don't @ me.propname_addrβ the physical address of the property's name. the glow-up label, if you will πpropvalue_addrβ the physical address of the buffer for the property value. this is where the ~content~ goes πpropvalue_lenβ length of the buffer on entry, and length of the property on return. she's a two-job queen, main character energy fr fr π
π DESCRIPTION π
Returns zero on success, non-zero on error. that's the whole plot, bestie β short, sweet, and absolutely iconic. π
lowkey important: zero = slayed, non-zero = something went off the rails. check your return value, periodt. β
π₯ SEE ALSO π₯
Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h β and honestly the whole friend group showed up, so let's give them their moment:
fh_send_nmi(9)fh_partition_restart(9)fh_partition_get_status(9)fh_partition_start(9)fh_partition_stop(9)struct fh_sg_list(9)fh_partition_memcpy(9)fh_dma_enable(9)fh_dma_disable(9)fh_vmpic_get_msir(9)fh_system_reset(9)fh_err_get_info(9)fh_get_core_state(9)fh_enter_nap(9)fh_exit_nap(9)fh_claim_device(9)
like, the entire group chat. go read them all, they ate. π
and that's the tea π this lil beauty lives in ./arch/powerpc/include/asm, dated October 2026 β so jot that down, screenshot it, whatever you gotta do. 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