mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
HV: Rename functions beginning with "_"
V1: In order to remove MISRA C violations for rule 219S, rename functions, macros whose name starts with "_". Also removed some __mmio functions because they are duplicates and are not used anywhere. Renamed functions like __assert, to asm_assert, because they were only wrappers around asm calls. V2: Over and above the changes on V1, modified bitmap functions names to lock (corresponding to unlock) introduced in V1 Signed-off-by: Arindam Roy <arindam.roy@intel.com>
This commit is contained in:
@@ -231,7 +231,7 @@ static void show_host_call_trace(uint64_t rsp, uint64_t rbp_arg, uint16_t pcpu_i
|
||||
printf("\r\n");
|
||||
}
|
||||
|
||||
void __assert(int32_t line, const char *file, const char *txt)
|
||||
void asm_assert(int32_t line, const char *file, const char *txt)
|
||||
{
|
||||
uint16_t pcpu_id = get_cpu_id();
|
||||
uint64_t rsp = cpu_rsp_get();
|
||||
|
||||
Reference in New Issue
Block a user