diff options
| author | Evan Lojewski <github@meklort.com> | 2019-06-14 22:58:54 -0600 |
|---|---|---|
| committer | Evan Lojewski <github@meklort.com> | 2019-06-14 22:58:54 -0600 |
| commit | d460f67cbfd01dd12ea7ab019a0eca43899f287f (patch) | |
| tree | 1525a05db056dc0675cf162de3bfb0ecf35b1905 /include/APE_APE.h | |
| parent | 12984bad4ee89630a08ea9d0c5b36d047c7fed3c (diff) | |
| download | bcm5719-ortega-d460f67cbfd01dd12ea7ab019a0eca43899f287f.tar.gz bcm5719-ortega-d460f67cbfd01dd12ea7ab019a0eca43899f287f.zip | |
Regenerate headers with top level print routine and update names for shared type registers.
Diffstat (limited to 'include/APE_APE.h')
| -rw-r--r-- | include/APE_APE.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/include/APE_APE.h b/include/APE_APE.h index b8926ea..2545aae 100644 --- a/include/APE_APE.h +++ b/include/APE_APE.h @@ -2029,18 +2029,27 @@ typedef struct APE_t { Status.r32.setComponentOffset(0x4); GpioMessage.r32.setComponentOffset(0x8); Event.r32.setComponentOffset(0xc); + RxbufoffsetFunc0.r32.setName("RxbufoffsetFunc0"); RxbufoffsetFunc0.r32.setComponentOffset(0x14); + RxbufoffsetFunc1.r32.setName("RxbufoffsetFunc1"); RxbufoffsetFunc1.r32.setComponentOffset(0x18); + TxToNetDoorbellFunc0.r32.setName("TxToNetDoorbellFunc0"); TxToNetDoorbellFunc0.r32.setComponentOffset(0x1c); TxState0.r32.setComponentOffset(0x20); Mode2.r32.setComponentOffset(0x2c); Status2.r32.setComponentOffset(0x30); LockGrantObsolete.r32.setComponentOffset(0x4c); + RxPoolModeStatus0.r32.setName("RxPoolModeStatus0"); RxPoolModeStatus0.r32.setComponentOffset(0x78); + RxPoolModeStatus1.r32.setName("RxPoolModeStatus1"); RxPoolModeStatus1.r32.setComponentOffset(0x7c); + RxPoolRetire0.r32.setName("RxPoolRetire0"); RxPoolRetire0.r32.setComponentOffset(0x80); + RxPoolRetire1.r32.setName("RxPoolRetire1"); RxPoolRetire1.r32.setComponentOffset(0x88); + TxToNetPoolModeStatus0.r32.setName("TxToNetPoolModeStatus0"); TxToNetPoolModeStatus0.r32.setComponentOffset(0x8c); + TxToNetBufferAllocator0.r32.setName("TxToNetBufferAllocator0"); TxToNetBufferAllocator0.r32.setComponentOffset(0x90); TxToNetBufferReturn0.r32.setComponentOffset(0x94); TxToNetBufferRing0.r32.setComponentOffset(0x98); @@ -2054,22 +2063,84 @@ typedef struct APE_t { OtpAddr.r32.setComponentOffset(0xf0); OtpReadData.r32.setComponentOffset(0xf8); CpuStatus.r32.setComponentOffset(0x108); + TxToNetPoolModeStatus1.r32.setName("TxToNetPoolModeStatus1"); TxToNetPoolModeStatus1.r32.setComponentOffset(0x110); + TxToNetBufferAllocator1.r32.setName("TxToNetBufferAllocator1"); TxToNetBufferAllocator1.r32.setComponentOffset(0x114); + TxToNetDoorbellFunc1.r32.setName("TxToNetDoorbellFunc1"); TxToNetDoorbellFunc1.r32.setComponentOffset(0x120); + RxbufoffsetFunc2.r32.setName("RxbufoffsetFunc2"); RxbufoffsetFunc2.r32.setComponentOffset(0x200); + TxToNetDoorbellFunc2.r32.setName("TxToNetDoorbellFunc2"); TxToNetDoorbellFunc2.r32.setComponentOffset(0x204); + RxPoolModeStatus2.r32.setName("RxPoolModeStatus2"); RxPoolModeStatus2.r32.setComponentOffset(0x214); + RxPoolRetire2.r32.setName("RxPoolRetire2"); RxPoolRetire2.r32.setComponentOffset(0x218); + TxToNetPoolModeStatus2.r32.setName("TxToNetPoolModeStatus2"); TxToNetPoolModeStatus2.r32.setComponentOffset(0x220); + TxToNetBufferAllocator2.r32.setName("TxToNetBufferAllocator2"); TxToNetBufferAllocator2.r32.setComponentOffset(0x224); + RxbufoffsetFunc3.r32.setName("RxbufoffsetFunc3"); RxbufoffsetFunc3.r32.setComponentOffset(0x300); + TxToNetDoorbellFunc3.r32.setName("TxToNetDoorbellFunc3"); TxToNetDoorbellFunc3.r32.setComponentOffset(0x304); + RxPoolModeStatus3.r32.setName("RxPoolModeStatus3"); RxPoolModeStatus3.r32.setComponentOffset(0x314); + RxPoolRetire3.r32.setName("RxPoolRetire3"); RxPoolRetire3.r32.setComponentOffset(0x318); + TxToNetPoolModeStatus3.r32.setName("TxToNetPoolModeStatus3"); TxToNetPoolModeStatus3.r32.setComponentOffset(0x320); + TxToNetBufferAllocator3.r32.setName("TxToNetBufferAllocator3"); TxToNetBufferAllocator3.r32.setComponentOffset(0x324); } + void print() + { + Mode.print(); + Status.print(); + GpioMessage.print(); + Event.print(); + RxbufoffsetFunc0.print(); + RxbufoffsetFunc1.print(); + TxToNetDoorbellFunc0.print(); + TxState0.print(); + Mode2.print(); + Status2.print(); + LockGrantObsolete.print(); + RxPoolModeStatus0.print(); + RxPoolModeStatus1.print(); + RxPoolRetire0.print(); + RxPoolRetire1.print(); + TxToNetPoolModeStatus0.print(); + TxToNetBufferAllocator0.print(); + TxToNetBufferReturn0.print(); + TxToNetBufferRing0.print(); + Tick1mhz.print(); + Tick1khz.print(); + Tick10hz.print(); + Gpio.print(); + Gint.print(); + OtpControl.print(); + OtpStatus.print(); + OtpAddr.print(); + OtpReadData.print(); + CpuStatus.print(); + TxToNetPoolModeStatus1.print(); + TxToNetBufferAllocator1.print(); + TxToNetDoorbellFunc1.print(); + RxbufoffsetFunc2.print(); + TxToNetDoorbellFunc2.print(); + RxPoolModeStatus2.print(); + RxPoolRetire2.print(); + TxToNetPoolModeStatus2.print(); + TxToNetBufferAllocator2.print(); + RxbufoffsetFunc3.print(); + TxToNetDoorbellFunc3.print(); + RxPoolModeStatus3.print(); + RxPoolRetire3.print(); + TxToNetPoolModeStatus3.print(); + TxToNetBufferAllocator3.print(); + } typedef uint32_t (*callback_t)(uint32_t, uint32_t, void*); callback_t mIndexReadCallback; void* mIndexReadCallbackArgs; |

