3. Arch

Architecture, board and bios data

3.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_nubus - true for all "NuBus" power macs

  • board_mac_old - true for all "OldWorld" power macs

  • 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

  • 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_uml - true if UML

  • is_xen - true if XEN

  • 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

    3.2. Global Functions

    3.2.1. alpha

    true for all alpha architectures

    Return value

    • boolean

    3.2.2. arch_short

    General architecture type

    Return value

    • string

    3.2.3. architecture

    General architecture type

    Return value

    • string

    3.2.4. board_chrp

    true for all "CHRP" ppc boards

    Return value

    • boolean

    3.2.5. board_iseries

    true for all "iSeries" ppc boards

    Return value

    • boolean

    3.2.6. board_mac

    true for all PPC "MacRISC" boards

    Return value

    • boolean

    3.2.7. board_mac_new

    true for all "NewWorld" power macs

    Return value

    • boolean

    3.2.8. board_mac_nubus

    true for all "NuBus" power macs

    Return value

    • boolean

    3.2.9. board_mac_old

    true for all "OldWorld" power macs

    Return value

    • boolean

    3.2.10. board_prep

    true for all "PReP" ppc boards

    Return value

    • boolean

    3.2.11. board_wintel

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

    Return value

    • boolean

    3.2.12. has_pcmcia

    true if the system supports PCMCIA

    Return value

    • boolean

    3.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

    3.2.14. i386

    true for all x86 compatible architectures

    Return value

    • boolean

    3.2.15. ia64

    true for all IA64 (itanium) architectures

    Return value

    • boolean

    3.2.16. is_uml

    true if UML

    Return value

    • boolean

    3.2.17. is_xen

    true if XEN

    Return value

    • boolean

    3.2.18. mips

    true for all mips architectures (32 or 64 bit)

    Return value

    • boolean

    3.2.19. mips32

    true for all 32bit mips architectures

    Return value

    • boolean

    3.2.20. mips64

    true for all 64bit mips architectures

    Return value

    • boolean

    3.2.21. ppc

    true for all ppc architectures (32 or 64 bit)

    Return value

    • boolean

    3.2.22. ppc32

    true for all 32bit ppc architectures

    Return value

    • boolean

    3.2.23. ppc64

    true for all 64bit ppc architectures

    Return value

    • boolean

    3.2.24. s390

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

    Return value

    • boolean

    3.2.25. s390_32

    true for all 32bit S/390 architectures

    Return value

    • boolean

    3.2.26. s390_64

    true for all 64bit S/390 architectures

    Return value

    • boolean

    3.2.27. 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);

    3.2.28. sparc

    true for all sparc architectures (32 or 64 bit)

    Return value

    • boolean

    3.2.29. sparc32

    true for all 32bit sparc architectures

    Return value

    • boolean

    3.2.30. sparc64

    true for all 64bit sparc architectures

    Return value

    • boolean

    3.2.31. x11_setup_needed

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

    Return value

    • boolean

    3.2.32. x86_64

    true for all x86-64 (AMD Hammer) architectures

    Return value

    • boolean

    3.3. Global Variables

    3.4. Module Requirements

    none