3ac6315ede
Origin https://github.com/polarfire-soc/platform Signed-off-by: Conor Paxton <conor.paxton@microchip.com> |
||
---|---|---|
.. | ||
cpu_types.h | ||
hal.h | ||
hal_assert.h | ||
hal_irq.c | ||
hal_version.h | ||
hw_macros.h | ||
hw_reg_access.S | ||
hw_reg_access.h | ||
readme.md |
readme.md
===============================================================================
hal folder
===============================================================================
The HAL folder provides support code for use by the bare metal drivers for the fabric IP cores. The HAL folder contains files using a combination of C and assembly source code.
The hal folder should be included in a PolarFire SoC Embedded project under the platform directory. See location in the drawing below.
The hal folder contains:
- register access functions
- assert macros
Project directory strucutre, showing where hal folder sits.
+---------+ +-----------+ | src +----->|application| +---------+ | +-----------+ | | +-----------+ +-->|modules | | +-----------+ | | +-----------+ +---------+ +-->|platform +---->|config | +-----------+ | +---------+ | | +---------+ +->|drivers | | +---------+ | | +---------+ +->|hal | | +---------+ | | +---------+ +->|mpfs_hal | +---------+