记录各个device在内存中的布局、地址位置
More...
Go to the source code of this file.
记录各个device在内存中的布局、地址位置
- Date
- 23.05.26
- Author
- xin
- Version
- 0.2 @status Stable
◆ CLINT
◆ CLINT_MTIME
#define CLINT_MTIME (CLINT + 0xBFF8) |
◆ CLINT_MTIMECMP
#define CLINT_MTIMECMP |
( |
|
hartid | ) |
(CLINT + 0x4000 + 8*(hartid)) |
◆ KERNBASE
#define KERNBASE 0x80020000L |
◆ KSTACK
◆ PHYSTOP
#define PHYSTOP (KERNBASE + 16*1024*1024) |
◆ PLIC
◆ PLIC_MCLAIM
#define PLIC_MCLAIM |
( |
|
hart | ) |
(PLIC + 0x200004 + (hart)*0x2000) |
◆ PLIC_MENABLE
#define PLIC_MENABLE |
( |
|
hart | ) |
(PLIC + 0x2000 + (hart)*0x100) |
◆ PLIC_MPRIORITY
#define PLIC_MPRIORITY |
( |
|
hart | ) |
(PLIC + 0x200000 + (hart)*0x2000) |
◆ PLIC_PENDING
#define PLIC_PENDING (PLIC + 0X1000) |
◆ PLIC_PRIORITY
#define PLIC_PRIORITY (PLIC + 0x0) |
◆ PLIC_SCLAIM
#define PLIC_SCLAIM |
( |
|
hart | ) |
(PLIC + 0x201004 + (hart)*0x2000) |
◆ PLIC_SENABLE
#define PLIC_SENABLE |
( |
|
hart | ) |
(PLIC + 0x2080 + (hart)*0x100) |
◆ PLIC_SPRIORITY
#define PLIC_SPRIORITY |
( |
|
hart | ) |
(PLIC + 0x201000 + (hart)*0x2000) |
◆ TRAMPOLINE
◆ TRAPFRAME
◆ UART0
#define UART0 0x10000000L |
◆ UART0_IRQ
◆ VIRTIO0
#define VIRTIO0 0x10001000 |
◆ VIRTIO0_IRQ