Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion loader/src/aarch64/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ typedef void (*sel4_entry)(
void arch_jump_to_kernel(int logical_cpu)
{
/* seL4 always expects the current logical CPU number in TPIDR_EL1 */
asm volatile("msr TPIDR_EL1, %0" :: "r"(logical_cpu));
asm volatile("msr TPIDR_EL1, %0" :: "r"((uint64_t) logical_cpu));
asm volatile("isb" ::: "memory");

((sel4_entry)(loader_data->kernel_entry))(
Expand Down
Loading