Guest User

Untitled

a guest
Jul 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. Scope (_PR)
  2. {
  3. Processor (CPU0, 0x00, 0x00000410, 0x06)
  4. {
  5. Method (_CST, 0, NotSerialized)
  6. {
  7. Return (GCST ())
  8. }
  9. }
  10.  
  11. Processor (CPU1, 0x01, 0x00000000, 0x00)
  12. {
  13. Method (_CST, 0, NotSerialized)
  14. {
  15. Return (GCST ())
  16. }
  17. }
  18.  
  19. Processor (CPU2, 0x02, 0x00000000, 0x00)
  20. {
  21. Method (_CST, 0, NotSerialized)
  22. {
  23. Return (GCST ())
  24. }
  25. }
  26.  
  27. Processor (CPU3, 0x03, 0x00000000, 0x00)
  28. {
  29. Method (_CST, 0, NotSerialized)
  30. {
  31. Return (GCST ())
  32. }
  33. }
  34. }
  35.  
  36. Method (GCST, 0, NotSerialized)
  37. {
  38. If (LAnd (And (CFGD, 0x01000000), LNot (And (PDC0, 0x10
  39. ))))
  40. {
  41. Return (Package (0x02)
  42. {
  43. One,
  44. Package (0x04)
  45. {
  46. ResourceTemplate ()
  47. {
  48. Register (FFixedHW,
  49. 0x00, // Bit Width
  50. 0x00, // Bit Offset
  51. 0x0000000000000000, // Address
  52. ,)
  53. },
  54.  
  55. One,
  56. 0x9D,
  57. 0x03E8
  58. }
  59. })
  60. }
  61.  
  62. If (And (PDC0, 0x0300))
  63. {
  64. If (And (CFGD, 0x20))
  65. {
  66. Return (Package (0x03)
  67. {
  68. 0x02,
  69. Package (0x04)
  70. {
  71. ResourceTemplate ()
  72. {
  73. Register (FFixedHW,
  74. 0x01, // Bit Width
  75. 0x02, // Bit Offset
  76. 0x0000000000000000, // Address
  77. ,)
  78. },
  79.  
  80. One,
  81. One,
  82. 0x03E8
  83. },
  84.  
  85. Package (0x04)
  86. {
  87. ResourceTemplate ()
  88. {
  89. Register (FFixedHW,
  90. 0x01, // Bit Width
  91. 0x02, // Bit Offset
  92. 0x0000000000000010, // Address
  93. ,)
  94. },
  95.  
  96. 0x02,
  97. One,
  98. 0x01F4
  99. }
  100. })
  101. }
  102. }
  103.  
  104. If (And (CFGD, 0x20))
  105. {
  106. Return (Package (0x03)
  107. {
  108. 0x02,
  109. Package (0x04)
  110. {
  111. ResourceTemplate ()
  112. {
  113. Register (FFixedHW,
  114. 0x01, // Bit Width
  115. 0x02, // Bit Offset
  116. 0x0000000000000000, // Address
  117. ,)
  118. },
  119.  
  120. One,
  121. One,
  122. 0x03E8
  123. },
  124.  
  125. Package (0x04)
  126. {
  127. ResourceTemplate ()
  128. {
  129. Register (SystemIO,
  130. 0x08, // Bit Width
  131. 0x00, // Bit Offset
  132. 0x000000000000000C, // Address
  133. ,)
  134. },
  135.  
  136. 0x02,
  137. One,
  138. 0x01F4
  139. }
  140. })
  141. }
  142.  
  143. Return (Package (0x02)
  144. {
  145. One,
  146. Package (0x04)
  147. {
  148. ResourceTemplate ()
  149. {
  150. Register (FFixedHW,
  151. 0x01, // Bit Width
  152. 0x02, // Bit Offset
  153. 0x0000000000000000, // Address
  154. ,)
  155. },
  156.  
  157. One,
  158. One,
  159. 0x03E8
  160. }
  161. })
  162. }
Add Comment
Please, Sign In to add comment