From: Katy Feng Date: Tue, 22 Aug 2023 18:11:43 +0000 (-0700) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.3.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447f17dfb33a69a43a6d4ad1b5e486a6b20a6f77;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/x86_basic_defs.h b/open-vm-tools/lib/include/x86_basic_defs.h index 93f320675..e02b30fff 100644 --- a/open-vm-tools/lib/include/x86_basic_defs.h +++ b/open-vm-tools/lib/include/x86_basic_defs.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2006-2021 VMware, Inc. All rights reserved. + * Copyright (C) 2006-2021,2023 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -275,4 +275,8 @@ typedef enum x86_FLAGS { #define BNDCFG_RSVD 0x00000ffc #define BNDCFG_BDBASE CONST64U(0xfffffffffffff000) +/* Reset state of RIP. */ +#define RESET_RIP 0xfff0 +#define RESET_RIP_TDX 0xfffffff0 /* Reset RIP for TDX protected mode boot. */ + #endif // ifndef _VM_BASIC_DEFS_H_