5. Arch

Architecture, board and bios data

5.1. Summary of Module Globals

List of Global Functions

  • alpha - true for all alpha architectures

  • arch_short - General architecture type

  • architecture - General architecture type

  • 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" power macs

  • board_mac_old - true for all "OldWorld" power macs

  • board_pegasos - true for all "Pegasos" 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

    5.2. Global Functions

    5.2.1. alpha

    true for all alpha architectures

    Return value

    • boolean

    5.2.2. arch_short

    General architecture type

    Return value

    • string

    5.2.3. architecture

    General architecture type

    Return value

    • string

    5.2.4. board_chrp

    true for all "CHRP" ppc boards

    Return value

    • boolean

    5.2.5. board_iseries

    true for all "iSeries" ppc boards

    Return value

    • boolean

    5.2.6. board_mac

    true for all PPC "MacRISC" boards

    Return value

    • boolean

    5.2.7. board_mac_new

    true for all "NewWorld" power macs

    Return value

    • boolean

    5.2.8. board_mac_old

    true for all "OldWorld" power macs

    Return value

    • boolean

    5.2.9. board_pegasos

    true for all "Pegasos" ppc boards

    Return value

    • boolean

    5.2.10. board_prep

    true for all "PReP" ppc boards

    Return value

    • boolean

    5.2.11. board_wintel

    true for all "Windows/Intel" compliant boards (x86 based)

    Return value

    • boolean

    5.2.12. has_pcmcia

    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

    5.2.13. has_smp

    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

    5.2.14. i386

    true for all x86 compatible architectures

    Return value

    • boolean

    5.2.15. ia64

    true for all IA64 (itanium) architectures

    Return value

    • boolean

    5.2.16. is_laptop

    true if the system runs on laptop

    Return value

    • boolean - if the system is a laptop

    5.2.17. is_uml

    true if UML

    Return value

    • boolean - true if the system is UML

    5.2.18. is_xen

    true if Xen kernel is running (dom0 or domU)

    Return value

    • boolean - true if the Xen kernel is running

    5.2.19. is_xen0

    true if dom0 Xen kernel is running

    Return value

    • boolean - true if the Xen kernel is running in dom0

    5.2.20. is_xenU

    true if domU Xen kernel is running

    Return value

    • boolean - true if the Xen kernel is running in another domain than dom0

    5.2.21. mips

    true for all mips architectures (32 or 64 bit)

    Return value

    • boolean

    5.2.22. mips32

    true for all 32bit mips architectures

    Return value

    • boolean

    5.2.23. mips64

    true for all 64bit mips architectures

    Return value

    • boolean

    5.2.24. ppc

    true for all ppc architectures (32 or 64 bit)

    Return value

    • boolean

    5.2.25. ppc32

    true for all 32bit ppc architectures

    Return value

    • boolean

    5.2.26. ppc64

    true for all 64bit ppc architectures

    Return value

    • boolean

    5.2.27. s390

    true for all S/390 architectures (32 or 64 bit)

    Return value

    • boolean

    5.2.28. s390_32

    true for all 32bit S/390 architectures

    Return value

    • boolean

    5.2.29. s390_64

    true for all 64bit S/390 architectures

    Return value

    • boolean

    5.2.30. setSMP

    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

    Example 1. 

     setSMP(true);


    5.2.31. sparc

    true for all sparc architectures (32 or 64 bit)

    Return value

    • boolean

    5.2.32. sparc32

    true for all 32bit sparc architectures

    Return value

    • boolean

    5.2.33. sparc64

    true for all 64bit sparc architectures

    Return value

    • boolean

    5.2.34. x11_setup_needed

    run X11 configuration after inital boot this is false in case of: installation on iSeries, installation on S390

    Return value

    • boolean

    5.2.35. x86_64

    true for all x86-64 (AMD Hammer) architectures

    Return value

    • boolean

    5.3. Global Variables

    5.4. Module Requirements

    none