Modify device virtual address base address
This commit is contained in:
parent
d7b78ecd2a
commit
f339d35b16
|
@ -66,9 +66,11 @@ extern "C" {
|
|||
*/
|
||||
#define USB3_DWC3_ADDR_GAP 0x01000
|
||||
|
||||
#define USB3_VIRADDR_BASE 0x0000002000000000ULL
|
||||
#define USB3_0_VIRADDR_BASE USB3_VIRADDR_BASE
|
||||
#define USB3_1_VIRADDR_BASE USB3_VIRADDR_BASE + USB3_ADDR_OFFSET_UPPER_BOUND + USB3_DWC3_ADDR_GAP
|
||||
/* Deivce memory layout */
|
||||
#define DEV_PHYMEM_BASE (0x00000000F0000000ULL)
|
||||
#define DEV_VRTMEM_BASE (0x00000020F0000000ULL)
|
||||
#define USB3_0_VIRADDR_BASE (DEV_VRTMEM_BASE - DEV_PHYMEM_BASE + USB3_0_BASE_ADDR)
|
||||
#define USB3_1_VIRADDR_BASE (DEV_VRTMEM_BASE - DEV_PHYMEM_BASE + USB3_1_BASE_ADDR)
|
||||
|
||||
#define USB3_0_INTERRUPT_NO 201
|
||||
#define USB3_1_INTERRUPT_NO 202
|
||||
|
|
Loading…
Reference in New Issue