qemu.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. /* Grand Unified Device Tree */
  2. [
  3. {
  4. /* #0, UNSPECIFIED */
  5. "type": "DEVICE",
  6. "category": "MACHINE",
  7. "driver": "BOCHS",
  8. "name": "BXPC",
  9. "device": "UNSPECIFIED",
  10. "vendor": 0x0000,
  11. "model": 0x0000
  12. },
  13. {
  14. /* #1, PCI bridge */
  15. "type": "DEVICE",
  16. "category": "BRIDGE",
  17. "driver": "PNP0C0F",
  18. "name": "LNKA",
  19. "device": 0x0004,
  20. "vendor": 0x0000,
  21. "model": 0x0000
  22. },
  23. {
  24. /* #2, PCI bridge */
  25. "type": "DEVICE",
  26. "category": "BRIDGE",
  27. "driver": "PNP0C0F",
  28. "name": "LNKS",
  29. "device": 0x0004,
  30. "vendor": 0x0000,
  31. "model": 0x0000
  32. },
  33. {
  34. /* #3 */
  35. "type": "IRQ",
  36. "parent": "LNKS",
  37. "base": 0x9,
  38. "affinity": 0
  39. },
  40. {
  41. /* #4, Timer, IBM */
  42. "type": "DEVICE",
  43. "category": "GENERIC",
  44. "driver": "PNP0103",
  45. "name": "HPET",
  46. "device": 0x0002,
  47. "vendor": 0x1014,
  48. "model": 0x0000
  49. },
  50. {
  51. /* #5 */
  52. "type": "MMIO",
  53. "parent": "HPET",
  54. "base": 0xfed00000,
  55. "size": 1024
  56. },
  57. {
  58. /* #6, Display controller, IBM */
  59. "type": "DEVICE",
  60. "category": "DISPLAY",
  61. "driver": "PNP0A06",
  62. "name": "PRES",
  63. "device": 0x0080,
  64. "vendor": 0x1014,
  65. "model": 0x0000
  66. },
  67. {
  68. /* #7 */
  69. "type": "IOPORT",
  70. "parent": "PRES",
  71. "base": 0xaf00,
  72. "size": 12
  73. },
  74. {
  75. /* #8, amd64 */
  76. "type": "DEVICE",
  77. "category": "PROCESSOR",
  78. "driver": "CORE",
  79. "name": "C000",
  80. "device": 0x0003,
  81. "vendor": 0x0000,
  82. "model": 0x0000
  83. },
  84. {
  85. /* #9 */
  86. "type": "CPUCORE",
  87. "parent": "C000",
  88. "base": 0x0,
  89. "sn": 0
  90. },
  91. {
  92. /* #10, Display controller, IBM */
  93. "type": "DEVICE",
  94. "category": "DISPLAY",
  95. "driver": "PNP0A06",
  96. "name": "GPE0",
  97. "device": 0x0080,
  98. "vendor": 0x1014,
  99. "model": 0x0000
  100. },
  101. {
  102. /* #11 */
  103. "type": "IOPORT",
  104. "parent": "GPE0",
  105. "base": 0xafe0,
  106. "size": 4
  107. },
  108. {
  109. /* #12, Display controller, IBM */
  110. "type": "DEVICE",
  111. "category": "DISPLAY",
  112. "driver": "PNP0A06",
  113. "name": "PHPR",
  114. "device": 0x0080,
  115. "vendor": 0x1014,
  116. "model": 0x0000
  117. },
  118. {
  119. /* #13 */
  120. "type": "IOPORT",
  121. "parent": "PHPR",
  122. "base": 0xae00,
  123. "size": 24
  124. },
  125. {
  126. /* #14, System peripheral */
  127. "type": "DEVICE",
  128. "category": "GENERIC",
  129. "driver": "PNP0C23",
  130. "name": "PM1aC",
  131. "device": 0x0080,
  132. "vendor": 0x0000,
  133. "model": 0x0000
  134. },
  135. {
  136. /* #15 */
  137. "type": "DEFAULT",
  138. "parent": "PM1aC",
  139. "unit": "word",
  140. "data": [0x0033,0x0001,0x0001,0x0000,0x0000]
  141. },
  142. {
  143. /* #16 */
  144. "type": "DEFAULT",
  145. "parent": "PM1aC",
  146. "unit": "word",
  147. "data": [0x0034,0x0002,0x0002,0x0000,0x0000]
  148. },
  149. {
  150. /* #17 */
  151. "type": "DEFAULT",
  152. "parent": "PM1aC",
  153. "unit": "word",
  154. "data": [0x0035,0x0000,0x0000,0x0000,0x0000]
  155. },
  156. {
  157. /* #18, ? */
  158. "type": "DEVICE",
  159. "category": "UNKNOWN",
  160. "driver": "QEMU0002",
  161. "name": "FWCF",
  162. "device": 0x0000,
  163. "vendor": 0x0000,
  164. "model": 0x0000
  165. },
  166. {
  167. /* #19 */
  168. "type": "IOPORT",
  169. "parent": "FWCF",
  170. "base": 0x510,
  171. "size": 12
  172. },
  173. {
  174. /* #20, Keyboard controller, IBM */
  175. "type": "DEVICE",
  176. "category": "INPUT",
  177. "driver": "PNP0303",
  178. "name": "KBD_",
  179. "device": 0x0000,
  180. "vendor": 0x1014,
  181. "model": 0x0000
  182. },
  183. {
  184. /* #21 */
  185. "type": "IRQ",
  186. "parent": "KBD_",
  187. "base": 0x1,
  188. "affinity": 0
  189. },
  190. {
  191. /* #22 */
  192. "type": "IOPORT",
  193. "parent": "KBD_",
  194. "base": 0x60,
  195. "size": 1
  196. },
  197. {
  198. /* #23 */
  199. "type": "IOPORT",
  200. "parent": "KBD_",
  201. "base": 0x64,
  202. "size": 1
  203. },
  204. {
  205. /* #24, Mouse controller, IBM */
  206. "type": "DEVICE",
  207. "category": "INPUT",
  208. "driver": "PNP0F13",
  209. "name": "MOU_",
  210. "device": 0x0002,
  211. "vendor": 0x1014,
  212. "model": 0x0000
  213. },
  214. {
  215. /* #25 */
  216. "type": "IRQ",
  217. "parent": "MOU_",
  218. "base": 0xc,
  219. "affinity": 0
  220. },
  221. {
  222. /* #26, Floppy disk controller, IBM */
  223. "type": "DEVICE",
  224. "category": "STORAGE",
  225. "driver": "PNP0700",
  226. "name": "FLPA",
  227. "device": 0x0002,
  228. "vendor": 0x1014,
  229. "model": 0x0000
  230. },
  231. {
  232. /* #27 */
  233. "type": "DMA",
  234. "parent": "FLPA",
  235. "base": 0x2,
  236. "size": 1
  237. },
  238. {
  239. /* #28 */
  240. "type": "IRQ",
  241. "parent": "FLPA",
  242. "base": 0x6,
  243. "affinity": 0
  244. },
  245. {
  246. /* #29 */
  247. "type": "IOPORT",
  248. "parent": "FLPA",
  249. "base": 0x3f2,
  250. "size": 4
  251. },
  252. {
  253. /* #30 */
  254. "type": "IOPORT",
  255. "parent": "FLPA",
  256. "base": 0x3f7,
  257. "size": 1
  258. },
  259. {
  260. /* #31, Parallel controller, IBM */
  261. "type": "DEVICE",
  262. "category": "COMM",
  263. "driver": "PNP0400",
  264. "name": "LPT1",
  265. "device": 0x0001,
  266. "vendor": 0x1014,
  267. "model": 0x0000
  268. },
  269. {
  270. /* #32 */
  271. "type": "IRQ",
  272. "parent": "LPT1",
  273. "base": 0x7,
  274. "affinity": 0
  275. },
  276. {
  277. /* #33 */
  278. "type": "IOPORT",
  279. "parent": "LPT1",
  280. "base": 0x378,
  281. "size": 8
  282. },
  283. {
  284. /* #34, Serial controller, IBM */
  285. "type": "DEVICE",
  286. "category": "COMM",
  287. "driver": "PNP0501",
  288. "name": "COM1",
  289. "device": 0x0000,
  290. "vendor": 0x1014,
  291. "model": 0x0000
  292. },
  293. {
  294. /* #35 */
  295. "type": "IRQ",
  296. "parent": "COM1",
  297. "base": 0x4,
  298. "affinity": 0
  299. },
  300. {
  301. /* #36 */
  302. "type": "IOPORT",
  303. "parent": "COM1",
  304. "base": 0x3f8,
  305. "size": 8
  306. },
  307. {
  308. /* #37, RTC, IBM */
  309. "type": "DEVICE",
  310. "category": "GENERIC",
  311. "driver": "PNP0B00",
  312. "name": "RTC_",
  313. "device": 0x0003,
  314. "vendor": 0x1014,
  315. "model": 0x0000
  316. },
  317. {
  318. /* #38 */
  319. "type": "IRQ",
  320. "parent": "RTC_",
  321. "base": 0x8,
  322. "affinity": 0
  323. },
  324. {
  325. /* #39 */
  326. "type": "IOPORT",
  327. "parent": "RTC_",
  328. "base": 0x70,
  329. "size": 8
  330. }
  331. ]