From: Oliver Kurth Date: Wed, 29 Aug 2018 20:29:44 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~441 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f4fd75e83720fd8bc96a487d642d5730dc89c8;p=thirdparty%2Fopen-vm-tools.git Common header file change 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 980bdadbf..f9855cee1 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-2017 VMware, Inc. All rights reserved. + * Copyright (C) 2006-2018 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 @@ -204,6 +204,12 @@ #define EXC_VE 20 // Virtualization exception - VT only. #define EXC_SX 30 // Security exception (SVM only). +/* Bitmap of the exception vectors that have associated error codes. */ +#define EXC_WITH_ERR_CODE_MASK ((1u << EXC_DF) | (1u << EXC_TS) | \ + (1u << EXC_NP) | (1u << EXC_SS) | \ + (1u << EXC_GP) | (1u << EXC_PF) | \ + (1u << EXC_AC)) + /* * eflag/rflag definitions. */