Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

284 lines
13 KiB

  1. DefinitionBlock("acpidsdt.aml","DSDT",1,"Intel","LionSDV",0) {
  2. Scope(\_PR)
  3. {
  4. Processor(CPU0,0x0,0xFFFFFFFF,0x0) {}
  5. }
  6. // GPE0
  7. OperationRegion(Lds, SystemIO,0x802B,0x01)
  8. Field(Lds, ByteAcc, NoLock, Preserve) {
  9. SMFZ, 1,
  10. LPOL, 1,
  11. }
  12. Scope(_GPE){
  13. Method(_L0B){
  14. Not(LPOL,LPOL)
  15. Notify(\_SB.LID,0x80)
  16. } // End of L0B
  17. } // End of GPE
  18. Scope(\_SB)
  19. {
  20. Device(LID){
  21. Name(_HID, EISAID("PNP0C0D"))
  22. Method(_LID){
  23. Store("LID STATE", debug)
  24. Return(LPOL)
  25. } // end method
  26. } // end LID
  27. Device(PCI0) {
  28. Name(_HID,EISAID("PNP0A03"))
  29. Name(_ADR, 0x00000000) // PCI Host Bus
  30. Name(_PRT,Package(){
  31. //
  32. // Interrupt routing:
  33. // Package(){0x0005ffff, 0, 0, 45}
  34. // Arg0- 0x0005ffff: DevId=5, FtnID=0xffff
  35. // Arg1- 0 : PCI.INTA (1=PCI.INTB,...)
  36. // Arg2- 0 : Link Object (none)
  37. // Arg3- 45 : Global INTI=45 (IOSAPIC input)
  38. //
  39. //
  40. //
  41. // Note: ISA Interrupts which are routed to Io SAPIC
  42. // inputs different from the IRQ number must have
  43. // entries in the ISA Vector Redirect Table.
  44. //
  45. // Example: EIDE at IRQ 14 is routed to IO Sapic INTI 1
  46. // requires a ISA Vector Redirect entry
  47. //
  48. // However, if it had been routed to
  49. // Io SAPIC input 14, it wouldn't need one
  50. //
  51. // PCI DevID 4 Interrupt routing
  52. // In Lion Power on config this device contains IFB
  53. Package(){0x0004FFFF, 0, 0, 0x00},
  54. Package(){0x0004FFFF, 1, 0, 0x0A},
  55. Package(){0x0004FFFF, 2, 0, 0x14},
  56. Package(){0x0004FFFF, 3, 0, 0x1E},
  57. // PCI DevID 5 Interrupt routing
  58. // In Lion Power on config this device will be SCSI
  59. Package(){0x0005FFFF, 0, 0, 0x01},
  60. Package(){0x0005FFFF, 1, 0, 0x0B},
  61. Package(){0x0005FFFF, 2, 0, 0x15},
  62. Package(){0x0005FFFF, 3, 0, 0x1F},
  63. // PCI DevID 6 Interrupt routing
  64. // In Lion Power on config this device will be LAN
  65. Package(){0x0006FFFF, 0, 0, 0x02},
  66. Package(){0x0006FFFF, 1, 0, 0x0C},
  67. Package(){0x0006FFFF, 2, 0, 0x16},
  68. Package(){0x0006FFFF, 3, 0, 0x20},
  69. // PCI DevID 7 Interrupt routing
  70. // In Lion Power on config this device will be ATI Display
  71. Package(){0x0007FFFF, 0, 0, 0x03},
  72. Package(){0x0007FFFF, 1, 0, 0x0D},
  73. Package(){0x0007FFFF, 2, 0, 0x17},
  74. Package(){0x0007FFFF, 3, 0, 0x21},
  75. })
  76. Name(_CRS, ResourceTemplate() {
  77. WORDBusNumber ( // Bus number resource(0)
  78. ResourceConsumer, // bit 0 of general flags is 1
  79. MinFixed, // Range is notfixed
  80. MaxFixed, // Range is not fixed
  81. SubDecode, // SubDecode
  82. 0x00, // Granularity
  83. 0x00, // Min
  84. 0xff, // Max
  85. 0x00, // Translation
  86. 0x100 // Range Length
  87. )
  88. IO(
  89. //Consumed resource (CF8-CFF)
  90. Decode16,
  91. 0x0cf8,
  92. 0x0cf8,
  93. 1,
  94. 8
  95. )
  96. WORDIO(
  97. //Consumed-and-produced resource (I/O window1)
  98. ResourceProducer, // bit 0 of general flags is 0
  99. MinFixed, // Range is fixed
  100. MaxFixed, // Range is fixed
  101. PosDecode,
  102. EntireRange,
  103. 0x0000, // Granularity
  104. 0x0000, // Min
  105. 0x0cf7, // Max
  106. 0x0000, // Translation
  107. 0x0cf8 // Range Length
  108. )
  109. WORDIO(
  110. //Consumed-and-produced resource (I/O window2)
  111. ResourceProducer, // bit 0 of general flags is 0
  112. MinFixed, // Range is fixed
  113. MaxFixed, // Range is fixed
  114. PosDecode,
  115. EntireRange,
  116. 0x0000, // Granularity
  117. 0x0d00, // Min
  118. 0xffff, // Max
  119. 0x0000, // Translation
  120. 0xf300 // Range Length
  121. )
  122. DWORDMemory(
  123. // Consumed-and-produced resource(Memory window1)
  124. ResourceProducer, // bit 0 of general flags is 0
  125. PosDecode,
  126. MinFixed, // Range is fixed
  127. MaxFixed, // Range is fixed
  128. Cacheable,
  129. ReadOnly,
  130. 0x00000000, // Granularity
  131. 0x000a0000, // Min
  132. 0x000fffff, // Max
  133. 0x00000000, // Translation
  134. 0x00060000 // Range Length
  135. )
  136. DWORDMemory(
  137. // Consumed-and-produced resource(mem window2)
  138. ResourceProducer, // bit 0 of general flags is 0
  139. PosDecode,
  140. MinFixed, // Range is fixed
  141. MaxFixed, // Range is fixed
  142. NonCacheable,
  143. ReadWrite,
  144. 0x00000000, // Granularity
  145. 0xf0000000, // Min
  146. 0xfdffffff, // Max
  147. 0x00000000, // Translation
  148. 0x0e000000 // Range Length
  149. )
  150. } )
  151. Device (ISA)
  152. {
  153. Name (_ADR,0x00040000) // IFB address Device ID 4
  154. Device(PS2K)
  155. {
  156. Name(_HID,EISAID("PNP0303"))
  157. Method(_STA,0)
  158. {
  159. Return(0x000F)
  160. }
  161. Name(_CRS,
  162. ResourceTemplate()
  163. {
  164. IO(Decode16,0x60,0x60,1,1)
  165. IO(Decode16,0x64,0x64,1,1)
  166. IRQNoFlags(){1}
  167. })
  168. }
  169. Device(PS2M)
  170. {
  171. Name(_HID,EISAID("PNP0F13"))
  172. Method(_STA,0)
  173. {
  174. Return(0x000F)
  175. }
  176. Name(_CRS,
  177. ResourceTemplate()
  178. {
  179. IRQNoFlags(){12}
  180. })
  181. } // Device(PS2M)
  182. Device(UAR1) // Communication Device (Modem Port)
  183. {
  184. // Compatability or OEM custom ID
  185. Name(_HID, EISAID("PNP0501")) // PnP device ID
  186. Name(_UID, 1) // Unique ID
  187. Name(_CRS,ResourceTemplate() {
  188. IO(Decode16,0x3F8,0x3F8,0x01,0x08)
  189. IRQNoFlags(){0x4}
  190. }) // _CRS
  191. } // Device (UAR1)
  192. } // Device(ISA)
  193. } // Device(PCI0)
  194. } // Scope(_SB)
  195. Scope(\_SI) {
  196. Method(_SST, 1) {
  197. } // end _SST
  198. } // end _SI
  199. } // DefinitionBlock()
  200. /*-----------------------------------------
  201. Notes Section:
  202. -----------------------------------------*/
  203. /*-----------------------------------------
  204. -------------------------------------------
  205. Lion SDV Hardware power on config :
  206. One Pci Bus (PCI0)
  207. Four Slots (Slot 0,1,2,3)
  208. Slot 0 is actually a plug in card with IFB on it
  209. Slot 1, 2, 3 will take SCSI, Lan and Display
  210. Slot 0 is Device Number 4
  211. Slot 1 is Device Number 5
  212. Slot 2 is Device Number 6
  213. Slot 3 is Device Number 7
  214. Device Number 8 is PID
  215. --------------------------------------------
  216. Lion SDV Power on PCI Interrupt Routing :
  217. (All INTIN's are decimal)
  218. ______________________Interrupt
  219. | _____________________PCI INT A or B or C or D
  220. || ____________________PCI Bus 0 or 1 or 2
  221. ||| ___________________PCI Slot 0 or 1 or 2 or 3 or 4 in the particular segment.
  222. ||||
  223. IA00 -00______________INTIN Pin in the PID (SAPIC)
  224. IB00 -10
  225. IC00 -20
  226. ID00 -30
  227. IA01 -01
  228. IB01 -11
  229. IC01 -21
  230. ID01 -31
  231. IA02 -02
  232. IB02 -12
  233. IC02 -22
  234. ID02 -32
  235. IA03 -03
  236. IB03 -13
  237. IC03 -23
  238. ID03 -33
  239. ----------------------------------------------*/