|
感谢各位:
重点在问题2上:
以下是
OEMAddressTable
;-----------------------------------------------------------------------------------
; Virtual(cached) Phys Addr #MB
;-----------------------------------------------------------------------------------
IF SDRAM_SIZE_128_MB = "1"
DCD SDRAM_BASE_C_VIRTUAL, SDRAM_BASE_PHYSICAL, 128 ; (96C0 0000, A000 0000) everything SDRAM-related (eboot RAM, eboot RAMIMG, nk RAM, nk RAMIMAGE, nk MEMDEFS, ethdbg buffs)
ELSE
DCD SDRAM_BASE_C_VIRTUAL, SDRAM_BASE_PHYSICAL, 64 ; (96C0 0000, A000 0000) everything SDRAM-related (eboot RAM, eboot RAMIMG, nk RAM, nk RAMIMAGE, nk MEMDEFS, ethdbg buffs)
ENDIF
DCD IM_STORAGE_BASE_C_VIRTUAL, IM_STORAGE_BASE_PHYSICAL, 1 ; (8400 0000, 5C00 0000) Internal Memory-Storage
DCD IM_CONTROL_BASE_C_VIRTUAL, IM_CONTROL_BASE_PHYSICAL, 1 ; (8410 0000, 5800 0000) Internal Memory-Control
DCD USBH_BASE_C_VIRTUAL, USBH_BASE_PHYSICAL, 1 ; (8420 0000, 4C00 0000) USB Host
DCD MEMC_BASE_C_VIRTUAL, MEMC_BASE_PHYSICAL, 1 ; (8430 0000, 4800 0000) Memory Controller
DCD LCD_BASE_C_VIRTUAL, LCD_BASE_PHYSICAL, 1 ; (8440 0000, 4400 0000) LCDC
DCD PERIF_BASE_C_VIRTUAL, PERIF_BASE_PHYSICAL, 32 ; (8450 0000, 4000 0000) Mem-Mapped Registers (perifs)
DCD PCMCIA_S1_CMN_C_VIRTUAL, PCMCIA_S1_CMN_PHYSICAL, 64 ; (8650 0000, 3C00 0000) PCMCIA S1 COMMON MEM Space
DCD PCMCIA_S1_ATTR_C_VIRTUAL, PCMCIA_S1_ATTR_PHYSICAL, 32 ; (8A50 0000, 3800 0000) PCMCIA S1 ATTRIBUTE MEM Space
DCD PCMCIA_S1_IO_C_VIRTUAL, PCMCIA_S1_IO_PHYSICAL, 32 ; (8C50 0000, 3000 0000) PCMCIA S1 I/O Space
DCD PCMCIA_S0_CMN_C_VIRTUAL, PCMCIA_S0_CMN_PHYSICAL, 64 ; (8E50 0000, 2C00 0000) PCMCIA S0 COMMON MEM Space
DCD PCMCIA_S0_ATTR_C_VIRTUAL, PCMCIA_S0_ATTR_PHYSICAL, 32 ; (9250 0000, 2800 0000) PCMCIA S0 ATTRIBUTE MEM Space
DCD PCMCIA_S0_IO_C_VIRTUAL, PCMCIA_S0_IO_PHYSICAL, 32 ; (9450 0000, 2000 0000) PCMCIA S0 I/O Space
DCD ZBANK_BASE_C_VIRTUAL, ZBANK_BASE_PHYSICAL, 1 ; (9650 0000, E000 0000) Zero-Bank (in RSVD slot)- No Phy Mem needed to back up
DCD CMRA_BASE_C_VIRTUAL, CMRA_BASE_PHYSICAL, 1 ; (9660 0000, 5000 0000) Camera Peripheral Interface
; Mainstone-Specific Mappings
;
DCD BOOT_FLASH_BASE_C_VIRTUAL, BOOT_FLASH_BASE_PHYSICAL, 32 ; (8000 0000, 0000 0000) nCS0: BOOT ROM
DCD CS2_L_BASE_C_VIRTUAL, CS2_L_BASE_PHYSICAL, 8 ; (8200 0000, 0800 0000) nCS2
DCD CS2_H_BASE_C_VIRTUAL, CS2_H_BASE_PHYSICAL, 8 ; (8280 0000, 0A00 0000) nCS2
DCD CS3_L_BASE_C_VIRTUAL, CS3_L_BASE_PHYSICAL, 8 ; (8300 0000, 0C00 0000) nCS3
DCD CS3_H_BASE_C_VIRTUAL, CS3_H_BASE_PHYSICAL, 8 ; (8380 0000, 0E00 0000) nCS3
DCD CS4_L_BASE_C_VIRTUAL, CS4_L_BASE_PHYSICAL, 1 ; (9670 0000, 1000 0000) nCS4
DCD CS4_H_BASE_C_VIRTUAL, CS4_H_BASE_PHYSICAL, 1 ; (9680 0000, 1200 0000) nCS4
DCD CS5_L_BASE_C_VIRTUAL, CS5_L_BASE_PHYSICAL, 1 ; (9690 0000, 1400 0000) nCS5
DCD CS5_H_BASE_C_VIRTUAL, CS5_H_BASE_PHYSICAL, 1 ; (96A0 0000, 1600 0000) nCS5
DCD 0x00000000, 0x00000000, 0 ; End of Table (#MB MUST BE ZERO!)
; ------------------------------------------------------------------
END
|
|