wok-6.x rev 21808

Add virtualbox-ose-modules*
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 17 16:23:26 2019 +0200 (2019-08-17)
parents dc0af390172d
children 582d168ed65f
files geany-plugins/receipt grub2-efi-x64/receipt grub2-efi/receipt grub2/receipt virtualbox-ose-modules/receipt virtualbox-ose-modules64/receipt virtualbox-ose/receipt virtualbox-ose/stuff/vbox-cpuhotplug.dsl
line diff
     1.1 --- a/geany-plugins/receipt	Fri Aug 16 08:34:09 2019 +0200
     1.2 +++ b/geany-plugins/receipt	Sat Aug 17 16:23:26 2019 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  WEB_SITE="https://plugins.geany.org/"
     1.5  WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"
     1.6  #HOST_ARCH="i486 arm"
     1.7 +COOKOPTS="!pngquant !optipng"
     1.8  
     1.9  DEPENDS="enchant gtkspell geany lua"
    1.10  BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev bash"
    1.11 @@ -23,7 +24,7 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	#ln -fs bash /bin/sh	# needs var+="string" support
    1.16 +	ln -fs bash /bin/sh	# needs var+="string" support
    1.17  	./configure \
    1.18  		--libexecdir=/usr/lib \
    1.19  		--enable-addons \
     2.1 --- a/grub2-efi-x64/receipt	Fri Aug 16 08:34:09 2019 +0200
     2.2 +++ b/grub2-efi-x64/receipt	Sat Aug 17 16:23:26 2019 +0200
     2.3 @@ -12,7 +12,7 @@
     2.4  WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
     2.5  
     2.6  DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper"
     2.7 -BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \
     2.8 +BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev fuse-dev \
     2.9  libusb-compat-dev libusb-dev libdevmapper-dev uclibc-cross-compiler-x86_64"
    2.10  
    2.11  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
     3.1 --- a/grub2-efi/receipt	Fri Aug 16 08:34:09 2019 +0200
     3.2 +++ b/grub2-efi/receipt	Sat Aug 17 16:23:26 2019 +0200
     3.3 @@ -12,7 +12,7 @@
     3.4  WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
     3.5  
     3.6  DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper"
     3.7 -BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \
     3.8 +BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev fuse-dev \
     3.9  libusb-compat-dev libusb-dev libdevmapper-dev"
    3.10  
    3.11  # Rules to configure and make the package.
     4.1 --- a/grub2/receipt	Fri Aug 16 08:34:09 2019 +0200
     4.2 +++ b/grub2/receipt	Sat Aug 17 16:23:26 2019 +0200
     4.3 @@ -12,7 +12,7 @@
     4.4  WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
     4.5  
     4.6  DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper"
     4.7 -BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \
     4.8 +BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev fuse-dev \
     4.9  libusb-compat-dev libusb-dev libdevmapper-dev"
    4.10  
    4.11  # Rules to configure and make the package.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/virtualbox-ose-modules/receipt	Sat Aug 17 16:23:26 2019 +0200
     5.3 @@ -0,0 +1,47 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="virtualbox-ose-modules"
     5.7 +VERSION="4.2.6"
     5.8 +CATEGORY="base-system"
     5.9 +SHORT_DESC="virtualbox-ose kernel module."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +WEB_SITE="https://www.virtualbox.org/"
    5.13 +TAGS="virtualization"
    5.14 +WANTED="virtualbox-ose"
    5.15 +
    5.16 +DEPENDS="linux"
    5.17 +BUILD_DEPENDS="linux-module-headers xz"
    5.18 +SUGGESTED="virtualbox-ose"
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +
    5.22 +compile_rules()
    5.23 +{
    5.24 +	KERN_DIR=/usr/src/linux make -C "$src/out/linux.x86/release/bin/src" &&
    5.25 +	xz $src/out/linux.x86/release/bin/src/*.ko
    5.26 +}
    5.27 +	
    5.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.29 +genpkg_rules()
    5.30 +{	
    5.31 +	EXTRAVERSION=_$kvers
    5.32 +	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/misc
    5.33 +	cp $src/out/linux.x86/release/bin/src/*.ko.xz \
    5.34 +		$fs/lib/modules/$kvers-slitaz/kernel/misc
    5.35 +}
    5.36 +
    5.37 +post_install()
    5.38 +{
    5.39 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    5.40 +	chroot "$1/" modprobe -a vboxdrv vboxnetadp vboxnetflt
    5.41 +	grep -qs vboxdrv "$1/etc/rcS.conf" ||
    5.42 +		sed -i 's/LOAD_MODULES="/&vboxdrv vboxnetadp vboxnetflt /' \
    5.43 +			"$1/etc/rcS.conf"
    5.44 +}
    5.45 +
    5.46 +post_remove()
    5.47 +{
    5.48 +	sed -i "s/vboxdrv vboxnetadp vboxnetflt //" "$1/etc/rcS.conf"
    5.49 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    5.50 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/virtualbox-ose-modules64/receipt	Sat Aug 17 16:23:26 2019 +0200
     6.3 @@ -0,0 +1,50 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="virtualbox-ose-modules64"
     6.7 +VERSION="4.2.6"
     6.8 +CATEGORY="base-system"
     6.9 +SHORT_DESC="virtualbox-ose kernel module."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +LICENSE="GPL2"
    6.12 +WEB_SITE="https://www.virtualbox.org/"
    6.13 +TAGS="virtualization"
    6.14 +WANTED="virtualbox-ose"
    6.15 +PROVIDE="virtualbox-ose-modules:linux64"
    6.16 +
    6.17 +DEPENDS="linux64"
    6.18 +BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64"
    6.19 +SUGGESTED="virtualbox-ose"
    6.20 +
    6.21 +AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
    6.22 +
    6.23 +# Rules to configure and make the package.
    6.24 +
    6.25 +compile_rules()
    6.26 +{
    6.27 +	KERN_DIR=/usr/src/linux make -C "$src/out/linux.amd64/release/bin/src" &&
    6.28 +	xz $src/out/linux.amd64/release/bin/src/*.ko
    6.29 +}
    6.30 +	
    6.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.32 +genpkg_rules()
    6.33 +{	
    6.34 +	EXTRAVERSION=_$kvers
    6.35 +	mkdir -p $fs/lib/modules/$kvers-slitaz64/kernel/misc
    6.36 +	cp $src/out/linux.amd64/release/bin/src/*.ko.xz \
    6.37 +		$fs/lib/modules/$kvers-slitaz64/kernel/misc
    6.38 +}
    6.39 +
    6.40 +post_install()
    6.41 +{
    6.42 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
    6.43 +	chroot "$1/" modprobe -a vboxdrv vboxnetadp vboxnetflt
    6.44 +	grep -qs vboxdrv "$1/etc/rcS.conf" ||
    6.45 +		sed -i 's/LOAD_MODULES="/&vboxdrv vboxnetadp vboxnetflt /' \
    6.46 +			"$1/etc/rcS.conf"
    6.47 +}
    6.48 +
    6.49 +post_remove()
    6.50 +{
    6.51 +	sed -i "s/vboxdrv vboxnetadp vboxnetflt //" "$1/etc/rcS.conf"
    6.52 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
    6.53 +}
     7.1 --- a/virtualbox-ose/receipt	Fri Aug 16 08:34:09 2019 +0200
     7.2 +++ b/virtualbox-ose/receipt	Sat Aug 17 16:23:26 2019 +0200
     7.3 @@ -15,7 +15,8 @@
     7.4  
     7.5  DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl \
     7.6  xorg-libXmu curl libvncserver libpng jpeg mesa libglu-mesa vde2 \
     7.7 -python libQtCore libQtGui libQtNetwork libQtOpenGL"
     7.8 +python libQtCore libQtGui libQtNetwork libQtOpenGL \
     7.9 +virtualbox-ose-modules"
    7.10  BUILD_DEPENDS="bin86 dev86 iasl libIDL libsdl-dev mesa-dev libxslt-dev \
    7.11  libglu-mesa-dev Qt4-dev libsdl-ttf-dev alsa-lib-dev hal-dev xorg-libXtst-dev \
    7.12  xorg-libXrandr-dev python python-dev xalan-c curl-dev xalan-c-dev \
    7.13 @@ -28,6 +29,10 @@
    7.14  {
    7.15  	grep -rl 'uname -m' $src | xargs sed -i 's|\(.\)uname -m|\1echo i486|'
    7.16  	patch -p1 < $stuff/virtualbox-linux.patch
    7.17 +	cp $stuff/vbox-cpuhotplug.dsl src/VBox/Devices/PC/
    7.18 +	sed -i '/Wake up on LAN/{NNNNNd};s|S2BF, 1|&, Serialized|' \
    7.19 +		src/VBox/Devices/PC/vbox.dsl
    7.20 +	sed -i '/soapvbox\*\.h/d' src/VBox/Main/webservice/Makefile.kmk
    7.21  	cp $stuff/LocalConfig.kmk .
    7.22  	./configure \
    7.23  		--disable-pulse \
    7.24 @@ -39,8 +44,10 @@
    7.25  	source ./env.sh
    7.26  	kmk all 2>&1 | grep -v 'kmk: No such'
    7.27  
    7.28 -	# build modules.
    7.29 -	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
    7.30 +	# Prepare modules tree.
    7.31 +	mkdir -p $src/out/linux.amd64/release/bin
    7.32 +	cp -a $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src \
    7.33 +		$src/out/linux.amd64/release/bin/src
    7.34  	# build guest additions modules
    7.35  	KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
    7.36  }
    7.37 @@ -113,31 +120,16 @@
    7.38  	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/*.py
    7.39  	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/server/*.py
    7.40  	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/client/*.py
    7.41 -	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
    7.42 -
    7.43 -	# virtualbox-ose-modules
    7.44 -	KERNEL_VERSION=$(grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
    7.45 -
    7.46 -	cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
    7.47 -	install -D -m644 vboxdrv.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxdrv.ko"
    7.48 -	install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetflt.ko"
    7.49 -	install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetadp.ko"
    7.50  }
    7.51  
    7.52  pre_remove()
    7.53  {
    7.54 -	sed -i "s/vboxdrv vboxnetadp vboxnetflt //" "$1/etc/rcS.conf"
    7.55  	chroot "$1/" delgroup vboxusers
    7.56  }
    7.57  
    7.58  post_install()
    7.59  {
    7.60  	#chroot "$1/" udevadm control --reload
    7.61 -	KERNEL_VERSION=$( chroot "$1/" uname -r)
    7.62 -	chroot "$1/" depmod -a $KERNEL_VERSION
    7.63 -	chroot "$1/" modprobe -a vboxdrv vboxnetadp vboxnetflt
    7.64 -	grep -qs vboxdrv "$1/etc/rcS.conf" ||
    7.65 -		sed -i 's/LOAD_MODULES="/&vboxdrv vboxnetadp vboxnetflt /' "$1/etc/rcS.conf"
    7.66  	grep -qs vboxuser "$1/etc/group" || chroot "$1/" addgroup -g 199 vboxusers
    7.67  	echo "add yourself to vboxusers group if you want to access"
    7.68  	echo "host usb devices: addgroup $USER vboxusers"
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/virtualbox-ose/stuff/vbox-cpuhotplug.dsl	Sat Aug 17 16:23:26 2019 +0200
     8.3 @@ -0,0 +1,190 @@
     8.4 +// $Id: vbox-cpuhotplug.dsl $
     8.5 +/// @file
     8.6 +//
     8.7 +// VirtualBox ACPI
     8.8 +//
     8.9 +// Copyright (C) 2006-2007 Oracle Corporation
    8.10 +//
    8.11 +// This file is part of VirtualBox Open Source Edition (OSE), as
    8.12 +// available from http://www.virtualbox.org. This file is free software;
    8.13 +// you can redistribute it and/or modify it under the terms of the GNU
    8.14 +// General Public License (GPL) as published by the Free Software
    8.15 +// Foundation, in version 2 as it comes in the "COPYING" file of the
    8.16 +// VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    8.17 +// hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    8.18 +
    8.19 +DefinitionBlock ("SSDT-cpuhotplug.aml", "SSDT", 1, "VBOX  ", "VBOXCPUT", 2)
    8.20 +{
    8.21 +    External(CPUC)
    8.22 +    External(CPUL)
    8.23 +    External(CPEV)
    8.24 +    External(CPET)
    8.25 +
    8.26 +    // Method to check for the CPU status
    8.27 +    Method(CPCK, 1)
    8.28 +    {
    8.29 +        Store (Arg0, CPUC)
    8.30 +        Return(LEqual(CPUL, 0x01))
    8.31 +    }
    8.32 +
    8.33 +    // Method to notify the VMM that a CPU is not
    8.34 +    // in use anymore and can be safely removed.
    8.35 +    // Using the extra method here because the CPUL
    8.36 +    // register identifer clashes with the CPUL object defined
    8.37 +    // below making iasl starting with version 20150930 fail.
    8.38 +    //
    8.39 +    // Think of CPLO as "CPU Lock Open"
    8.40 +    Method(CPLO, 1)
    8.41 +    {
    8.42 +        Store(Arg0, CPUL)
    8.43 +    }
    8.44 +
    8.45 +    Scope (\_SB)
    8.46 +    {
    8.47 +
    8.48 +#define GENERATE_CPU_OBJECT(id, sck, sckuid, cpu, cpuuid)                  \
    8.49 +    Device (sck)                                                           \
    8.50 +    {                                                                      \
    8.51 +        Name (_HID, "ACPI0004")                                            \
    8.52 +        Name (_UID, sckuid)                                                \
    8.53 +                                                                           \
    8.54 +                                                                           \
    8.55 +        Processor (cpu, /* Name */                                         \
    8.56 +                   id,  /* Id */                                           \
    8.57 +                   0x0, /* Processor IO ports range start */               \
    8.58 +                   0x0  /* Processor IO ports range length */              \
    8.59 +                   )                                                       \
    8.60 +        {                                                                  \
    8.61 +            Name (_HID, "ACPI0007")                                        \
    8.62 +            Name (_UID, cpuuid)                                            \
    8.63 +            Name (_PXM, 0x00)                                              \
    8.64 +                                                                           \
    8.65 +            Method(_MAT, 0, Serialized)                                    \
    8.66 +            {                                                              \
    8.67 +                Name (APIC, Buffer (8) {0x00, 0x08, id, id})               \
    8.68 +                IF (CPCK(id))                                              \
    8.69 +                {                                                          \
    8.70 +                    Store (One, Index (APIC, 4))                           \
    8.71 +                }                                                          \
    8.72 +                Else                                                       \
    8.73 +                {                                                          \
    8.74 +                    Store (Zero, Index (APIC, 4))                          \
    8.75 +                }                                                          \
    8.76 +                Return (APIC)                                              \
    8.77 +            }                                                              \
    8.78 +            Method(_STA) /* Used for device presence detection */          \
    8.79 +            {                                                              \
    8.80 +                IF (CPCK(id))                                              \
    8.81 +                {                                                          \
    8.82 +                    Return (0xF)                                           \
    8.83 +                }                                                          \
    8.84 +                Else                                                       \
    8.85 +                {                                                          \
    8.86 +                    Return (0x0)                                           \
    8.87 +                }                                                          \
    8.88 +            }                                                              \
    8.89 +            Method(_EJ0, 1)                                                \
    8.90 +            {                                                              \
    8.91 +                CPLO(id) /* Unlock the CPU */                              \
    8.92 +                Return                                                     \
    8.93 +            }                                                              \
    8.94 +        }                                                                  \
    8.95 +    }                                                                      \
    8.96 +
    8.97 +        GENERATE_CPU_OBJECT(0x00, SCK0, "SCKCPU0", CPU0, "SCK0-CPU0")
    8.98 +        GENERATE_CPU_OBJECT(0x01, SCK1, "SCKCPU1", CPU1, "SCK1-CPU0")
    8.99 +        GENERATE_CPU_OBJECT(0x02, SCK2, "SCKCPU2", CPU2, "SCK2-CPU0")
   8.100 +        GENERATE_CPU_OBJECT(0x03, SCK3, "SCKCPU3", CPU3, "SCK3-CPU0")
   8.101 +        GENERATE_CPU_OBJECT(0x04, SCK4, "SCKCPU4", CPU4, "SCK4-CPU0")
   8.102 +        GENERATE_CPU_OBJECT(0x05, SCK5, "SCKCPU5", CPU5, "SCK5-CPU0")
   8.103 +        GENERATE_CPU_OBJECT(0x06, SCK6, "SCKCPU6", CPU6, "SCK6-CPU0")
   8.104 +        GENERATE_CPU_OBJECT(0x07, SCK7, "SCKCPU7", CPU7, "SCK7-CPU0")
   8.105 +        GENERATE_CPU_OBJECT(0x08, SCK8, "SCKCPU8", CPU8, "SCK8-CPU0")
   8.106 +        GENERATE_CPU_OBJECT(0x09, SCK9, "SCKCPU9", CPU9, "SCK9-CPU0")
   8.107 +        GENERATE_CPU_OBJECT(0x0a, SCKA, "SCKCPUA", CPUA, "SCKA-CPU0")
   8.108 +        GENERATE_CPU_OBJECT(0x0b, SCKB, "SCKCPUB", CPUB, "SCKB-CPU0")
   8.109 +        GENERATE_CPU_OBJECT(0x0c, SCKC, "SCKCPUC", CPUC, "SCKC-CPU0")
   8.110 +        GENERATE_CPU_OBJECT(0x0d, SCKD, "SCKCPUD", CPUD, "SCKD-CPU0")
   8.111 +        GENERATE_CPU_OBJECT(0x0e, SCKE, "SCKCPUE", CPUE, "SCKE-CPU0")
   8.112 +        GENERATE_CPU_OBJECT(0x0f, SCKF, "SCKCPUF", CPUF, "SCKF-CPU0")
   8.113 +        GENERATE_CPU_OBJECT(0x10, SCKG, "SCKCPUG", CPUG, "SCKG-CPU0")
   8.114 +        GENERATE_CPU_OBJECT(0x11, SCKH, "SCKCPUH", CPUH, "SCKH-CPU0")
   8.115 +        GENERATE_CPU_OBJECT(0x12, SCKI, "SCKCPUI", CPUI, "SCKI-CPU0")
   8.116 +        GENERATE_CPU_OBJECT(0x13, SCKJ, "SCKCPUJ", CPUJ, "SCKJ-CPU0")
   8.117 +        GENERATE_CPU_OBJECT(0x14, SCKK, "SCKCPUK", CPUK, "SCKK-CPU0")
   8.118 +        GENERATE_CPU_OBJECT(0x15, SCKL, "SCKCPUL", CPUL, "SCKL-CPU0")
   8.119 +        GENERATE_CPU_OBJECT(0x16, SCKM, "SCKCPUM", CPUM, "SCKM-CPU0")
   8.120 +        GENERATE_CPU_OBJECT(0x17, SCKN, "SCKCPUN", CPUN, "SCKN-CPU0")
   8.121 +        GENERATE_CPU_OBJECT(0x18, SCKO, "SCKCPUO", CPUO, "SCKO-CPU0")
   8.122 +        GENERATE_CPU_OBJECT(0x19, SCKP, "SCKCPUP", CPUP, "SCKP-CPU0")
   8.123 +        GENERATE_CPU_OBJECT(0x1a, SCKQ, "SCKCPUQ", CPUQ, "SCKQ-CPU0")
   8.124 +        GENERATE_CPU_OBJECT(0x1b, SCKR, "SCKCPUR", CPUR, "SCKR-CPU0")
   8.125 +        GENERATE_CPU_OBJECT(0x1c, SCKS, "SCKCPUS", CPUS, "SCKS-CPU0")
   8.126 +        GENERATE_CPU_OBJECT(0x1d, SCKT, "SCKCPUT", CPUT, "SCKT-CPU0")
   8.127 +        GENERATE_CPU_OBJECT(0x1e, SCKU, "SCKCPUU", CPUU, "SCKU-CPU0")
   8.128 +        GENERATE_CPU_OBJECT(0x1f, SCKV, "SCKCPUV", CPUV, "SCKV-CPU0")
   8.129 +
   8.130 +#undef GENERATE_CPU_OBJECT
   8.131 +    }
   8.132 +
   8.133 +    Scope (\_GPE)
   8.134 +    {
   8.135 +
   8.136 +#define CHECK_CPU(cpu, sck, cpuname)      \
   8.137 +    IF (LEqual(Local0, cpu))              \
   8.138 +    {                                     \
   8.139 +        Notify (\_SB.sck.cpuname, Local1) \
   8.140 +    }                                     \
   8.141 +
   8.142 +        // GPE bit 1 handler
   8.143 +        // GPE.1 must be set and SCI raised when
   8.144 +        // processor info changed and CPU must be
   8.145 +        // re-evaluated
   8.146 +        Method (_L01, 0, NotSerialized)
   8.147 +        {
   8.148 +            Store(CPEV, Local0)
   8.149 +            Store(CPET, Local1)
   8.150 +
   8.151 +            CHECK_CPU(0x01, SCK1, CPU1)
   8.152 +            CHECK_CPU(0x02, SCK2, CPU2)
   8.153 +            CHECK_CPU(0x03, SCK3, CPU3)
   8.154 +            CHECK_CPU(0x04, SCK4, CPU4)
   8.155 +            CHECK_CPU(0x05, SCK5, CPU5)
   8.156 +            CHECK_CPU(0x06, SCK6, CPU6)
   8.157 +            CHECK_CPU(0x07, SCK7, CPU7)
   8.158 +            CHECK_CPU(0x08, SCK8, CPU8)
   8.159 +            CHECK_CPU(0x09, SCK9, CPU9)
   8.160 +            CHECK_CPU(0x0a, SCKA, CPUA)
   8.161 +            CHECK_CPU(0x0b, SCKB, CPUB)
   8.162 +            CHECK_CPU(0x0c, SCKC, CPUC)
   8.163 +            CHECK_CPU(0x0d, SCKD, CPUD)
   8.164 +            CHECK_CPU(0x0e, SCKE, CPUE)
   8.165 +            CHECK_CPU(0x0f, SCKF, CPUF)
   8.166 +            CHECK_CPU(0x10, SCKG, CPUG)
   8.167 +            CHECK_CPU(0x11, SCKH, CPUH)
   8.168 +            CHECK_CPU(0x12, SCKI, CPUI)
   8.169 +            CHECK_CPU(0x13, SCKJ, CPUJ)
   8.170 +            CHECK_CPU(0x14, SCKK, CPUK)
   8.171 +            CHECK_CPU(0x15, SCKL, CPUL)
   8.172 +            CHECK_CPU(0x16, SCKM, CPUM)
   8.173 +            CHECK_CPU(0x17, SCKN, CPUN)
   8.174 +            CHECK_CPU(0x18, SCKO, CPUO)
   8.175 +            CHECK_CPU(0x19, SCKP, CPUP)
   8.176 +            CHECK_CPU(0x1a, SCKQ, CPUQ)
   8.177 +            CHECK_CPU(0x1b, SCKR, CPUR)
   8.178 +            CHECK_CPU(0x1c, SCKS, CPUS)
   8.179 +            CHECK_CPU(0x1d, SCKT, CPUT)
   8.180 +            CHECK_CPU(0x1e, SCKU, CPUU)
   8.181 +            CHECK_CPU(0x1f, SCKV, CPUV)
   8.182 +        }
   8.183 +
   8.184 +#undef CHECK_CPU
   8.185 +    }
   8.186 +
   8.187 +}
   8.188 +
   8.189 +/*
   8.190 + * Local Variables:
   8.191 + * comment-start: "//"
   8.192 + * End:
   8.193 + */