Architecture, board and bios data
List of Global Functions
alpha - true for all alpha architectures
arch_short - Returns general architecture type (one of sparc, mips, ppc, s390, i386, alpha, ia64, x86_64)
architecture - Returns full architecture type (one of i386, sparc, sparc64, mips, mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64)
board_chrp - true for all "CHRP" ppc boards
board_iseries - true for all "iSeries" ppc boards
board_mac - true for all PPC "MacRISC" boards
board_mac_new - true for all "NewWorld" PowerMacs
board_mac_old - true for all "OldWorld" powermacs
board_pegasos - true for all "Pegasos" and "Efika" ppc boards
board_prep - true for all "PReP" ppc boards
board_wintel - true for all "Windows/Intel" compliant boards (x86 based)
has_pcmcia - true if the system supports PCMCIA But modern notebook computers do not have it. See also Bugzilla #151813#c10
has_smp - true if running on multiprocessor board. This only reflects the board, not the actual number of CPUs or the running kernel!
i386 - true for all x86 compatible architectures
ia64 - true for all IA64 (itanium) architectures
is_laptop - true if the system runs on laptop
is_uml - true if UML
is_xen - true if Xen kernel is running (dom0 or domU)
is_xen0 - true if dom0 Xen kernel is running
is_xenU - true if domU Xen kernel is running
mips - true for all mips architectures (32 or 64 bit)
mips32 - true for all 32bit mips architectures
mips64 - true for all 64bit mips architectures
ppc - true for all ppc architectures (32 or 64 bit)
ppc32 - true for all 32bit ppc architectures
ppc64 - true for all 64bit ppc architectures
s390 - true for all S/390 architectures (32 or 64 bit)
s390_32 - true for all 32bit S/390 architectures
s390_64 - true for all 64bit S/390 architectures
setSMP - Set "Arch::has_smp ()". Since Alpha doesn't reliably probe smp, 'has_smp' must be set later with this function.
sparc - true for all sparc architectures (32 or 64 bit)
sparc32 - true for all 32bit sparc architectures
sparc64 - true for all 64bit sparc architectures
x11_setup_needed - run X11 configuration after inital boot this is false in case of: installation on iSeries, installation on S390
x86_64 - true for all x86-64 (AMD Hammer) architectures
List of Global Variables
Returns general architecture type (one of sparc, mips, ppc, s390, i386, alpha, ia64, x86_64)
Return value
string - arch_short
Returns full architecture type (one of i386, sparc, sparc64, mips, mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64)
Return value
string - architecture
true if the system supports PCMCIA But modern notebook computers do not have it. See also Bugzilla #151813#c10
Return value
boolean - true if the system supports PCMCIA
true if running on multiprocessor board. This only reflects the board, not the actual number of CPUs or the running kernel!
Return value
boolean - true if running on multiprocessor board
true if Xen kernel is running (dom0 or domU)
Return value
boolean - true if the Xen kernel is running
true if dom0 Xen kernel is running
Return value
boolean - true if the Xen kernel is running in dom0
true if domU Xen kernel is running
Return value
boolean - true if the Xen kernel is running in another domain than dom0
Set "Arch::has_smp ()". Since Alpha doesn't reliably probe smp, 'has_smp' must be set later with this function.
Function parameters
boolean is_smp
Return value
void
run X11 configuration after inital boot this is false in case of: installation on iSeries, installation on S390
Return value
boolean