movn_func(9)
π movn_func(9) β a Kernel API Manual moment
okay so bestie, welcome to movn_func(9), straight out of the Kernel API Manual β¨ this one is short, it's sweet, and it literally cannot fail (we'll get there π«Ά).
π NAME π
movn_func β Emulate a MOVZ instruction
no cap, that's what it says, we're not arguing with the docs today π
πΈ SYNOPSIS πΈ
int movn_func (struct pt_regs *regs , u32 ir );
that's the whole vibe check: you hand it two things, it hands you back an int. simple. iconic. π
π¦ ARGUMENTS π¦
regsβ Process register set. it's the process's whole register situation, and yeah, this function gets the keys to it πirβ Instruction. the actual instruction itself, coming in hot to get emulated π«
β¨ DESCRIPTION β¨
Returns 0 since it always succeeds.
that's it. that's the description. it returns 0, because it always succeeds β not "usually", not "when the vibes are right", always ππ main character function behavior fr fr. no error paths, no drama, no <errno> shenanigans. it just slays and returns 0 π«Ά
π SEE ALSO π
Kernel file ./arch/mips/kernel/mips-r2-to-r6-emul.c, plus the whole friend group π―ββοΈ:
mipsr6_emul(9)movf_func(9)movt_func(9)jr_func(9)movz_func(9)mfhi_func(9)mthi_func(9)mflo_func(9)mtlo_func(9)mult_func(9)multu_func(9)div_func(9)divu_func(9)dmult_func(9)dmultu_func(9)ddiv_func(9)ddivu_func(9)madd_func(9)maddu_func(9)msub_func(9)msubu_func(9)mul_func(9)clz_func(9)clo_func(9)dclz_func(9)dclo_func(9)mipsr2_decoder(9)
like, go read them all, they're all in ./arch/mips/kernel and they're all equally obsessed with emulation π§π
real talk: this page lives at./arch/mips/kernel, dated October 2026, and it's forever filed undermovn_func(9). mwah, bye 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