yast2 |
modules/Arch.ycp |
Architecture, board and bios data | |
|
|
This module has an unstable interface. |
Returns full architecture type (one of i386, sparc, sparc64, mips, mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64)
- Return value:
-
architecture
true for all x86 compatible architectures
true for all 32bit sparc architectures
true for all 64bit sparc architectures
true for all sparc architectures (32 or 64 bit)
true for all 32bit mips architectures
true for all 64bit mips architectures
true for all mips architectures (32 or 64 bit)
true for all 32bit ppc architectures
true for all 64bit ppc architectures
true for all ppc architectures (32 or 64 bit)
true for all alpha architectures
true for all 32bit S/390 architectures
true for all 64bit S/390 architectures
true for all S/390 architectures (32 or 64 bit)
true for all IA64 (itanium) architectures
true for all x86-64 (AMD Hammer) architectures
Returns general architecture type (one of sparc, mips, ppc, s390, i386, alpha, ia64, x86_64)
- Return value:
-
arch_short
true for all PPC "MacRISC" boards
true for all "NewWorld" PowerMacs
true for all "OldWorld" powermacs
true for all "CHRP" ppc boards
true for all "iSeries" ppc boards
true for all "PReP" ppc boards
true for all "Pegasos" and "Efika" ppc boards
true for all "Windows/Intel" compliant boards (x86 based)
true if the system supports PCMCIA But modern notebook computers do not have it. See also Bugzilla #151813#c10
- Return value:
-
true if the system supports PCMCIA
- See
-
is_laptop
true if the system runs on laptop
- Return value:
-
if the system is a laptop
This function is deprecated.
true if UML
- Return value:
-
true if the system is UML
true if Xen kernel is running (dom0 or domU)
- Return value:
-
true if the Xen kernel is running
true if dom0 Xen kernel is running
- Return value:
-
true if the Xen kernel is running in dom0
true if domU Xen kernel is running
- Return value:
-
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.
- Parameters:
-
is_smp true if has_smp should be true
- Example
-
setSMP(true);
true if running on multiprocessor board. This only reflects the board, not the actual number of CPUs or the running kernel!
- Return value:
-
true if running on multiprocessor board
run X11 configuration after inital boot this is false in case of: installation on iSeries, installation on S390
- Return value:
-
true when the X11 configuration is needed after inital boot