thermosphere: pl011 uart refactor

This commit is contained in:
TuxSH
2020-01-10 19:45:31 +00:00
parent 57548e67fb
commit a552c254e0
10 changed files with 224 additions and 135 deletions

View File

@@ -35,6 +35,8 @@
#define GIC_IRQID_SEC_PHYS_HYP_TIMER GIC_IRQID_SPURIOUS // SBSA: 20. Unimplemented
#define GIC_IRQID_SEC_VIRT_HYP_TIMER GIC_IRQID_SPURIOUS // SBSA: 19. Unimplemented
#define GIC_IRQID_UART 33
static inline void initGicV2Pointers(ArmGicV2 *gic)
{
gic->gicd = (volatile ArmGicV2Distributor *)0x08000000ull;