Changeset 101577 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Oct 24, 2023 10:16:55 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImplConfigArmV8.cpp
r101574 r101577 289 289 290 290 vrc = RTFdtNodeAddF(hFdt, "memory@%RX32", 0x40000000); VRC(); 291 vrc = RTFdtNodePropertyAddCellsU32(hFdt, "reg", 4, 292 0, 0x40000000, 293 (uint32_t)(cbRam >> 32), cbRam & UINT32_MAX); VRC(); 291 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 2, 0x40000000, cbRam); VRC(); 294 292 vrc = RTFdtNodePropertyAddString( hFdt, "device_type", "memory"); VRC(); 295 293 vrc = RTFdtNodeFinalize(hFdt); VRC(); … … 409 407 vrc = RTFdtNodeAddF(hFdt, "intc@%RX32", 0x08000000); VRC(); 410 408 vrc = RTFdtNodePropertyAddU32( hFdt, "phandle", idPHandleIntCtrl); VRC(); 411 vrc = RTFdtNodePropertyAddCellsU 32(hFdt, "reg", 8,412 0 , 0x08000000, 0, 0x10000,413 0 , 0x080a0000, 0, 0xf60000);VRC();414 vrc = RTFdtNodePropertyAddU32( hFdt, "#redistributor-regions", 1);VRC();409 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 4, 410 0x08000000, 0x10000, /* Distributor */ 411 0x080a0000, 0xf60000); /* Re-Distributor */ VRC(); 412 vrc = RTFdtNodePropertyAddU32( hFdt, "#redistributor-regions", 1); VRC(); 415 413 vrc = RTFdtNodePropertyAddString( hFdt, "compatible", "arm,gic-v3"); VRC(); 416 414 vrc = RTFdtNodePropertyAddEmpty( hFdt, "ranges"); VRC(); … … 446 444 vrc = RTFdtNodeAddF(hFdt, "fw-cfg@%RX32", 0x09020000); VRC(); 447 445 vrc = RTFdtNodePropertyAddEmpty( hFdt, "dma-coherent"); VRC(); 448 vrc = RTFdtNodePropertyAddCellsU 32(hFdt, "reg", 4, 0, 0x09020000, 0, 0x18);VRC();446 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 2, 0x09020000, 0x18); VRC(); 449 447 vrc = RTFdtNodePropertyAddString( hFdt, "compatible", "qemu,fw-cfg-mmio"); VRC(); 450 448 vrc = RTFdtNodeFinalize(hFdt); VRC(); … … 463 461 vrc = RTFdtNodeAddF(hFdt, "flash@%RX32", 0); VRC(); 464 462 vrc = RTFdtNodePropertyAddU32( hFdt, "bank-width", 4); VRC(); 465 vrc = RTFdtNodePropertyAddCellsU 32(hFdt, "reg", 8,466 0, 0 , 0, 0x04000000,467 0 , 0x04000000, 0, 0x04000000);VRC();463 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 4, 464 0, 0x04000000, /* First region (EFI). */ 465 0x04000000, 0x04000000); /* Second region (NVRAM). */ VRC(); 468 466 vrc = RTFdtNodePropertyAddString( hFdt, "compatible", "cfi-flash"); VRC(); 469 467 vrc = RTFdtNodeFinalize(hFdt); VRC(); … … 497 495 idPHandleAbpPClk, idPHandleAbpPClk); VRC(); 498 496 vrc = RTFdtNodePropertyAddCellsU32(hFdt, "interrupts", 3, 0x00, 0x01, 0x04); VRC(); 499 vrc = RTFdtNodePropertyAddCellsU 32(hFdt, "reg", 4, 0, 0x09000000, 0, 0x1000);VRC();497 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 2, 0x09000000, _4K); VRC(); 500 498 vrc = RTFdtNodePropertyAddStringList(hFdt, "compatible", 2, 501 499 "arm,pl011", "arm,primecell"); VRC(); … … 551 549 vrc = RTFdtNodePropertyAddStringList(hFdt, "compatible", 2, 552 550 "arm,pl061", "arm,primecell"); VRC(); 553 vrc = RTFdtNodePropertyAddCellsU 32(hFdt, "reg", 4, 0, 0x09030000, 0, 0x1000);VRC();551 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 2, 0x09030000, _4K); VRC(); 554 552 vrc = RTFdtNodeFinalize(hFdt); VRC(); 555 553 … … 599 597 0x2000000, 0, 0x10000000, 0, 0x10000000, 0, 600 598 0x2eff0000); VRC(); 601 vrc = RTFdtNodePropertyAddCellsU 32(hFdt, "reg", 4, 0, 0x3f000000, 0, 0x1000000);VRC();599 vrc = RTFdtNodePropertyAddCellsU64(hFdt, "reg", 2, 0x3f000000, 0x1000000); VRC(); 602 600 /** @todo msi-map */ 603 601 vrc = RTFdtNodePropertyAddEmpty( hFdt, "dma-coherent"); VRC();
Note:
See TracChangeset
for help on using the changeset viewer.