qemu_full.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. /* Grand Unified Device Tree */
  2. [
  3. {
  4. /* #0, DESKTOP */
  5. "type": "DEVICE",
  6. "category": "MACHINE",
  7. "driver": "BOCHS",
  8. "name": "BXPC",
  9. "device": "DESKTOP",
  10. "vendor": 0x0000,
  11. "model": 0x0000
  12. },
  13. {
  14. /* #1 */
  15. "type": "RESVMEM",
  16. "base": 0xfed00000,
  17. "size": 1024
  18. },
  19. {
  20. /* #2, PCI bridge */
  21. "type": "DEVICE",
  22. "category": "BRIDGE",
  23. "driver": "PNP0C0F",
  24. "name": "LNKA",
  25. "device": 0x0004,
  26. "vendor": 0x0000,
  27. "model": 0x0000
  28. },
  29. {
  30. /* #3, PCI bridge, IBM */
  31. "type": "DEVICE",
  32. "category": "BRIDGE",
  33. "driver": "PNP0C0F",
  34. "name": "PNP0103",
  35. "device": 0x0004,
  36. "vendor": 0x1014,
  37. "model": 0x0000
  38. },
  39. {
  40. /* #4 */
  41. "type": "IRQ",
  42. "parent": "PNP0103",
  43. "base": 0x9,
  44. "affinity": 0
  45. },
  46. {
  47. /* #5, Timer, IBM */
  48. "type": "DEVICE",
  49. "category": "GENERIC",
  50. "driver": "PNP0103",
  51. "name": "HPET",
  52. "device": 0x0002,
  53. "vendor": 0x1014,
  54. "model": 0x0000
  55. },
  56. {
  57. /* #6 */
  58. "type": "MMIO",
  59. "parent": "HPET",
  60. "base": 0xfed00000,
  61. "size": 1024
  62. },
  63. {
  64. /* #7, Display controller, IBM */
  65. "type": "DEVICE",
  66. "category": "DISPLAY",
  67. "driver": "PNP0A06",
  68. "name": "PRES",
  69. "device": 0x0080,
  70. "vendor": 0x1014,
  71. "model": 0x0000
  72. },
  73. {
  74. /* #8, amd64 */
  75. "type": "DEVICE",
  76. "category": "PROCESSOR",
  77. "driver": "CORE",
  78. "name": "C000",
  79. "device": 0x0003,
  80. "vendor": 0x0000,
  81. "model": 0x0000
  82. },
  83. {
  84. /* #9 */
  85. "type": "CPUCORE",
  86. "parent": "C000",
  87. "base": 0x0,
  88. "sn": 0
  89. },
  90. {
  91. /* #10 */
  92. "type": "CPUCORE",
  93. "parent": "C000",
  94. "base": 0x0,
  95. "sn": 1
  96. },
  97. {
  98. /* #11 */
  99. "type": "CPUCORE",
  100. "parent": "C000",
  101. "base": 0x0,
  102. "sn": 2
  103. },
  104. {
  105. /* #12 */
  106. "type": "CPUCORE",
  107. "parent": "C000",
  108. "base": 0x0,
  109. "sn": 3
  110. },
  111. {
  112. /* #13 */
  113. "type": "CPUCORE",
  114. "parent": "C000",
  115. "base": 0x0,
  116. "sn": 4
  117. },
  118. {
  119. /* #14 */
  120. "type": "CPUCORE",
  121. "parent": "C000",
  122. "base": 0x0,
  123. "sn": 5
  124. },
  125. {
  126. /* #15 */
  127. "type": "CPUCORE",
  128. "parent": "C000",
  129. "base": 0x0,
  130. "sn": 6
  131. },
  132. {
  133. /* #16 */
  134. "type": "CPUCORE",
  135. "parent": "C000",
  136. "base": 0x0,
  137. "sn": 7
  138. },
  139. {
  140. /* #17 */
  141. "type": "MMIO",
  142. "parent": "C000",
  143. "base": 0xfee00000,
  144. "size": 1024
  145. },
  146. {
  147. /* #18, Display controller, IBM */
  148. "type": "DEVICE",
  149. "category": "DISPLAY",
  150. "driver": "PNP0A06",
  151. "name": "QEMU0002",
  152. "device": 0x0080,
  153. "vendor": 0x1014,
  154. "model": 0x0000
  155. },
  156. {
  157. /* #19, Multimedia video controller */
  158. "type": "DEVICE",
  159. "category": "MULTIMEDIA",
  160. "driver": "QEMU0002",
  161. "name": "FWCF",
  162. "device": 0x0000,
  163. "vendor": 0x0000,
  164. "model": 0x0000
  165. },
  166. {
  167. /* #20 */
  168. "type": "IOPORT",
  169. "parent": "FWCF",
  170. "unit": "m128",
  171. "base": 0x510,
  172. "size": 16
  173. },
  174. {
  175. /* #21, Keyboard controller, IBM */
  176. "type": "DEVICE",
  177. "category": "INPUT",
  178. "driver": "PNP0303",
  179. "name": "KBD_",
  180. "device": 0x0000,
  181. "vendor": 0x1014,
  182. "model": 0x0000
  183. },
  184. {
  185. /* #22 */
  186. "type": "IRQ",
  187. "parent": "KBD_",
  188. "base": 0x1,
  189. "affinity": 0
  190. },
  191. {
  192. /* #23 */
  193. "type": "IOPORT",
  194. "parent": "KBD_",
  195. "base": 0x60,
  196. "size": 1
  197. },
  198. {
  199. /* #24 */
  200. "type": "IOPORT",
  201. "parent": "KBD_",
  202. "base": 0x64,
  203. "size": 1
  204. },
  205. {
  206. /* #25, Mouse controller, IBM */
  207. "type": "DEVICE",
  208. "category": "INPUT",
  209. "driver": "PNP0F13",
  210. "name": "MOU_",
  211. "device": 0x0002,
  212. "vendor": 0x1014,
  213. "model": 0x0000
  214. },
  215. {
  216. /* #26 */
  217. "type": "IRQ",
  218. "parent": "MOU_",
  219. "base": 0xc,
  220. "affinity": 0
  221. },
  222. {
  223. /* #27, Floppy disk controller, IBM */
  224. "type": "DEVICE",
  225. "category": "STORAGE",
  226. "driver": "PNP0700",
  227. "name": "FLPA",
  228. "device": 0x0002,
  229. "vendor": 0x1014,
  230. "model": 0x0000
  231. },
  232. {
  233. /* #28 */
  234. "type": "DMA",
  235. "parent": "FLPA",
  236. "base": 0x2,
  237. "size": 1
  238. },
  239. {
  240. /* #29 */
  241. "type": "IRQ",
  242. "parent": "FLPA",
  243. "base": 0x6,
  244. "affinity": 0
  245. },
  246. {
  247. /* #30 */
  248. "type": "IOPORT",
  249. "parent": "FLPA",
  250. "unit": "dword",
  251. "base": 0x3f2,
  252. "size": 4
  253. },
  254. {
  255. /* #31 */
  256. "type": "IOPORT",
  257. "parent": "FLPA",
  258. "unit": "dword",
  259. "base": 0x3f7,
  260. "size": 4
  261. },
  262. {
  263. /* #32, Parallel controller, IBM */
  264. "type": "DEVICE",
  265. "category": "COMM",
  266. "driver": "PNP0400",
  267. "name": "LPT1",
  268. "device": 0x0001,
  269. "vendor": 0x1014,
  270. "model": 0x0000
  271. },
  272. {
  273. /* #33 */
  274. "type": "IRQ",
  275. "parent": "LPT1",
  276. "base": 0x7,
  277. "affinity": 0
  278. },
  279. {
  280. /* #34 */
  281. "type": "IOPORT",
  282. "parent": "LPT1",
  283. "unit": "dword",
  284. "base": 0x378,
  285. "size": 4
  286. },
  287. {
  288. /* #35, Serial controller, IBM */
  289. "type": "DEVICE",
  290. "category": "COMM",
  291. "driver": "PNP0501",
  292. "name": "COM1",
  293. "device": 0x0000,
  294. "vendor": 0x1014,
  295. "model": 0x0000
  296. },
  297. {
  298. /* #36 */
  299. "type": "IRQ",
  300. "parent": "COM1",
  301. "base": 0x4,
  302. "affinity": 0
  303. },
  304. {
  305. /* #37 */
  306. "type": "IOPORT",
  307. "parent": "COM1",
  308. "unit": "dword",
  309. "base": 0x3f8,
  310. "size": 4
  311. },
  312. {
  313. /* #38, RTC, IBM */
  314. "type": "DEVICE",
  315. "category": "GENERIC",
  316. "driver": "PNP0B00",
  317. "name": "RTC_",
  318. "device": 0x0003,
  319. "vendor": 0x1014,
  320. "model": 0x0000
  321. },
  322. {
  323. /* #39 */
  324. "type": "IRQ",
  325. "parent": "RTC_",
  326. "base": 0x8,
  327. "affinity": 0
  328. },
  329. {
  330. /* #40 */
  331. "type": "IOPORT",
  332. "parent": "RTC_",
  333. "base": 0x70,
  334. "size": 1
  335. },
  336. {
  337. /* #41, System peripheral */
  338. "type": "DEVICE",
  339. "category": "GENERIC",
  340. "driver": "PNP0C20",
  341. "name": "SMI_CMD",
  342. "device": 0x0080,
  343. "vendor": 0x0000,
  344. "model": 0x0000
  345. },
  346. {
  347. /* #42 */
  348. "type": "IRQ",
  349. "parent": "SMI_CMD",
  350. "base": 0x9,
  351. "affinity": 0
  352. },
  353. {
  354. /* #43 */
  355. "type": "DEFAULT",
  356. "parent": "SMI_CMD",
  357. "unit": "byte",
  358. "data": [0xa0,0xa1]
  359. },
  360. {
  361. /* #44 */
  362. "type": "IOPORT",
  363. "parent": "SMI_CMD",
  364. "base": 0xb2,
  365. "size": 1
  366. },
  367. {
  368. /* #45, System peripheral */
  369. "type": "DEVICE",
  370. "category": "GENERIC",
  371. "driver": "PNP0C21",
  372. "name": "PM1a_EVT_BLK",
  373. "device": 0x0080,
  374. "vendor": 0x0000,
  375. "model": 0x0000
  376. },
  377. {
  378. /* #46 */
  379. "type": "IOPORT",
  380. "parent": "PM1a_EVT_BLK",
  381. "unit": "word",
  382. "base": 0x800,
  383. "size": 2
  384. },
  385. {
  386. /* #47, System peripheral */
  387. "type": "DEVICE",
  388. "category": "GENERIC",
  389. "driver": "PNP0C23",
  390. "name": "PM1a_CNT_BLK",
  391. "device": 0x0080,
  392. "vendor": 0x0000,
  393. "model": 0x0000
  394. },
  395. {
  396. /* #48 */
  397. "type": "IOPORT",
  398. "parent": "PM1a_CNT_BLK",
  399. "unit": "word",
  400. "base": 0x804,
  401. "size": 2
  402. },
  403. {
  404. /* #49, Timer */
  405. "type": "DEVICE",
  406. "category": "GENERIC",
  407. "driver": "PNP0C26",
  408. "name": "PM_TMR_BLK",
  409. "device": 0x0002,
  410. "vendor": 0x0000,
  411. "model": 0x0000
  412. },
  413. {
  414. /* #50 */
  415. "type": "IOPORT",
  416. "parent": "PM_TMR_BLK",
  417. "unit": "dword",
  418. "base": 0x808,
  419. "size": 4
  420. },
  421. {
  422. /* #51, System peripheral */
  423. "type": "DEVICE",
  424. "category": "GENERIC",
  425. "driver": "PNP0C27",
  426. "name": "GPE0_BLK",
  427. "device": 0x0080,
  428. "vendor": 0x0000,
  429. "model": 0x0000
  430. },
  431. {
  432. /* #52 */
  433. "type": "IOPORT",
  434. "parent": "GPE0_BLK",
  435. "base": 0x820,
  436. "size": 1
  437. },
  438. {
  439. /* #53, PIC, IBM */
  440. "type": "DEVICE",
  441. "category": "GENERIC",
  442. "driver": "ACPI0009",
  443. "name": "APIC",
  444. "device": 0x0000,
  445. "vendor": 0x1014,
  446. "model": 0x0000
  447. },
  448. {
  449. /* #54 */
  450. "type": "IRQ",
  451. "parent": "APIC",
  452. "unit": "byte",
  453. "data": [0x00,0x18]
  454. },
  455. {
  456. /* #55 */
  457. "type": "MMIO",
  458. "parent": "APIC",
  459. "base": 0xfec00000,
  460. "size": 256
  461. },
  462. {
  463. /* #56 */
  464. "type": "MMIO",
  465. "parent": "APIC",
  466. "base": 0xfec01000,
  467. "size": 256
  468. }
  469. ]