VirtualBox

Changeset 26076 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jan 27, 2010 4:14:47 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57015
Message:

CPU hotplug: ACPI changes for Windows guests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/vbox-cpuhotplug.dsl

    r25847 r26076  
    125125    {
    126126        Store (Arg0, \_SB.CPUC)
    127         Return(\_SB.CPUL)
     127        Return(LEqual(\_SB.CPUL, 0x01))
    128128    }
    129129
     
    146146        }
    147147
    148         Device(HPL) // Needed or Linux can't find the CPU after insertion if it was ejected before.
     148         // A ACPI node which contains all hot-plugable CPUs
     149         // Needed on Linux or the new CPU device can't be registered
     150         // after it was inserted.
     151         // Windows guests will perform better if this device is present.
     152         // The guest the guest seems to be kind of stuck for about 30sec
     153         // (the mouse jumps if it is moved for example) without it.
     154        Device(HPL)
    149155        {
     156            Name (_HID, "ACPI0004") // Generic container, prevents that Windows guests ask for a driver
     157
    150158            Processor (CPU1, /* Name */
    151159                       0x01, /* Id */
     
    155163            {
    156164                Method(_MAT, 0) {
    157                     Return(\_SB.MAL1)
    158                 }
    159                 Method(_STA) // Used for device presence detection
    160                 {
    161165                    IF (CPCK(0x01))
    162166                    {
    163                         Return (0xF)
    164                     }
    165                     Else
    166                     {
    167                         Return (0x1) // Present but not enabled
     167                        Name (APIC, Buffer (8) {0x00, 0x08, 0x01, 0x01, 0x01})
     168                        Return(APIC)
     169                    }
     170                    Else
     171                    {
     172                        Return (0x00)
     173                    }
     174                }
     175                Method(_STA) // Used for device presence detection
     176                {
     177                    IF (CPCK(0x01))
     178                    {
     179                        Return (0xF)
     180                    }
     181                    Else
     182                    {
     183                        Return (0x0)
    168184                    }
    169185                }
     
    181197            {
    182198                Method(_MAT, 0) {
    183                     Return(\_SB.MAL2)
    184                 }
    185                 Method(_STA) // Used for device presence detection
    186                 {
    187199                    IF (CPCK(0x02))
    188200                    {
    189                         Return (0xF)
    190                     }
    191                     Else
    192                     {
    193                         Return (0x1) // Present but not enabled
     201                        Name (APIC, Buffer (8) {0x00, 0x08, 0x02, 0x02, 0x01})
     202                        Return(APIC)
     203                    }
     204                    Else
     205                    {
     206                        Return (0x00)
     207                    }
     208                }
     209                Method(_STA) // Used for device presence detection
     210                {
     211                    IF (CPCK(0x02))
     212                    {
     213                        Return (0xF)
     214                    }
     215                    Else
     216                    {
     217                        Return (0x0)
    194218                    }
    195219                }
     
    207231            {
    208232                Method(_MAT, 0) {
    209                     Return(\_SB.MAL3)
    210                 }
    211                 Method(_STA) // Used for device presence detection
    212                 {
    213233                    IF (CPCK(0x03))
    214234                    {
    215                         Return (0xF)
    216                     }
    217                     Else
    218                     {
    219                         Return (0x1) // Present but not enabled
     235                        Name (APIC, Buffer (8) {0x00, 0x08, 0x03, 0x03, 0x01})
     236                        Return(APIC)
     237                    }
     238                    Else
     239                    {
     240                        Return (0x00)
     241                    }
     242                }
     243                Method(_STA) // Used for device presence detection
     244                {
     245                    IF (CPCK(0x03))
     246                    {
     247                        Return (0xF)
     248                    }
     249                    Else
     250                    {
     251                        Return (0x0)
    220252                    }
    221253                }
     
    233265            {
    234266                Method(_MAT, 0) {
    235                     Return(\_SB.MAL4)
    236                 }
    237                 Method(_STA) // Used for device presence detection
    238                 {
    239267                    IF (CPCK(0x04))
    240268                    {
    241                         Return (0xF)
    242                     }
    243                     Else
    244                     {
    245                         Return (0x1) // Present but not enabled
     269                        Name (APIC, Buffer (8) {0x00, 0x08, 0x04, 0x04, 0x01})
     270                        Return(APIC)
     271                    }
     272                    Else
     273                    {
     274                        Return (0x00)
     275                    }
     276                }
     277                Method(_STA) // Used for device presence detection
     278                {
     279                    IF (CPCK(0x04))
     280                    {
     281                        Return (0xF)
     282                    }
     283                    Else
     284                    {
     285                        Return (0x0)
    246286                    }
    247287                }
     
    259299            {
    260300                Method(_MAT, 0) {
    261                     Return(\_SB.MAL5)
    262                 }
    263                 Method(_STA) // Used for device presence detection
    264                 {
    265301                    IF (CPCK(0x05))
    266302                    {
    267                         Return (0xF)
    268                     }
    269                     Else
    270                     {
    271                         Return (0x1) // Present but not enabled
     303                        Name (APIC, Buffer (8) {0x00, 0x08, 0x05, 0x05, 0x01})
     304                        Return(APIC)
     305                    }
     306                    Else
     307                    {
     308                        Return (0x00)
     309                    }
     310                }
     311                Method(_STA) // Used for device presence detection
     312                {
     313                    IF (CPCK(0x05))
     314                    {
     315                        Return (0xF)
     316                    }
     317                    Else
     318                    {
     319                        Return (0x0)
    272320                    }
    273321                }
     
    285333            {
    286334                Method(_MAT, 0) {
    287                     Return(\_SB.MAL6)
    288                 }
    289                 Method(_STA) // Used for device presence detection
    290                 {
    291335                    IF (CPCK(0x06))
    292336                    {
    293                         Return (0xF)
    294                     }
    295                     Else
    296                     {
    297                         Return (0x1) // Present but not enabled
     337                        Name (APIC, Buffer (8) {0x00, 0x08, 0x06, 0x06, 0x01})
     338                        Return(APIC)
     339                    }
     340                    Else
     341                    {
     342                        Return (0x00)
     343                    }
     344                }
     345                Method(_STA) // Used for device presence detection
     346                {
     347                    IF (CPCK(0x06))
     348                    {
     349                        Return (0xF)
     350                    }
     351                    Else
     352                    {
     353                        Return (0x0)
    298354                    }
    299355                }
     
    311367            {
    312368                Method(_MAT, 0) {
    313                     Return(\_SB.MAL7)
    314                 }
    315                 Method(_STA) // Used for device presence detection
    316                 {
    317369                    IF (CPCK(0x07))
    318370                    {
    319                         Return (0xF)
    320                     }
    321                     Else
    322                     {
    323                         Return (0x1) // Present but not enabled
     371                        Name (APIC, Buffer (8) {0x00, 0x08, 0x07, 0x07, 0x01})
     372                        Return(APIC)
     373                    }
     374                    Else
     375                    {
     376                        Return (0x00)
     377                    }
     378                }
     379                Method(_STA) // Used for device presence detection
     380                {
     381                    IF (CPCK(0x07))
     382                    {
     383                        Return (0xF)
     384                    }
     385                    Else
     386                    {
     387                        Return (0x0)
    324388                    }
    325389                }
     
    337401            {
    338402                Method(_MAT, 0) {
    339                     Return(\_SB.MAL8)
    340                 }
    341                 Method(_STA) // Used for device presence detection
    342                 {
    343403                    IF (CPCK(0x08))
    344404                    {
    345                         Return (0xF)
    346                     }
    347                     Else
    348                     {
    349                         Return (0x1) // Present but not enabled
     405                        Name (APIC, Buffer (8) {0x00, 0x08, 0x08, 0x08, 0x01})
     406                        Return(APIC)
     407                    }
     408                    Else
     409                    {
     410                        Return (0x00)
     411                    }
     412                }
     413                Method(_STA) // Used for device presence detection
     414                {
     415                    IF (CPCK(0x08))
     416                    {
     417                        Return (0xF)
     418                    }
     419                    Else
     420                    {
     421                        Return (0x0)
    350422                    }
    351423                }
     
    363435            {
    364436                Method(_MAT, 0) {
    365                     Return(\_SB.MAL9)
    366                 }
    367                 Method(_STA) // Used for device presence detection
    368                 {
    369437                    IF (CPCK(0x09))
    370438                    {
    371                         Return (0xF)
    372                     }
    373                     Else
    374                     {
    375                         Return (0x1) // Present but not enabled
     439                        Name (APIC, Buffer (8) {0x00, 0x08, 0x09, 0x09, 0x01})
     440                        Return(APIC)
     441                    }
     442                    Else
     443                    {
     444                        Return (0x00)
     445                    }
     446                }
     447                Method(_STA) // Used for device presence detection
     448                {
     449                    IF (CPCK(0x09))
     450                    {
     451                        Return (0xF)
     452                    }
     453                    Else
     454                    {
     455                        Return (0x0)
    376456                    }
    377457                }
     
    389469            {
    390470                Method(_MAT, 0) {
    391                     Return(\_SB.MALA)
    392                 }
    393                 Method(_STA) // Used for device presence detection
    394                 {
    395471                    IF (CPCK(0x0a))
    396472                    {
    397                         Return (0xF)
    398                     }
    399                     Else
    400                     {
    401                         Return (0x1) // Present but not enabled
     473                        Name (APIC, Buffer (8) {0x00, 0x08, 0x0a, 0x0a, 0x01})
     474                        Return(APIC)
     475                    }
     476                    Else
     477                    {
     478                        Return (0x00)
     479                    }
     480                }
     481                Method(_STA) // Used for device presence detection
     482                {
     483                    IF (CPCK(0x0a))
     484                    {
     485                        Return (0xF)
     486                    }
     487                    Else
     488                    {
     489                        Return (0x0)
    402490                    }
    403491                }
     
    415503            {
    416504                Method(_MAT, 0) {
    417                     Return(\_SB.MALB)
    418                 }
    419                 Method(_STA) // Used for device presence detection
    420                 {
    421505                    IF (CPCK(0x0b))
    422506                    {
    423                         Return (0xF)
    424                     }
    425                     Else
    426                     {
    427                         Return (0x1) // Present but not enabled
     507                        Name (APIC, Buffer (8) {0x00, 0x08, 0x0b, 0x0b, 0x01})
     508                        Return(APIC)
     509                    }
     510                    Else
     511                    {
     512                        Return (0x00)
     513                    }
     514                }
     515                Method(_STA) // Used for device presence detection
     516                {
     517                    IF (CPCK(0x0b))
     518                    {
     519                        Return (0xF)
     520                    }
     521                    Else
     522                    {
     523                        Return (0x0)
    428524                    }
    429525                }
     
    441537            {
    442538                Method(_MAT, 0) {
    443                     Return(\_SB.MALC)
    444                 }
    445                 Method(_STA) // Used for device presence detection
    446                 {
    447539                    IF (CPCK(0x0c))
    448540                    {
    449                         Return (0xF)
    450                     }
    451                     Else
    452                     {
    453                         Return (0x1) // Present but not enabled
     541                        Name (APIC, Buffer (8) {0x00, 0x08, 0x0c, 0x0c, 0x01})
     542                        Return(APIC)
     543                    }
     544                    Else
     545                    {
     546                        Return (0x00)
     547                    }
     548                }
     549                Method(_STA) // Used for device presence detection
     550                {
     551                    IF (CPCK(0x0c))
     552                    {
     553                        Return (0xF)
     554                    }
     555                    Else
     556                    {
     557                        Return (0x0)
    454558                    }
    455559                }
     
    467571            {
    468572                Method(_MAT, 0) {
    469                     Return(\_SB.MALD)
    470                 }
    471                 Method(_STA) // Used for device presence detection
    472                 {
    473573                    IF (CPCK(0x0d))
    474574                    {
    475                         Return (0xF)
    476                     }
    477                     Else
    478                     {
    479                         Return (0x1) // Present but not enabled
     575                        Name (APIC, Buffer (8) {0x00, 0x08, 0x0d, 0x0d, 0x01})
     576                        Return(APIC)
     577                    }
     578                    Else
     579                    {
     580                        Return (0x00)
     581                    }
     582                }
     583                Method(_STA) // Used for device presence detection
     584                {
     585                    IF (CPCK(0x0d))
     586                    {
     587                        Return (0xF)
     588                    }
     589                    Else
     590                    {
     591                        Return (0x0)
    480592                    }
    481593                }
     
    493605            {
    494606                Method(_MAT, 0) {
    495                     Return(\_SB.MALE)
    496                 }
    497                 Method(_STA) // Used for device presence detection
    498                 {
    499607                    IF (CPCK(0x0e))
    500608                    {
    501                         Return (0xF)
    502                     }
    503                     Else
    504                     {
    505                         Return (0x1) // Present but not enabled
     609                        Name (APIC, Buffer (8) {0x00, 0x08, 0x0e, 0x0e, 0x01})
     610                        Return(APIC)
     611                    }
     612                    Else
     613                    {
     614                        Return (0x00)
     615                    }
     616                }
     617                Method(_STA) // Used for device presence detection
     618                {
     619                    IF (CPCK(0x0e))
     620                    {
     621                        Return (0xF)
     622                    }
     623                    Else
     624                    {
     625                        Return (0x0)
    506626                    }
    507627                }
     
    519639            {
    520640                Method(_MAT, 0) {
    521                     Return(\_SB.MALF)
    522                 }
    523                 Method(_STA) // Used for device presence detection
    524                 {
    525641                    IF (CPCK(0x0f))
    526642                    {
    527                         Return (0xF)
    528                     }
    529                     Else
    530                     {
    531                         Return (0x1) // Present but not enabled
     643                        Name (APIC, Buffer (8) {0x00, 0x08, 0x0f, 0x0f, 0x01})
     644                        Return(APIC)
     645                    }
     646                    Else
     647                    {
     648                        Return (0x00)
     649                    }
     650                }
     651                Method(_STA) // Used for device presence detection
     652                {
     653                    IF (CPCK(0x0f))
     654                    {
     655                        Return (0xF)
     656                    }
     657                    Else
     658                    {
     659                        Return (0x0)
    532660                    }
    533661                }
     
    545673            {
    546674                Method(_MAT, 0) {
    547                     Return(\_SB.MALG)
    548                 }
    549                 Method(_STA) // Used for device presence detection
    550                 {
    551675                    IF (CPCK(0x10))
    552676                    {
    553                         Return (0xF)
    554                     }
    555                     Else
    556                     {
    557                         Return (0x1) // Present but not enabled
     677                        Name (APIC, Buffer (8) {0x00, 0x08, 0x10, 0x10, 0x01})
     678                        Return(APIC)
     679                    }
     680                    Else
     681                    {
     682                        Return (0x00)
     683                    }
     684                }
     685                Method(_STA) // Used for device presence detection
     686                {
     687                    IF (CPCK(0x10))
     688                    {
     689                        Return (0xF)
     690                    }
     691                    Else
     692                    {
     693                        Return (0x0)
    558694                    }
    559695                }
     
    571707            {
    572708                Method(_MAT, 0) {
    573                     Return(\_SB.MALH)
    574                 }
    575                 Method(_STA) // Used for device presence detection
    576                 {
    577709                    IF (CPCK(0x11))
    578710                    {
    579                         Return (0xF)
    580                     }
    581                     Else
    582                     {
    583                         Return (0x1) // Present but not enabled
     711                        Name (APIC, Buffer (8) {0x00, 0x08, 0x11, 0x11, 0x01})
     712                        Return(APIC)
     713                    }
     714                    Else
     715                    {
     716                        Return (0x00)
     717                    }
     718                }
     719                Method(_STA) // Used for device presence detection
     720                {
     721                    IF (CPCK(0x11))
     722                    {
     723                        Return (0xF)
     724                    }
     725                    Else
     726                    {
     727                        Return (0x0)
    584728                    }
    585729                }
     
    597741            {
    598742                Method(_MAT, 0) {
    599                     Return(\_SB.MALI)
    600                 }
    601                 Method(_STA) // Used for device presence detection
    602                 {
    603743                    IF (CPCK(0x12))
    604744                    {
    605                         Return (0xF)
    606                     }
    607                     Else
    608                     {
    609                         Return (0x1) // Present but not enabled
     745                        Name (APIC, Buffer (8) {0x00, 0x08, 0x12, 0x12, 0x01})
     746                        Return(APIC)
     747                    }
     748                    Else
     749                    {
     750                        Return (0x00)
     751                    }
     752                }
     753                Method(_STA) // Used for device presence detection
     754                {
     755                    IF (CPCK(0x12))
     756                    {
     757                        Return (0xF)
     758                    }
     759                    Else
     760                    {
     761                        Return (0x0)
    610762                    }
    611763                }
     
    623775            {
    624776                Method(_MAT, 0) {
    625                     Return(\_SB.MALJ)
    626                 }
    627                 Method(_STA) // Used for device presence detection
    628                 {
    629777                    IF (CPCK(0x13))
    630778                    {
    631                         Return (0xF)
    632                     }
    633                     Else
    634                     {
    635                         Return (0x1) // Present but not enabled
     779                        Name (APIC, Buffer (8) {0x00, 0x08, 0x13, 0x13, 0x01})
     780                        Return(APIC)
     781                    }
     782                    Else
     783                    {
     784                        Return (0x00)
     785                    }
     786                }
     787                Method(_STA) // Used for device presence detection
     788                {
     789                    IF (CPCK(0x13))
     790                    {
     791                        Return (0xF)
     792                    }
     793                    Else
     794                    {
     795                        Return (0x0)
    636796                    }
    637797                }
     
    649809            {
    650810                Method(_MAT, 0) {
    651                     Return(\_SB.MALK)
    652                 }
    653                 Method(_STA) // Used for device presence detection
    654                 {
    655811                    IF (CPCK(0x14))
    656812                    {
    657                         Return (0xF)
    658                     }
    659                     Else
    660                     {
    661                         Return (0x1) // Present but not enabled
     813                        Name (APIC, Buffer (8) {0x00, 0x08, 0x14, 0x14, 0x01})
     814                        Return(APIC)
     815                    }
     816                    Else
     817                    {
     818                        Return (0x00)
     819                    }
     820                }
     821                Method(_STA) // Used for device presence detection
     822                {
     823                    IF (CPCK(0x14))
     824                    {
     825                        Return (0xF)
     826                    }
     827                    Else
     828                    {
     829                        Return (0x0)
    662830                    }
    663831                }
     
    675843            {
    676844                Method(_MAT, 0) {
    677                     Return(\_SB.MALL)
    678                 }
    679                 Method(_STA) // Used for device presence detection
    680                 {
    681845                    IF (CPCK(0x15))
    682846                    {
    683                         Return (0xF)
    684                     }
    685                     Else
    686                     {
    687                         Return (0x1) // Present but not enabled
     847                        Name (APIC, Buffer (8) {0x00, 0x08, 0x15, 0x15, 0x01})
     848                        Return(APIC)
     849                    }
     850                    Else
     851                    {
     852                        Return (0x00)
     853                    }
     854                }
     855                Method(_STA) // Used for device presence detection
     856                {
     857                    IF (CPCK(0x15))
     858                    {
     859                        Return (0xF)
     860                    }
     861                    Else
     862                    {
     863                        Return (0x0)
    688864                    }
    689865                }
     
    701877            {
    702878                Method(_MAT, 0) {
    703                     Return(\_SB.MALM)
    704                 }
    705                 Method(_STA) // Used for device presence detection
    706                 {
    707879                    IF (CPCK(0x16))
    708880                    {
    709                         Return (0xF)
    710                     }
    711                     Else
    712                     {
    713                         Return (0x1) // Present but not enabled
     881                        Name (APIC, Buffer (8) {0x00, 0x08, 0x16, 0x16, 0x01})
     882                        Return(APIC)
     883                    }
     884                    Else
     885                    {
     886                        Return (0x00)
     887                    }
     888                }
     889                Method(_STA) // Used for device presence detection
     890                {
     891                    IF (CPCK(0x16))
     892                    {
     893                        Return (0xF)
     894                    }
     895                    Else
     896                    {
     897                        Return (0x0)
    714898                    }
    715899                }
     
    727911            {
    728912                Method(_MAT, 0) {
    729                     Return(\_SB.MALN)
    730                 }
    731                 Method(_STA) // Used for device presence detection
    732                 {
    733913                    IF (CPCK(0x17))
    734914                    {
    735                         Return (0xF)
    736                     }
    737                     Else
    738                     {
    739                         Return (0x1) // Present but not enabled
     915                        Name (APIC, Buffer (8) {0x00, 0x08, 0x17, 0x17, 0x01})
     916                        Return(APIC)
     917                    }
     918                    Else
     919                    {
     920                        Return (0x00)
     921                    }
     922                }
     923                Method(_STA) // Used for device presence detection
     924                {
     925                    IF (CPCK(0x17))
     926                    {
     927                        Return (0xF)
     928                    }
     929                    Else
     930                    {
     931                        Return (0x0)
    740932                    }
    741933                }
     
    753945            {
    754946                Method(_MAT, 0) {
    755                     Return(\_SB.MALO)
    756                 }
    757                 Method(_STA) // Used for device presence detection
    758                 {
    759947                    IF (CPCK(0x18))
    760948                    {
    761                         Return (0xF)
    762                     }
    763                     Else
    764                     {
    765                         Return (0x1) // Present but not enabled
     949                        Name (APIC, Buffer (8) {0x00, 0x08, 0x18, 0x18, 0x01})
     950                        Return(APIC)
     951                    }
     952                    Else
     953                    {
     954                        Return (0x00)
     955                    }
     956                }
     957                Method(_STA) // Used for device presence detection
     958                {
     959                    IF (CPCK(0x18))
     960                    {
     961                        Return (0xF)
     962                    }
     963                    Else
     964                    {
     965                        Return (0x0)
    766966                    }
    767967                }
     
    779979            {
    780980                Method(_MAT, 0) {
    781                     Return(\_SB.MALP)
    782                 }
    783                 Method(_STA) // Used for device presence detection
    784                 {
    785981                    IF (CPCK(0x19))
    786982                    {
    787                         Return (0xF)
    788                     }
    789                     Else
    790                     {
    791                         Return (0x1) // Present but not enabled
     983                        Name (APIC, Buffer (8) {0x00, 0x08, 0x19, 0x19, 0x01})
     984                        Return(APIC)
     985                    }
     986                    Else
     987                    {
     988                        Return (0x00)
     989                    }
     990                }
     991                Method(_STA) // Used for device presence detection
     992                {
     993                    IF (CPCK(0x19))
     994                    {
     995                        Return (0xF)
     996                    }
     997                    Else
     998                    {
     999                        Return (0x0)
    7921000                    }
    7931001                }
     
    8051013            {
    8061014                Method(_MAT, 0) {
    807                     Return(\_SB.MALQ)
    808                 }
    809                 Method(_STA) // Used for device presence detection
    810                 {
    8111015                    IF (CPCK(0x1a))
    8121016                    {
    813                         Return (0xF)
    814                     }
    815                     Else
    816                     {
    817                         Return (0x1) // Present but not enabled
     1017                        Name (APIC, Buffer (8) {0x00, 0x08, 0x1a, 0x1a, 0x01})
     1018                        Return(APIC)
     1019                    }
     1020                    Else
     1021                    {
     1022                        Return (0x00)
     1023                    }
     1024                }
     1025                Method(_STA) // Used for device presence detection
     1026                {
     1027                    IF (CPCK(0x1a))
     1028                    {
     1029                        Return (0xF)
     1030                    }
     1031                    Else
     1032                    {
     1033                        Return (0x0)
    8181034                    }
    8191035                }
     
    8311047            {
    8321048                Method(_MAT, 0) {
    833                     Return(\_SB.MALR)
    834                 }
    835                 Method(_STA) // Used for device presence detection
    836                 {
    8371049                    IF (CPCK(0x1b))
    8381050                    {
    839                         Return (0xF)
    840                     }
    841                     Else
    842                     {
    843                         Return (0x1) // Present but not enabled
     1051                        Name (APIC, Buffer (8) {0x00, 0x08, 0x1b, 0x1b, 0x01})
     1052                        Return(APIC)
     1053                    }
     1054                    Else
     1055                    {
     1056                        Return (0x00)
     1057                    }
     1058                }
     1059                Method(_STA) // Used for device presence detection
     1060                {
     1061                    IF (CPCK(0x1b))
     1062                    {
     1063                        Return (0xF)
     1064                    }
     1065                    Else
     1066                    {
     1067                        Return (0x0)
    8441068                    }
    8451069                }
     
    8571081            {
    8581082                Method(_MAT, 0) {
    859                     Return(\_SB.MALS)
    860                 }
    861                 Method(_STA) // Used for device presence detection
    862                 {
    8631083                    IF (CPCK(0x1c))
    8641084                    {
    865                         Return (0xF)
    866                     }
    867                     Else
    868                     {
    869                         Return (0x1) // Present but not enabled
     1085                        Name (APIC, Buffer (8) {0x00, 0x08, 0x1c, 0x1c, 0x01})
     1086                        Return(APIC)
     1087                    }
     1088                    Else
     1089                    {
     1090                        Return (0x00)
     1091                    }
     1092                }
     1093                Method(_STA) // Used for device presence detection
     1094                {
     1095                    IF (CPCK(0x1c))
     1096                    {
     1097                        Return (0xF)
     1098                    }
     1099                    Else
     1100                    {
     1101                        Return (0x0)
    8701102                    }
    8711103                }
     
    8831115            {
    8841116                Method(_MAT, 0) {
    885                     Return(\_SB.MALT)
    886                 }
    887                 Method(_STA) // Used for device presence detection
    888                 {
    8891117                    IF (CPCK(0x1d))
    8901118                    {
    891                         Return (0xF)
    892                     }
    893                     Else
    894                     {
    895                         Return (0x1) // Present but not enabled
     1119                        Name (APIC, Buffer (8) {0x00, 0x08, 0x1d, 0x1d, 0x01})
     1120                        Return(APIC)
     1121                    }
     1122                    Else
     1123                    {
     1124                        Return (0x00)
     1125                    }
     1126                }
     1127                Method(_STA) // Used for device presence detection
     1128                {
     1129                    IF (CPCK(0x1d))
     1130                    {
     1131                        Return (0xF)
     1132                    }
     1133                    Else
     1134                    {
     1135                        Return (0x0)
    8961136                    }
    8971137                }
     
    9091149            {
    9101150                Method(_MAT, 0) {
    911                     Return(\_SB.MALU)
    912                 }
    913                 Method(_STA) // Used for device presence detection
    914                 {
    9151151                    IF (CPCK(0x1e))
    9161152                    {
    917                         Return (0xF)
    918                     }
    919                     Else
    920                     {
    921                         Return (0x1) // Present but not enabled
     1153                        Name (APIC, Buffer (8) {0x00, 0x08, 0x1e, 0x1e, 0x01})
     1154                        Return(APIC)
     1155                    }
     1156                    Else
     1157                    {
     1158                        Return (0x00)
     1159                    }
     1160                }
     1161                Method(_STA) // Used for device presence detection
     1162                {
     1163                    IF (CPCK(0x1e))
     1164                    {
     1165                        Return (0xF)
     1166                    }
     1167                    Else
     1168                    {
     1169                        Return (0x0)
    9221170                    }
    9231171                }
     
    9351183            {
    9361184                Method(_MAT, 0) {
    937                     Return(\_SB.MALV)
    938                 }
    939                 Method(_STA) // Used for device presence detection
    940                 {
    9411185                    IF (CPCK(0x1f))
    9421186                    {
    943                         Return (0xF)
    944                     }
    945                     Else
    946                     {
    947                         Return (0x1) // Present but not enabled
     1187                        Name (APIC, Buffer (8) {0x00, 0x08, 0x1f, 0x1f, 0x01})
     1188                        Return(APIC)
     1189                    }
     1190                    Else
     1191                    {
     1192                        Return (0x00)
     1193                    }
     1194                }
     1195                Method(_STA) // Used for device presence detection
     1196                {
     1197                    IF (CPCK(0x1f))
     1198                    {
     1199                        Return (0xF)
     1200                    }
     1201                    Else
     1202                    {
     1203                        Return (0x0)
    9481204                    }
    9491205                }
     
    11311387        }
    11321388
    1133         OperationRegion(MABL, SystemMemory, MAAD, MASZ)
    1134         Field (MABL, ByteAcc, NoLock, Preserve)
    1135         {
    1136             MUDA, 288,
    1137             MUDD, 32,
    1138             MUDF, 32,
    1139             MAL0, 64,
    1140             MAL1, 64,
    1141             MAL2, 64,
    1142             MAL3, 64,
    1143             MAL4, 64,
    1144             MAL5, 64,
    1145             MAL6, 64,
    1146             MAL7, 64,
    1147             MAL8, 64,
    1148             MAL9, 64,
    1149             MALA, 64,
    1150             MALB, 64,
    1151             MALC, 64,
    1152             MALD, 64,
    1153             MALE, 64,
    1154             MALF, 64,
    1155             MALG, 64,
    1156             MALH, 64,
    1157             MALI, 64,
    1158             MALJ, 64,
    1159             MALK, 64,
    1160             MALL, 64,
    1161             MALM, 64,
    1162             MALN, 64,
    1163             MALO, 64,
    1164             MALP, 64,
    1165             MALQ, 64,
    1166             MALR, 64,
    1167             MALS, 64,
    1168             MALT, 64,
    1169             MALU, 64,
    1170             MALV, 64,
    1171         }
    1172 
    11731389        Method (_INI, 0, NotSerialized)
    11741390        {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette