octeon_get_boot_uart(9)
πΈ octeon_get_boot_uart(9) β a Kernel API Manual moment πΈ
okay so bestie, welcome to the Kernel API Manual entry for octeon_get_boot_uart, and no cap this one is short but it's literally doing something kinda iconic π
β¨ NAME β¨
octeon_get_boot_uart β Return the console uart passed by the bootloader π«Ά
β¨ SYNOPSIS β¨
int octeon_get_boot_uart (void );
β¨ ARGUMENTS β¨
voidβ no arguments, bestie. absolutely none. zero. the void is voiding π
β¨ RETURN β¨
the uart number, which is 0 or 1 π
β¨ SEE ALSO β¨
the kernel file ./arch/mips/cavium-octeon/setup.c is right there in the mix too, and then we've got the whole friend group:
octeon_is_simulation(9)octeon_is_pci_host(9)octeon_get_clock_rate(9)octeon_write_lcd(9)octeon_get_boot_coremask(9)octeon_check_cpu_bist(9)octeon_restart(9)octeon_kill_core(9)octeon_halt(9)octeon_board_type_string(9)prom_init(9)
lowkey the whole point is just: bootloader told us which uart is the console, and this function hands that number back to you.0or1, that's the vibe check. periodt. π
and that's the page, bestie!! mwah π this cutie came from ./arch/mips/cavium-octeon and it's dated October 2026 β slay, see you in the next manpage, iykyk ππ¦π
π¦ 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