JUMP_TABLE_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« JUMP_TABLE_ENTRY(9) β€” Kernel API Manual πŸ’«

okay so bestie, we're in the Kernel API Manual and this page is literally all about JUMP_TABLE_ENTRY, the macro that creates a jump table entry. no cap, it's giving very niche kernel energy and we're obsessed. πŸ¦‹


🌸 NAME 🌸

JUMP_TABLE_ENTRY β€” Create a jump table entry


✨ SYNOPSIS ✨

JUMP_TABLE_ENTRY (key , label );

πŸŽ€ ARGUMENTS πŸŽ€

  • key β€” Jump key identifier (typically a symbol address)
  • label β€” Target label address

πŸ’… DESCRIPTION πŸ’…

This macro creates a jump table entry in the dedicated kernel section (__jump_table). Each entry contains the following information:

  • Offset from current instruction to jump instruction (1b - .)
  • Offset from current instruction to target label (label - .)
  • Offset from current instruction to key identifier (key - .)

that's the whole breakdown, and yes, every one of those offsets is doing main character work ✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/openrisc/include/asm/jump_label.h


mwah πŸ’‹ this iconic little page comes from the ./arch/openrisc/include/asm source/version, dated October 2026, and it's literally JUMP_TABLE_ENTRY(9) β€” periodt. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from