STRUCT ARM_CCA_TOKEN_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘

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