STRUCT ARM_CCA_TOKEN_INFO(9)
π struct arm_cca_token_info(9) β Kernel API Manual, but make it make sense
okay so bestie, welcome to the glow-up of struct arm_cca_token_info(9) from the Kernel API Manual β¨ this is literally the descriptor for the token buffer, and she's small but she's doing the work π
πΈ NAME πΈ
struct arm_cca_token_info β a descriptor for the token buffer. that's it, that's the whole vibe. she describes the token buffer. icon behavior π
β¨ SYNOPSIS β¨
here's the whole struct, character for character, no cap β copy it exactly pls π
struct arm_cca_token_info {
phys_addr_t granule;
unsigned long offset;
};
two members. two. that's the entire squad and honestly? they ate π«Ά
π¦ Members π¦
granuleβ the PA of the granule to which the token will be written. yes, PA = physical address, she's giving low-level main character energy π₯offsetβ the offset within the granule to the start of the buffer, and it's in bytes π don't forget the bytes, bestie, the bytes matter.
lowkey a two-field struct but highkey essential β get the granule wrong and the token goes to the wrong physical place. no pressure π
π SEE ALSO π
- Kernel file
./drivers/virt/coco/arm-cca-guest/arm-cca-guest.c arm_cca_attestation_continue(9)arm_cca_report_new(9)arm_cca_guest_init(9)arm_cca_guest_exit(9)
go read the friends, they're all in the same friend group fr fr π
π§ the sign-off π§
that's the page, bestie π this lil slice of documentation lives in ./drivers/virt/coco/arm-cca-guest and it's dated October 2026 β so yeah, she's from the future, deal with it β anyway slay, go write some tokens to the correct granule at the correct byte offset, and drink water ππ¦π
π¦ 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