From: Oliver Kurth Date: Wed, 7 Feb 2018 00:32:39 +0000 (-0800) Subject: Changes to common header files; not applicable to open-vm-tools. X-Git-Tag: stable-10.3.0~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c358e5e181b95d872da9ffcc943cc147ae0584f8;p=thirdparty%2Fopen-vm-tools.git Changes to common header files; not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_atomic.h b/open-vm-tools/lib/include/vm_atomic.h index 94eaf1d31..23fda3b32 100644 --- a/open-vm-tools/lib/include/vm_atomic.h +++ b/open-vm-tools/lib/include/vm_atomic.h @@ -3843,6 +3843,7 @@ MAKE_ATOMIC_TYPE(Ptr, 32, void const *, void *, uintptr_t) #endif MAKE_ATOMIC_TYPE(Int, 32, int, int, int) MAKE_ATOMIC_TYPE(Bool, 8, Bool, Bool, Bool) +MAKE_ATOMIC_TYPE(PageIndex, 32, unsigned, unsigned, unsigned) /* * Define arbitrary sized bit vector to be used by diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index 209673d73..6f813e321 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 1998-2017 VMware, Inc. All rights reserved. + * Copyright (C) 1998-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 @@ -538,6 +538,7 @@ typedef uint64 BPN; #define UINT64_2_BPN(u) ((BPN)(u)) #define BPN_2_UINT64(b) ((uint64)(b)) +typedef uint32 PageCount; typedef uint32 PageNum; typedef unsigned MemHandle; typedef unsigned int IoHandle;