|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_GetHostCurrentLogBufferIndex (int32_t cardIndex, int32_t *p_outbufIndex) |
| Retrieves the index for the buffer holding current POST Log (FRAM) results for the Host processor (T2080).
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_GetHostResult (int32_t cardIndex, int32_t bufIndex, naibrd_post_mb_test_t testType, uint32_t *p_outresult) |
| Retrieves the 32-bit value associated with the POST results for the Host processor (T2080) test type.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_GetCurrentLogBufferIndex (int32_t cardIndex, int32_t *p_outbufIndex, uint32_t *p_outresponseCode) |
| Retrieves the index for the buffer holding current POST Log (FRAM) results for the platform processor.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_CopyPlatformResultToScratchpad (int32_t cardIndex, int32_t bufIndex, uint32_t *p_outresponseCode) |
| Copies all (50) 32-bit registers of Platform POST results for the Buffer Index specified to the Scratchpad Registers so that the POST results can be retrieved from the Memory Register Read API. After calling this function, make a separate call to naibrd_POST_GetPlatformResultFromScratchpad to read the result from the Scratchpad register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_GetPlatformResultFromScratchpad (int32_t cardIndex, naibrd_post_mb_test_t testType, uint32_t *p_outresult) |
| This function is used in conjunction with the naibrd_POST_CopyPlatformResultToScratchpad() API which copies the POST data to Scratchpad registers. This routine will retrieve the test results from the Scratchpad registers.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_CopyModuleResultToScratchpad (int32_t cardIndex, int32_t module, int32_t bufIndex, uint32_t *p_outresponseCode) |
| Copies the (24) 32-bit registers of Module POST results for the Buffer Index specified to the Scratchpad Registers so that the POST results can be retrieved from the Memory Register Read API. After calling this function, make a separate call to naibrd_POST_GetModuleResultFromScratchpad to read the result from the Scratchpad register.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_GetModuleResultFromScratchpad (int32_t cardIndex, naibrd_post_module_test_t testType, uint32_t *p_outresult) |
| This function is used in conjunction with the naibrd_POST_CopyModuleResultToScratchpad() API which copies the module POST data to Scratchpad registers. This routine will retrieve the test results from the Scratchpad registers.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_ClearPlatformResult (int32_t cardIndex, int32_t bufIndex, uint32_t *p_outresponseCode) |
| Clears all (50) 32-bit registers of Platform POST results for the Buffer Index specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI | naibrd_POST_ClearModuleResult (int32_t cardIndex, int32_t module, int32_t bufIndex, uint32_t *p_outresponseCode) |
| Clears all (24) 32-bit registers of Module POST results for the Buffer Index and module specified.
|
|
NAIBRDFUNC nai_status_t NAIAPI naibrd_POST_CopyModuleResultToScratchpad |
( |
int32_t | cardIndex, |
|
|
int32_t | module, |
|
|
int32_t | bufIndex, |
|
|
uint32_t * | p_outresponseCode ) |
Copies the (24) 32-bit registers of Module POST results for the Buffer Index specified to the Scratchpad Registers so that the POST results can be retrieved from the Memory Register Read API. After calling this function, make a separate call to naibrd_POST_GetModuleResultFromScratchpad to read the result from the Scratchpad register.
Important Note - This function works in conjunction with the MBCore application running on Motherboard Processor that the Log (FRAM) device is connected to. This function can be used to retrieve the Log (FRAM) device on a Slave board when access is via the native bus (PCI/PCIe/VME) or when accessing the Log (FRAM) device for the processor (Zynq or Ultrascale) on a board that has a host processor (PPC/Intel - 68PPC2, 67PPC2, etc).
- Parameters
-
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
bufIndex | : (Input) Buffer index to retrieve the POST Log results. |
p_outresponseCode | : (Output) Response code associated with command requested. |
- Returns
- NAI_SUCCESS
- NAI_ERROR_INVALID_VALUE when invalid parameter is specified.
NAIBRDFUNC nai_status_t NAIAPI naibrd_POST_CopyPlatformResultToScratchpad |
( |
int32_t | cardIndex, |
|
|
int32_t | bufIndex, |
|
|
uint32_t * | p_outresponseCode ) |
Copies all (50) 32-bit registers of Platform POST results for the Buffer Index specified to the Scratchpad Registers so that the POST results can be retrieved from the Memory Register Read API. After calling this function, make a separate call to naibrd_POST_GetPlatformResultFromScratchpad to read the result from the Scratchpad register.
Important Note - This function works in conjunction with the MBCore application running on Motherboard Processor that the Log (FRAM) device is connected to. This function can be used to retrieve the Log (FRAM) device on a Slave board when access is via the native bus (PCI/PCIe/VME) or when accessing the Log (FRAM) device for the processor (Zynq or Ultrascale) on a board that has a host processor (PPC/Intel - 68PPC2, 67PPC2, etc).
- Parameters
-
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
bufIndex | : (Input) Buffer index to retrieve the POST Log results. |
p_outresponseCode | : (Output) Response code associated with command requested. |
- Returns
- NAI_SUCCESS
- NAI_ERROR_INVALID_VALUE when invalid parameter is specified.
NAIBRDFUNC nai_status_t NAIAPI naibrd_POST_GetCurrentLogBufferIndex |
( |
int32_t | cardIndex, |
|
|
int32_t * | p_outbufIndex, |
|
|
uint32_t * | p_outresponseCode ) |
Retrieves the index for the buffer holding current POST Log (FRAM) results for the platform processor.
Important Note - This function works in conjunction with the MBCore application running on Motherboard Processor that the Log (FRAM) device is connected to. This function can be used to retrieve the Log (FRAM) device on a Slave board when access is via the native bus (PCI/PCIe/VME) or when accessing the Log (FRAM) device for the processor (Zynq or Ultrascale) on a board that has a host processor (PPC/Intel - 68PPC2, 67PPC2, etc).
- Parameters
-
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
p_outbufIndex | : (Output) Buffer index holding the current POST Log results. |
p_outresponseCode | : (Output) Response code associated with command requested. |
- Returns
- NAI_SUCCESS
- NAI_ERROR_INVALID_VALUE when invalid parameter is specified.
NAIBRDFUNC nai_status_t NAIAPI naibrd_POST_GetHostResult |
( |
int32_t | cardIndex, |
|
|
int32_t | bufIndex, |
|
|
naibrd_post_mb_test_t | testType, |
|
|
uint32_t * | p_outresult ) |
Retrieves the 32-bit value associated with the POST results for the Host processor (T2080) test type.
Important Note - This function works in conjunction with the MBCore application running on Motherboard Processor that the Log (FRAM) device is connected to. This function can be used to retrieve the Log (FRAM) device on a Slave board when access is via the native bus (PCI/PCIe/VME) or when accessing the Log (FRAM) device for the processor (Zynq or Ultrascale) on a board that has a host processor (PPC/Intel - 68PPC2, 67PPC2, etc).
- Parameters
-
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
bufIndex | : (Input) Buffer index to retrieve the POST Log results (0 = Buffer 1, 1 = Buffer 2). |
testType | : (Input) Motherboard Test Type (refer to naibrd_post_mb_test_t enumeration). |
p_outresult | : (Output) POST Log results. |
- Returns
- NAI_SUCCESS
- NAI_ERROR_INVALID_VALUE when invalid parameter is specified.