mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[MISC]: Build fixes to sync up with latest changes.
[SETUPLDR]: Do not build on ARM. On a side note, I offer a bountry for "if ARCH != ARM" support in .rbuild files, instead of only allowing ==. svn path=/trunk/; revision=45525
This commit is contained in:
parent
ba9fe881da
commit
7cd39aa34b
3 changed files with 16 additions and 8 deletions
|
@ -10,8 +10,18 @@
|
|||
<xi:include href="freeldr/freeldr_base.rbuild" />
|
||||
<xi:include href="freeldr/freeldr_arch.rbuild" />
|
||||
<xi:include href="freeldr/freeldr_main.rbuild" />
|
||||
<xi:include href="freeldr/setupldr_main.rbuild" />
|
||||
<xi:include href="freeldr/freeldr.rbuild" />
|
||||
<xi:include href="freeldr/setupldr.rbuild" />
|
||||
<if property="ARCH" value="i386">
|
||||
<xi:include href="freeldr/setupldr_main.rbuild" />
|
||||
<xi:include href="freeldr/setupldr.rbuild" />
|
||||
</if>
|
||||
<if property="ARCH" value="ppc">
|
||||
<xi:include href="freeldr/setupldr_main.rbuild" />
|
||||
<xi:include href="freeldr/setupldr.rbuild" />
|
||||
</if>
|
||||
<if property="ARCH" value="amd64">
|
||||
<xi:include href="freeldr/setupldr_main.rbuild" />
|
||||
<xi:include href="freeldr/setupldr.rbuild" />
|
||||
</if>
|
||||
</directory>
|
||||
</group>
|
||||
|
|
|
@ -122,9 +122,7 @@ typedef struct _CONTEXT {
|
|||
// Processor Control Region
|
||||
//
|
||||
#ifdef _WINNT_H
|
||||
typedef
|
||||
VOID
|
||||
(*PKINTERRUPT_ROUTINE)(VOID);
|
||||
#define KIRQL ULONG
|
||||
#endif
|
||||
typedef struct _KPCR
|
||||
{
|
||||
|
|
|
@ -111,12 +111,12 @@ PULONG MmGetPageDirectory(VOID);
|
|||
|
||||
#define MI_MAKE_LOCAL_PAGE(x) ((x)->u.Hard.NonGlobal = 1)
|
||||
#define MI_MAKE_DIRTY_PAGE(x)
|
||||
#define MI_MAKE_OWNER_PAGE(x) ((x)->u.Hard.Access = 1) // FIXFIX
|
||||
#define MI_MAKE_WRITE_PAGE(x) ((x)->u.Hard.ExtendedAccess = 1) // FIXFIX
|
||||
#define MI_MAKE_OWNER_PAGE(x) ((x)->u.Hard.Owner = 1)
|
||||
#define MI_MAKE_WRITE_PAGE(x) ((x)->u.Hard.ReadOnly = 0)
|
||||
#define MI_PAGE_DISABLE_CACHE(x) ((x)->u.Hard.Cached = 0)
|
||||
#define MI_PAGE_WRITE_THROUGH(x) ((x)->u.Hard.Buffered = 0)
|
||||
#define MI_PAGE_WRITE_COMBINED(x) ((x)->u.Hard.Buffered = 1)
|
||||
#define MI_IS_PAGE_WRITEABLE(x) ((x)->u.Hard.ExtendedAccess == 0)
|
||||
#define MI_IS_PAGE_WRITEABLE(x) ((x)->u.Hard.ReadOnly == 0)
|
||||
#define MI_IS_PAGE_COPY_ON_WRITE(x)FALSE
|
||||
#define MI_IS_PAGE_DIRTY(x) TRUE
|
||||
|
||||
|
|
Loading…
Reference in a new issue