mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
baremetal aarch64: create C version of multicore.S as well
Attempted to do the same for arm, but it failed.
This commit is contained in:
12
lkmc/arm.h
12
lkmc/arm.h
@@ -1,8 +1,20 @@
|
||||
#ifndef LKMC_ARM_H
|
||||
#define LKMC_ARM_H
|
||||
|
||||
#include <lkmc/arm_aarch64.h>
|
||||
|
||||
#if defined(__ASSEMBLER__)
|
||||
|
||||
.syntax unified
|
||||
|
||||
#else
|
||||
|
||||
void lkmc_arm_psci_cpu_on(
|
||||
uint32_t target_cpu,
|
||||
uint32_t entry_point_address,
|
||||
uint32_t context_id
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
#define LKMC_ASSERT_EQ(reg, const) \
|
||||
|
||||
Reference in New Issue
Block a user