OpenSSD Cosmos+ Platform Firmware  0.0.2
The firmware of Cosmos+ OpenSSD Platform for TOSHIBA nand flash module.
bsp.h File Reference
#include "memory.h"
Include dependency graph for bsp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  XScuGic
 

Macros

#define XPAR_NVME_CTRL_0_BASEADDR   0x83C00000
 
#define XPAR_IODELAY_IF_0_BASEADDR   0x83C50000
 
#define XPAR_IODELAY_IF_1_BASEADDR   0x83C30000
 
#define XPAR_IODELAY_IF_0_DQS_BASEADDR   0x83C20000
 
#define XPAR_IODELAY_IF_1_DQS_BASEADDR   0x83C40000
 
#define XPAR_T4NFC_HLPER_0_BASEADDR   0x43C00000
 
#define XPAR_T4NFC_HLPER_1_BASEADDR   0x43C10000
 
#define XPAR_T4NFC_HLPER_2_BASEADDR   0x43C20000
 
#define XPAR_T4NFC_HLPER_3_BASEADDR   0x43C30000
 
#define XPAR_T4NFC_HLPER_4_BASEADDR   0x43C40000
 
#define XPAR_T4NFC_HLPER_5_BASEADDR   0x43C50000
 
#define XPAR_T4NFC_HLPER_6_BASEADDR   0x43C60000
 
#define XPAR_T4NFC_HLPER_7_BASEADDR   0x43C70000
 
#define XPAR_AXI_BRAM_CTRL_0_S_AXI_BASEADDR   0x45000000U
 
#define XPAR_AXI_BRAM_CTRL_1_S_AXI_BASEADDR   0x45100000U
 
#define XPAR_AXI_BRAM_CTRL_2_S_AXI_BASEADDR   0x45200000U
 
#define XPAR_AXI_BRAM_CTRL_3_S_AXI_BASEADDR   0x45300000U
 
#define XPAR_AXI_BRAM_CTRL_4_S_AXI_BASEADDR   0x45400000U
 
#define XPAR_AXI_BRAM_CTRL_5_S_AXI_BASEADDR   0x45500000U
 
#define XPAR_AXI_BRAM_CTRL_6_S_AXI_BASEADDR   0x45600000U
 
#define XPAR_AXI_BRAM_CTRL_7_S_AXI_BASEADDR   0x45700000U
 
#define XIL_EXCEPTION_IRQ   NULL
 
#define XIL_EXCEPTION_ID_INT   NULL
 
#define Xil_ICacheEnable(...)   void_func()
 
#define Xil_ICacheDisable(...)   void_func()
 
#define Xil_DCacheEnable(...)   void_func()
 
#define Xil_DCacheDisable(...)   void_func()
 
#define Xil_EnableMMU(...)   void_func()
 
#define Xil_DisableMMU(...)   void_func()
 
#define Xil_ExceptionInit(...)   void_func()
 
#define Xil_ExceptionEnable(...)   void_func()
 
#define Xil_ExceptionEnableMask(...)   void_func()
 
#define Xil_ExceptionRegisterHandler(...)   void_func()
 
#define Xil_SetTlbAttributes(...)   void_func()
 
#define XScuGic_Enable(...)   void_func()
 
#define XScuGic_Connect(...)   void_func()
 
#define XScuGic_LookupConfig(...)   void_func()
 
#define XScuGic_CfgInitialize(...)   void_func()
 
#define XPAR_SCUGIC_SINGLE_DEVICE_ID
 

Typedefs

typedef struct XScuGicXScuGic_Config
 
typedef struct XScuGic Xil_ExceptionHandler
 

Functions

char inbyte () __attribute__((unused))
 
void * void_func () __attribute__((unused))
 

Macro Definition Documentation

◆ Xil_DCacheDisable

#define Xil_DCacheDisable (   ...)    void_func()

Definition at line 41 of file bsp.h.

◆ Xil_DCacheEnable

#define Xil_DCacheEnable (   ...)    void_func()

Definition at line 40 of file bsp.h.

◆ Xil_DisableMMU

#define Xil_DisableMMU (   ...)    void_func()

Definition at line 43 of file bsp.h.

◆ Xil_EnableMMU

#define Xil_EnableMMU (   ...)    void_func()

Definition at line 42 of file bsp.h.

◆ XIL_EXCEPTION_ID_INT

#define XIL_EXCEPTION_ID_INT   NULL

Definition at line 36 of file bsp.h.

◆ XIL_EXCEPTION_IRQ

#define XIL_EXCEPTION_IRQ   NULL

Definition at line 35 of file bsp.h.

◆ Xil_ExceptionEnable

#define Xil_ExceptionEnable (   ...)    void_func()

Definition at line 45 of file bsp.h.

◆ Xil_ExceptionEnableMask

#define Xil_ExceptionEnableMask (   ...)    void_func()

Definition at line 46 of file bsp.h.

◆ Xil_ExceptionInit

#define Xil_ExceptionInit (   ...)    void_func()

Definition at line 44 of file bsp.h.

◆ Xil_ExceptionRegisterHandler

#define Xil_ExceptionRegisterHandler (   ...)    void_func()

Definition at line 47 of file bsp.h.

◆ Xil_ICacheDisable

#define Xil_ICacheDisable (   ...)    void_func()

Definition at line 39 of file bsp.h.

◆ Xil_ICacheEnable

#define Xil_ICacheEnable (   ...)    void_func()

Definition at line 38 of file bsp.h.

◆ Xil_SetTlbAttributes

#define Xil_SetTlbAttributes (   ...)    void_func()

Definition at line 48 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_0_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_0_S_AXI_BASEADDR   0x45000000U

Definition at line 26 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_1_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_1_S_AXI_BASEADDR   0x45100000U

Definition at line 27 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_2_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_2_S_AXI_BASEADDR   0x45200000U

Definition at line 28 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_3_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_3_S_AXI_BASEADDR   0x45300000U

Definition at line 29 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_4_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_4_S_AXI_BASEADDR   0x45400000U

Definition at line 30 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_5_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_5_S_AXI_BASEADDR   0x45500000U

Definition at line 31 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_6_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_6_S_AXI_BASEADDR   0x45600000U

Definition at line 32 of file bsp.h.

◆ XPAR_AXI_BRAM_CTRL_7_S_AXI_BASEADDR

#define XPAR_AXI_BRAM_CTRL_7_S_AXI_BASEADDR   0x45700000U

Definition at line 33 of file bsp.h.

◆ XPAR_IODELAY_IF_0_BASEADDR

#define XPAR_IODELAY_IF_0_BASEADDR   0x83C50000

Definition at line 12 of file bsp.h.

◆ XPAR_IODELAY_IF_0_DQS_BASEADDR

#define XPAR_IODELAY_IF_0_DQS_BASEADDR   0x83C20000

Definition at line 14 of file bsp.h.

◆ XPAR_IODELAY_IF_1_BASEADDR

#define XPAR_IODELAY_IF_1_BASEADDR   0x83C30000

Definition at line 13 of file bsp.h.

◆ XPAR_IODELAY_IF_1_DQS_BASEADDR

#define XPAR_IODELAY_IF_1_DQS_BASEADDR   0x83C40000

Definition at line 15 of file bsp.h.

◆ XPAR_NVME_CTRL_0_BASEADDR

#define XPAR_NVME_CTRL_0_BASEADDR   0x83C00000

Definition at line 11 of file bsp.h.

◆ XPAR_SCUGIC_SINGLE_DEVICE_ID

#define XPAR_SCUGIC_SINGLE_DEVICE_ID

Definition at line 53 of file bsp.h.

◆ XPAR_T4NFC_HLPER_0_BASEADDR

#define XPAR_T4NFC_HLPER_0_BASEADDR   0x43C00000

Definition at line 17 of file bsp.h.

◆ XPAR_T4NFC_HLPER_1_BASEADDR

#define XPAR_T4NFC_HLPER_1_BASEADDR   0x43C10000

Definition at line 18 of file bsp.h.

◆ XPAR_T4NFC_HLPER_2_BASEADDR

#define XPAR_T4NFC_HLPER_2_BASEADDR   0x43C20000

Definition at line 19 of file bsp.h.

◆ XPAR_T4NFC_HLPER_3_BASEADDR

#define XPAR_T4NFC_HLPER_3_BASEADDR   0x43C30000

Definition at line 20 of file bsp.h.

◆ XPAR_T4NFC_HLPER_4_BASEADDR

#define XPAR_T4NFC_HLPER_4_BASEADDR   0x43C40000

Definition at line 21 of file bsp.h.

◆ XPAR_T4NFC_HLPER_5_BASEADDR

#define XPAR_T4NFC_HLPER_5_BASEADDR   0x43C50000

Definition at line 22 of file bsp.h.

◆ XPAR_T4NFC_HLPER_6_BASEADDR

#define XPAR_T4NFC_HLPER_6_BASEADDR   0x43C60000

Definition at line 23 of file bsp.h.

◆ XPAR_T4NFC_HLPER_7_BASEADDR

#define XPAR_T4NFC_HLPER_7_BASEADDR   0x43C70000

Definition at line 24 of file bsp.h.

◆ XScuGic_CfgInitialize

#define XScuGic_CfgInitialize (   ...)    void_func()

Definition at line 52 of file bsp.h.

◆ XScuGic_Connect

#define XScuGic_Connect (   ...)    void_func()

Definition at line 50 of file bsp.h.

◆ XScuGic_Enable

#define XScuGic_Enable (   ...)    void_func()

Definition at line 49 of file bsp.h.

◆ XScuGic_LookupConfig

#define XScuGic_LookupConfig (   ...)    void_func()

Definition at line 51 of file bsp.h.

Typedef Documentation

◆ Xil_ExceptionHandler

typedef struct XScuGic Xil_ExceptionHandler

◆ XScuGic_Config

typedef struct XScuGic * XScuGic_Config

Function Documentation

◆ inbyte()

char inbyte ( )

Definition at line 4 of file bsp.c.

5{
6 pr_info("Waiting for keyboard input: ");
7 return getc(stdin);
8}
#define pr_info(fmt,...)
Definition: debug.h:86
Here is the caller graph for this function:

◆ void_func()

void * void_func ( )

Definition at line 9 of file bsp.c.

9{ return NULL; }