|
HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
|
#include "fswCommonTypes.h"Go to the source code of this file.
Data Structures | |
| struct | StatusInfo |
| PCI Bus Status and MFB Hardware Readiness Telemetry Structure. More... | |
Functions | |
| void | pci_init_hook (StatusInfo *mrStatus) |
| pci_init_hook. | |
Inter File
| void pci_init_hook | ( | StatusInfo * | mrStatus | ) |
pci_init_hook.
Initializes the PCI device drivers for the current CPU and updates the status register for MFB1 and MFB2 devices. It also retrieves the PCI device driver for specified slots.
| [in] | mrStatus | A pointer to the StatusInfo structure where the MFB1 and MFB2 status values will be set. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_INTER_PCI_INIT_HOOK_01 | HLR_IO_36773 | WHEN the pointer mrStatus is NULL (invalid), the pci_init_hook() function SHALL abort processing and return immediately without modifying hardware registers. | inter.c:pci_init_hook() | Test | Closed |
| LLR_INTER_PCI_INIT_HOOK_02 | HLR_IO_36773 | WHEN the pointer mrStatus is valid, the pci_init_hook() function SHALL zero-initialize struct mrStatus and enable PCIe memory space and bus mastering on all configured PCI switch devices. | inter.c:pci_init_hook() | Test | Closed |
| LLR_INTER_PCI_INIT_HOOK_03 | HLR_IO_36773 | WHEN PCIe command registers are configured, the pci_init_hook() function SHALL read vendor identifiers and configuration ready registers for MFB1 and MFB2 devices. | inter.c:pci_init_hook() | Test | Closed |
| LLR_INTER_PCI_INIT_HOOK_04 | HLR_IO_36773 | WHEN mrStatus->cfgReady1 is equal to INTER_PEX_CFG_READY_VALUE and mrStatus->vendorId1 matches INTER_MFB1_VENDOR_ID, the pci_init_hook() function SHALL assert MFB1 PCIe readiness by setting mrStatus->mfb1Status to 1. | inter.c:pci_init_hook() | Test | Closed |
| LLR_INTER_PCI_INIT_HOOK_05 | HLR_IO_36773 | WHEN mrStatus->cfgReady2 is equal to INTER_PEX_CFG_READY_VALUE and mrStatus->vendorId2 matches INTER_MFB2_VENDOR_ID, the pci_init_hook() function SHALL assert MFB2 PCIe readiness by setting mrStatus->mfb2Status to 1. | inter.c:pci_init_hook() | Test | Closed |