sq_remap(9)
okay bestie, welcome to sq_remap(9) from the Kernel API Manual π this one is short but iconic, no cap, and we're keeping every detail fr fr.
β¨ NAME β¨
sq_remap β Map a physical address through the Store Queues π
πΈ SYNOPSIS πΈ
here's the signature, exactly as it lives:
unsigned long sq_remap (unsigned long phys , unsigned int size , const
char *name , pgprot_t prot );
π¦ ARGUMENTS π¦
physβ Physical address of mapping. that's the physical address we're mapping, bestie.sizeβ Length of mapping. how long the mapping is.nameβ User invoking mapping. the user invoking the mapping.protβ Protection bits. the protection bits, periodt.
π DESCRIPTION π
okay so the actual tea: this remaps the physical address phys through the next available store queue address of size length. slay β¨
and name? it gets logged at boot time, and also through the sysfs interface. iykyk π«Ά
π₯ SEE ALSO π₯
- Kernel file:
./arch/sh/kernel/cpu/sh4/sq.c sq_flush_range(9)sq_unmap(9)
mwah π β source/version: ./arch/sh/kernel/cpu/sh4, date: October 2026, page: sq_remap(9). now go map something cute, bestie π«Άβ¨
π¦ 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