DataHoarder
d9094e7d83
All checks were successful
continuous-integration/drone/push Build is passing
- Added asm/registers.asm and asm/api.asm with some used registers on the platform - Added embedded resources into build
83 lines
2.3 KiB
NASM
83 lines
2.3 KiB
NASM
; Definition of registers found on FM10000 ASIP
|
|
; Based on Intel datasheet and BSD-3 code.
|
|
|
|
.constant FATAL_CODE, %0x0
|
|
.constant LAST_FATAL_CODE, %0x1
|
|
|
|
.constant SOFT_RESET, %0x3
|
|
.constant DEVICE_CFG, %0x4
|
|
.constant RESET_CFG, %0x5
|
|
.constant WATCHDOG_CFG, %0x6
|
|
|
|
.constant MGMT_SCRATCH_0, %0x8
|
|
.constant MGMT_SCRATCH_1, %0x9
|
|
|
|
.constant VITAL_PRODUCT_DATA, %0x304
|
|
|
|
.constant GLOBAL_INTERRUPT_DETECT, %0x400
|
|
|
|
.constant INTERRUPT_MASK_BSM, %0x442
|
|
|
|
.constant CHIP_VERSION, %0x452
|
|
|
|
.constant BSM_SCRATCH_START, %0x800
|
|
.constant BSM_SCRATCH_END, %0xBFF
|
|
|
|
.constant BSM_ARGS, %0x000C01
|
|
|
|
.constant BSM_ADDR_OFFSET_0, %0x000C04
|
|
.constant BSM_ADDR_OFFSET_1, %0x000C05
|
|
.constant BSM_ADDR_OFFSET_2, %0x000C06
|
|
.constant BSM_ADDR_OFFSET_3, %0x000C07
|
|
|
|
.constant BSM_COUNTER_0, %0x000C08
|
|
.constant BSM_COUNTER_1, %0x000C09
|
|
|
|
.constant BIST_CTRL_0, %0x000C10
|
|
.constant BIST_CTRL_1, %0x000C11
|
|
|
|
.constant REI_CTRL, %0x000C12
|
|
.constant REI_STAT, %0x000C13
|
|
|
|
.constant GPIO_CFG, %0x000C15
|
|
.constant GPIO_DATA, %0x000C16
|
|
.constant GPIO_IP, %0x000C17
|
|
.constant GPIO_IM, %0x000C18
|
|
.constant PLL_PCIE_CTRL, %0x2241
|
|
.constant PLL_PCIE_STAT, %0x2242
|
|
.constant SBUS_PCIE_CFG, %0x2243
|
|
.constant SBUS_PCIE_COMMAND, %0x2244
|
|
.constant SBUS_PCIE_REQUEST, %0x2245
|
|
.constant SBUS_PCIE_RESPONSE, %0x2246
|
|
.constant SBUS_PCIE_SPICO_IN, %0x2247
|
|
.constant SBUS_PCIE_SPICO_OUT, %0x2248
|
|
.constant SBUS_PCIE_IP, %0x2249
|
|
.constant SBUS_PCIE_IM, %0x224a
|
|
|
|
.constant PCIE_XPLL_CTRL, %0x3000
|
|
.constant PCIE_CLK_CTRL, %0x3001
|
|
.constant PCIE_CLK_CTRL_2, %0x3002
|
|
.constant PCIE_CLKMON_RATIO_CFG, %0x3003
|
|
.constant PCIE_CLKMON_TOLERANCE_CFG, %0x3004
|
|
.constant PCIE_CLKMON_DEADLINES_CFG, %0x3005
|
|
.constant PCIE_CLK_STAT, %0x3006
|
|
.constant PCIE_CLK_IP, %0x3007
|
|
.constant PCIE_CLK_IM, %0x3008
|
|
.constant PCIE_WARM_RESET_DELAY, %0x3009
|
|
|
|
.constant PORTS_MGMT_BASE_ADDRESS, %0xE8000
|
|
.constant PLL_EPL_CTRL, %0xE8000
|
|
.constant PLL_EPL_STAT, %0xE8001
|
|
.constant PLL_FABRIC_CTRL, %0xE8002
|
|
.constant PLL_FABRIC_STAT, %0xE8003
|
|
.constant PLL_FABRIC_LOCK, %0xE8004
|
|
.constant SBUS_EPL_CFG, %0xE8005
|
|
.constant SBUS_EPL_COMMAND, %0xE8006
|
|
.constant SBUS_EPL_REQUEST, %0xE8007
|
|
.constant SBUS_EPL_RESPONSE, %0xE8008
|
|
.constant SBUS_EPL_SPICO_IN, %0xE8009
|
|
.constant SBUS_EPL_SPICO_OUT, %0xE800a
|
|
.constant SBUS_EPL_IP, %0xE800b
|
|
.constant SBUS_EPL_IM, %0xE800c
|
|
|
|
.constant PM_CLKOBS_CTRL, %0xE8012 |