]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Drop suffix 64 in public except vm_basic_types
authorOliver Kurth <okurth@vmware.com>
Tue, 5 Jun 2018 22:47:37 +0000 (15:47 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 5 Jun 2018 22:47:37 +0000 (15:47 -0700)
This change renames PPN64, TPPN64, PgNum64 and PgCnt64 as PPN, TPPN,
PageNum and PageCnt respectively in the public directory.

open-vm-tools/lib/include/vmci_defs.h
open-vm-tools/modules/shared/vmmemctl/balloon_def.h

index 8fcd8cd156867211296533d33f739d51f7a47210..9ec3781f61a37d3247534cc7f164a644a4d8f08a 100644 (file)
@@ -521,7 +521,7 @@ typedef struct VMCIQueueHeader {
 
 
 static INLINE PPN32
-VMCI_PPN64_TO_PPN32(PPN64 ppn)
+VMCI_PPN64_TO_PPN32(PPN ppn)
 {
    ASSERT(ppn <= MAX_UINT32);
    return (PPN32)ppn;
index 95e0f6068979b6a13b01915273694b6a68ed2988..12a360d69b02326a6ac81353f9236774eb0ace03 100644 (file)
@@ -306,7 +306,7 @@ Balloon_BatchSetStatus(BalloonBatchPage *batchPage,      // IN
    PA64 pa = Balloon_BatchGetPA(batchPage, idx);
    ASSERT(idx < BALLOON_BATCH_MAX_ENTRIES);
    ASSERT(error <= BALLOON_ERROR_BUSY && error >= BALLOON_FAILURE);
-   batchPage->entries[idx] = pa | (PPN64)error;
+   batchPage->entries[idx] = pa | (PPN)error;
 }
 
 MY_ASSERTS(BALLOON_BATCH_SIZE,