From: Kruti Pendharkar Date: Tue, 25 Feb 2025 01:42:24 +0000 (-0800) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-13.1.0~212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd2b9c026b38eede2869e6bd05f86becc69b1b21;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_asm_arm64.h b/open-vm-tools/lib/include/vm_basic_asm_arm64.h index b0cd412c4..fb92b4423 100644 --- a/open-vm-tools/lib/include/vm_basic_asm_arm64.h +++ b/open-vm-tools/lib/include/vm_basic_asm_arm64.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (c) 2013-2024 Broadcom. All Rights Reserved. + * Copyright (c) 2013-2025 Broadcom. All Rights Reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This program is free software; you can redistribute it and/or modify it @@ -41,7 +41,7 @@ #define _VM_BASIC_ASM_ARM64_H_ #include "vm_basic_defs.h" -#if defined VMKERNEL && defined VMK_ARM_NVSIM +#if (defined VMKERNEL || defined VMKBOOT) && defined VMK_ARM_NVSIM #include "vmk_arm_nvsim.h" #endif @@ -379,7 +379,7 @@ GET_CURRENT_PC(void) *---------------------------------------------------------------------- */ -#if defined VMKERNEL && defined VMK_ARM_NVSIM +#if (defined VMKERNEL || defined VMKBOOT) && defined VMK_ARM_NVSIM #define MRS(name) ({ \ uint64 val; \ if (CONC(VMK_ARM_NVSIM_, name) == 0) { \ @@ -418,7 +418,7 @@ GET_CURRENT_PC(void) *---------------------------------------------------------------------- */ -#if defined VMKERNEL && defined VMK_ARM_NVSIM +#if (defined VMKERNEL || defined VMKBOOT) && defined VMK_ARM_NVSIM #define MSR(name, val) do { \ if (CONC(VMK_ARM_NVSIM_, name) == 0) { \ asm volatile ("msr " XSTR(name) ", %0" :: "r" (val) : "memory"); \