STRUCT MIPS_EJTAG_FDC_CONSOLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mips_ejtag_fdc_console(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's a baby page but she's important, so let's get into it 🫢


🌸 NAME 🌸

struct mips_ejtag_fdc_console β€” literally just the wrapper struct for FDC consoles, no cap πŸŽ€


✨ SYNOPSIS ✨

struct mips_ejtag_fdc_console {
    struct console           cons;
    struct tty_driver       *tty_drv;
    raw_spinlock_t lock;
    bool initialised;
    void __iomem            *regs[NR_CPUS];
 };

like… look at her. five fields. main character energy πŸ’…


πŸ¦‹ Members πŸ¦‹

  • cons β€” the console object itself, iconic, doing console things πŸ‘‘
  • tty_drv β€” the TTY driver that's associated with this console, her plus-one fr fr
  • lock β€” the lock protecting concurrent access to the other fields. and listen, it's raw on purpose: it may get used very early, so no fancy sleeping locks here, periodt πŸ”’
  • initialised β€” whether the console is initialised. yes/no, that's the whole vibe check βœ…
  • regs β€” registers base address for each CPU. one per CPU bestie, NR_CPUS of them 🧚

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/tty/mips_ejtag_fdc.c struct mips_ejtag_fdc_tty_port(9), struct mips_ejtag_fdc_tty(9), struct fdc_word(9), mips_ejtag_fdc_put_chan(9), mips_ejtag_fdc_put(9), mips_ejtag_fdc_handle(9), mips_ejtag_fdc_isr(9), mips_ejtag_fdc_tty_timer(9)

go read those too, iykyk πŸ“šπŸ’–


ngl this whole thing lives under ./drivers/tty and the page is dated October 2026 β€” so yeah, she's from the future, we stan a time-travelling console struct ⭐🌈

and that's the page bestie!! struct mips..._fdc_console(9), signed off with love from ./drivers/tty, October 2026, mwah πŸ˜­πŸ’‹πŸ’…

πŸ“¦ where this page comes from