Commit in reactos/apps/utils/pice/module on MAIN
disassembler.c+1-11.1 -> 1.2
gpfault.c+3-31.7 -> 1.8
parse.c+31.17 -> 1.18
parse.h+4-31.5 -> 1.6
pci_ids.h+1-11.1 -> 1.2
pice_ver.h+1-11.1 -> 1.2
precomp.h+1-11.3 -> 1.4
scancodes.h+1-11.1 -> 1.2
symbols.h-41.3 -> 1.4
+15-15
9 modified files
Get most of PICE to build again.

reactos/apps/utils/pice/module
disassembler.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- disassembler.c	21 Oct 2001 03:45:26 -0000	1.1
+++ disassembler.c	24 Feb 2004 23:30:19 -0000	1.2
@@ -713,4 +713,4 @@
 
     *pOffset += (ULONG)Disassembler( &dis);
     return TRUE;
-}
\ No newline at end of file
+}

reactos/apps/utils/pice/module
gpfault.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- gpfault.c	30 Jun 2002 02:41:29 -0000	1.7
+++ gpfault.c	24 Feb 2004 23:30:20 -0000	1.8
@@ -60,14 +60,14 @@
 //
 //*************************************************************************
 __asm__ ("\n\t \
-NewGPFaultHandler:\n\t \
+		NewGPFaultHandler:\n\t \
 		pushfl\n\t \
         cli\n\t \
         cld\n\t \
         pushal\n\t \
 	    pushl %ds\n\t \
 \n\t \
-		// test for v86 mode.
+		// test for v86 mode\n\t \
  		testl $0x20000,40(%esp)\n\t \
 		jnz notv86\n\t \
 		popl %ds\n\t \
@@ -75,7 +75,7 @@
 		popfl\n\t \
 		.byte 0x2e\n\t \
 		jmp *_OldGPFaultHandler\n\t \
-notv86:\n\t \
+		notv86:\n\t \
 		// setup default data selectors\n\t \
 	    movw %ss,%ax\n\t \
 	    movw %ax,%ds\n\t \

reactos/apps/utils/pice/module
parse.c 1.17 -> 1.18
diff -u -r1.17 -r1.18
--- parse.c	16 Aug 2002 22:03:07 -0000	1.17
+++ parse.c	24 Feb 2004 23:30:20 -0000	1.18
@@ -3092,6 +3092,8 @@
                             if(WaitForKey()==FALSE)goto CommonShowPCIExit;
                         }
                         ppciConfig = &pciConfig;
+						#if 0
+							// sedwards
                         SHOW_FIELD_WORD(ppciConfig,Status,TRUE);
                         SHOW_FIELD_WORD(ppciConfig,Command,TRUE);
                         SHOW_FIELD_BYTE(ppciConfig,RevisionID,TRUE);
@@ -3100,6 +3102,7 @@
                         SHOW_FIELD_BYTE(ppciConfig,SubClass,TRUE);
                         SHOW_FIELD_BYTE(ppciConfig,CacheLineSize,TRUE);
                         SHOW_FIELD_BYTE(ppciConfig,LatencyTimer,TRUE);
+						#endif
                     }
                 }
             }

reactos/apps/utils/pice/module
parse.h 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- parse.h	14 Jan 2002 22:04:08 -0000	1.5
+++ parse.h	24 Feb 2004 23:30:20 -0000	1.6
@@ -168,12 +168,13 @@
 COMMAND_PROTOTYPE(SetAltKey);
 COMMAND_PROTOTYPE(ShowContext);
 
-//ei make sure the following correspond to ntoskrnl/mm/i386/page.c
+//ei make sure the following correspond to ntoskrnl/mm/i386/page.c
+//sedwards - Dont use them if you dont need them. Use DDK headers instead.
 #define PAGETABLE_MAP     (0xf0000000)
 #define PAGEDIRECTORY_MAP (0xf0000000 + (PAGETABLE_MAP / (1024)))
-#define PAGE_SHIFT      12
+//#define PAGE_SHIFT      12
 #define PTRS_PER_PTE    1024
-#define PAGE_SIZE       (1UL << PAGE_SHIFT)
+//#define PAGE_SIZE       (1UL << PAGE_SHIFT)
 #define ADDR_TO_PAGE_TABLE(v) (((ULONG)(v)) / (4 * 1024 * 1024))
 #define ADDR_TO_PDE(v) (PULONG)(PAGEDIRECTORY_MAP + \
                                 (((ULONG)v / (1024 * 1024))&(~0x3)))

reactos/apps/utils/pice/module
pci_ids.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- pci_ids.h	21 Oct 2001 03:45:27 -0000	1.1
+++ pci_ids.h	24 Feb 2004 23:30:20 -0000	1.2
@@ -902,4 +902,4 @@
     {0xEA01 ,"EAGLE TECHNOLOGY"},
     {0xFA57 ,"FAST SEARCH & TRANSFER ASA"},
     {0xFEDA ,"EPIGRAM INC"}
-};
\ No newline at end of file
+};

reactos/apps/utils/pice/module
pice_ver.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- pice_ver.h	21 Oct 2001 03:45:27 -0000	1.1
+++ pice_ver.h	24 Feb 2004 23:30:20 -0000	1.2
@@ -33,4 +33,4 @@
 #define PICE_MINOR_VERSION (99)
 // reset this on major or minor version change
 // increment this on every release build
-#define PICE_BUILD         (0007)  
\ No newline at end of file
+#define PICE_BUILD         (0007)  

reactos/apps/utils/pice/module
precomp.h 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- precomp.h	14 Jan 2002 22:04:08 -0000	1.3
+++ precomp.h	24 Feb 2004 23:30:20 -0000	1.4
@@ -34,7 +34,7 @@
 #include <ddk/ntddk.h>
 #include <ntos/types.h>
 #include <ddk/types.h>
-#include <ddk/i386/tss.h>
+//#include <ddk/i386/tss.h>
 #include <internal/ob.h>
 #include <internal/i386/segment.h>
 #include <defines.h>

reactos/apps/utils/pice/module
scancodes.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- scancodes.h	21 Oct 2001 03:45:27 -0000	1.1
+++ scancodes.h	24 Feb 2004 23:30:20 -0000	1.2
@@ -103,4 +103,4 @@
 #define SCANCODE_9              0x0A
 #define SCANCODE_0              0x0B
 
-#define SCANCODE_EXTENDED       0xE0
\ No newline at end of file
+#define SCANCODE_EXTENDED       0xE0

reactos/apps/utils/pice/module
symbols.h 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- symbols.h	8 Jan 2002 20:44:17 -0000	1.3
+++ symbols.h	24 Feb 2004 23:30:20 -0000	1.4
@@ -29,10 +29,6 @@
 
 --*/
 
-// constant defines
-#define FIELD_OFFSET(Type,Field) (LONG)(&(((Type *)(0))->Field))
-#define CONTAINING_RECORD(Address,Type,Field) (Type *)(((LONG)Address) - FIELD_OFFSET(Type,Field))
-
 typedef struct _LOCAL_VARIABLE
 {
 	char type_name[64];
CVSspam 0.2.8