Fix aarch64 to not initialize gicv2 unless QNX.

pull/220/head
David Garske 2022-07-15 11:35:15 -07:00 committed by Daniele Lacamera
parent cb5b39c79e
commit b19eef5b06
1 changed files with 2 additions and 0 deletions

View File

@ -70,8 +70,10 @@ void RAMFUNCTION do_boot(const uint32_t *app_offset)
asm volatile("mov x5, xzr");
#endif
#ifndef NO_QNX
/* Initialize GICv2 for Kernel */
gicv2_init_secure();
#endif
/* Zero registers x1, x2, x3 */
asm volatile("mov x3, xzr");