Changeset 451 for trunk/hal/tsar_mips32/drivers/soclib_pic.h
- Timestamp:
- Jul 5, 2018, 3:45:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_pic.h
r432 r451 25 25 #define _SOCLIB_PIC_H_ 26 26 27 #include <hal_ types.h>27 #include <hal_kernel_types.h> 28 28 29 29 /**** Forward declarations ****/ … … 167 167 168 168 /****************************************************************************************** 169 * This blocking function disables all input IRQs in the IOPIC controller, and 170 * disables all HWIs, WTIs, and PTIs in the XCU (LAPIC) controllers, for all cores, 171 * in all clusters. 169 * This function disables all input IRQs in the external IOPIC controller. 172 170 * It must be called by a thread running in the cluster containing the PIC chdev. 173 171 ****************************************************************************************** … … 177 175 178 176 /***************************************************************************************** 179 * This function allocates memory from local cluster for the SOCLIBPIC core extensions177 * This function allocates memory from local cluster for the local PIC core extensions 180 178 * of all cores contained in the cluster, initializes the two HWI, WTI interrupt vectors 181 179 * as empty, and registers - for each core - the pointer in core descriptor. 182 * Then it allocates memory from local cluster for the SOCLIB PIC cluster extension, 183 * to implement the XCU WTI allocator, and registers the pointer in cluster manager. 184 * It access the local XCU component to get actual number of HWI / WTI / PTI. 180 * Then it allocates memory from local cluster for the PIC cluster extension, 181 * and registers the pointer in cluster manager. 182 * It accesses the local XCU component to get actual number of HWI / WTI / PTI. 183 * Finally, it disables all HWI/WTI/PTI interrupts for all cores by writing in the 184 * relevant mask registers of the local XCU component. 185 185 ***************************************************************************************** 186 186 * @ xcu_base : local pointer on XCU controller segment base.
Note: See TracChangeset
for help on using the changeset viewer.