write_ciabr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is write_ciabr(9) from the Kernel API Manual β€” and it literally writes the CIABR SPR. That's the assignment. iconic. πŸ¦‹

✨ SYNOPSIS ✨

void write_ciabr (unsigned long ciabr );

πŸŽ€ ARGUMENTS πŸŽ€

  • ciabr β€” the value to write. that's it, that's the whole argument, no cap. πŸ’…

🌸 DESCRIPTION 🌸

So here's the tea: this function writes a value to the CIARB register either directly through the mtspr instruction if the kernel is in HV privilege mode, or it calls a hypervisor function to achieve the same in case the kernel is in supervisor privilege mode. slay. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./arch/powerpc/xmon/xmon.c
  • set_ciabr(9) β€” go peek, iykyk πŸ‘€

mwah πŸ’‹ β€” source/version ./arch/powerpc/xmon, dated October 2026, and the page is write_ciabr(9). that's the wrap, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from