[vbox-dev] a few fixup's for linux-modules code

Lars Johannsen vbox at lars-johannsen.dk
Tue Jan 11 20:01:28 GMT 2011


against: http://www.virtualbox.org/svn/vbox//trunk@35437

copyright/license MIT or whatever may be convenient for you

 Lars

From 403c853deef7b5c4fe4631236f1afbcf064f52a3 Mon Sep 17 00:00:00 2001
From: Lars Johannsen <laj at lars-johannsen.dk>
Date: Tue, 11 Jan 2011 18:59:15 +0100
Subject: [PATCH 1/4] VBox/x86.h: typo in typedef X86PDPEAMD64BITS *PC...

---
 include/VBox/x86.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/VBox/x86.h b/include/VBox/x86.h
index 7e55699..bf65d45 100644
--- a/include/VBox/x86.h
+++ b/include/VBox/x86.h
@@ -1730,7 +1730,7 @@ typedef struct X86PDPEAMD64BITS
 /** Pointer to a page directory pointer table entry. */
 typedef X86PDPEAMD64BITS *PX86PDPEAMD64BITS;
 /** Pointer to a const page directory pointer table entry. */
-typedef const X86PDPEBITS *PCX86PDPEAMD64BITS;
+typedef const X86PDPEAMD64BITS *PCX86PDPEAMD64BITS;
 
 /**
  * Page directory pointer table entry.
-- 
1.7.0

From 8c484b3ac83d72a032b1d60a4c62460945df57df Mon Sep 17 00:00:00 2001
From: Lars Johannsen <laj at lars-johannsen.dk>
Date: Tue, 11 Jan 2011 19:00:32 +0100
Subject: [PATCH 2/4] SUPDRVMEMREFTYPE: typo in name of 32-bit sizing hack

---
 src/VBox/HostDrivers/Support/SUPDrvInternal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/VBox/HostDrivers/Support/SUPDrvInternal.h 
b/src/VBox/HostDrivers/Support/SUPDrvInternal.h
index f880d23..a392937 100644
--- a/src/VBox/HostDrivers/Support/SUPDrvInternal.h
+++ b/src/VBox/HostDrivers/Support/SUPDrvInternal.h
@@ -219,7 +219,7 @@ typedef enum
     /** Locked memory (r3 mapping only) allocated by the support driver. */
     MEMREF_TYPE_PAGE,
     /** Blow the type up to 32-bit and mark the end. */
-    MEMREG_TYPE_32BIT_HACK = 0x7fffffff
+    MEMREF_TYPE_32BIT_HACK = 0x7fffffff
 } SUPDRVMEMREFTYPE, *PSUPDRVMEMREFTYPE;
 
 
-- 
1.7.0

From 2c098b56547fd567f6567fb6fe1d26eea87767f7 Mon Sep 17 00:00:00 2001
From: Lars Johannsen <laj at lars-johannsen.dk>
Date: Tue, 11 Jan 2011 19:01:49 +0100
Subject: [PATCH 3/4] SUPDrv-linux.c: dub include <irpt/mem.h>

---
 src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c 
b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
index fc83cdd..ac419af 100644
--- a/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
+++ b/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
@@ -60,8 +60,6 @@
 # include <linux/platform_device.h>
 #endif
 
-#include <iprt/mem.h>
-
 
 /*******************************************************************************
 *   Defined Constants And Macros                                               
*
-- 
1.7.0

From 109ee69149bf54cb15f7970662ca324d67742e96 Mon Sep 17 00:00:00 2001
From: Lars Johannsen <laj at lars-johannsen.dk>
Date: Tue, 11 Jan 2011 19:02:55 +0100
Subject: [PATCH 4/4] internal/lockvalidator.h: recursive include $SELF

---
 src/VBox/Runtime/include/internal/lockvalidator.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/VBox/Runtime/include/internal/lockvalidator.h 
b/src/VBox/Runtime/include/internal/lockvalidator.h
index b96b77a..a9116a6 100644
--- a/src/VBox/Runtime/include/internal/lockvalidator.h
+++ b/src/VBox/Runtime/include/internal/lockvalidator.h
@@ -29,7 +29,6 @@
 
 #include <iprt/types.h>
 #include <iprt/lockvalidator.h>
-#include "internal/lockvalidator.h"
 
 RT_C_DECLS_BEGIN
 
-- 
1.7.0







More information about the vbox-dev mailing list