Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93152
b: refs/heads/master
c: 3b4724b
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Apr 24, 2008
1 parent 2d7bb73 commit 441dc89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 947a69c90c0d07ac7f214e46dabbe49f2a230e00
refs/heads/master: 3b4724b0e60cdfdc2679ee7135f3a234c74c2b83
16 changes: 2 additions & 14 deletions trunk/include/xen/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,15 @@

#include <xen/features.h>

#ifdef CONFIG_X86_PAE
/* Xen machine address */
typedef struct xmaddr {
unsigned long long maddr;
phys_addr_t maddr;
} xmaddr_t;

/* Xen pseudo-physical address */
typedef struct xpaddr {
unsigned long long paddr;
phys_addr_t paddr;
} xpaddr_t;
#else
/* Xen machine address */
typedef struct xmaddr {
unsigned long maddr;
} xmaddr_t;

/* Xen pseudo-physical address */
typedef struct xpaddr {
unsigned long paddr;
} xpaddr_t;
#endif

#define XMADDR(x) ((xmaddr_t) { .maddr = (x) })
#define XPADDR(x) ((xpaddr_t) { .paddr = (x) })
Expand Down

0 comments on commit 441dc89

Please sign in to comment.