bsps/raspberrypi: Add SEV Instruction for RPi SMP firmware changes.

The Pi firmware added a wfe(wait for event), the cores 1-3 wait
for the start address being written to the mailbox register, followed
by a SEV poke to the mailbox that acts as a wfe wake-up event.
This commit is contained in:
pranav
2021-08-09 16:43:22 +05:30
committed by Joel Sherrill
parent 574cd83b5d
commit 1c06068196

View File

@@ -42,6 +42,7 @@ bool _CPU_SMP_Start_processor( uint32_t cpu_index )
if (cpu_index != cpu_index_self) {
BCM2835_REG(BCM2836_MAILBOX_3_WRITE_SET_BASE + 0x10 * cpu_index) = (uint32_t)_start;
_ARM_Send_event();
/*
* Wait for secondary processor to complete its basic initialization so