ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
June 2005
----- 2025 -----
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
22 participants
649 discussions
Start a n
N
ew thread
[ion] 16039: Build Generic HAL with w32api
by ion@svn.reactos.com
Build Generic HAL with w32api Modified: trunk/reactos/hal/halx86/generic/adapter.c Modified: trunk/reactos/hal/halx86/generic/beep.c Modified: trunk/reactos/hal/halx86/generic/bus.c Modified: trunk/reactos/hal/halx86/generic/display.c Modified: trunk/reactos/hal/halx86/generic/dma.c Modified: trunk/reactos/hal/halx86/generic/drive.c Modified: trunk/reactos/hal/halx86/generic/enum.c Modified: trunk/reactos/hal/halx86/generic/fmutex.c Modified: trunk/reactos/hal/halx86/generic/generic.xml Modified: trunk/reactos/hal/halx86/generic/halinit.c Modified: trunk/reactos/hal/halx86/generic/ipi.c Modified: trunk/reactos/hal/halx86/generic/irql.c Modified: trunk/reactos/hal/halx86/generic/isa.c Modified: trunk/reactos/hal/halx86/generic/kdbg.c Modified: trunk/reactos/hal/halx86/generic/mca.c Modified: trunk/reactos/hal/halx86/generic/misc.c Modified: trunk/reactos/hal/halx86/generic/pci.c Modified: trunk/reactos/hal/halx86/generic/portio.c Modified: trunk/reactos/hal/halx86/generic/processor.c Modified: trunk/reactos/hal/halx86/generic/reboot.c Modified: trunk/reactos/hal/halx86/generic/resource.c Modified: trunk/reactos/hal/halx86/generic/spinlock.c Modified: trunk/reactos/hal/halx86/generic/sysbus.c Modified: trunk/reactos/hal/halx86/generic/sysinfo.c Modified: trunk/reactos/hal/halx86/generic/time.c Modified: trunk/reactos/hal/halx86/generic/timer.c _____ Modified: trunk/reactos/hal/halx86/generic/adapter.c --- trunk/reactos/hal/halx86/generic/adapter.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/adapter.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -13,15 +13,11 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <ddk/iotypes.h> -#include <internal/ob.h> -#include <internal/ps.h> #define NDEBUG -#include <internal/debug.h> #include <hal.h> /* Hmm, needed for KDBG := 1. Why? */ +extern POBJECT_TYPE IMPORTED IoAdapterObjectType; #undef KeGetCurrentIrql /* FUNCTIONS *****************************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/beep.c --- trunk/reactos/hal/halx86/generic/beep.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/beep.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -10,13 +10,10 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - /* CONSTANTS *****************************************************************/ #define TIMER2 0x42 _____ Modified: trunk/reactos/hal/halx86/generic/bus.c --- trunk/reactos/hal/halx86/generic/bus.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/bus.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -15,13 +15,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#include <bus.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS *******************************************************************/ #define TAG_BUS TAG('B', 'U', 'S', 'H') _____ Modified: trunk/reactos/hal/halx86/generic/display.c --- trunk/reactos/hal/halx86/generic/display.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/display.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -121,9 +121,10 @@ * since there is already support for them via the VideoPortInt10 routine. */ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> + #define SCREEN_SYNCHRONIZATION #define VGA_GRAPH_MEM 0xa0000 _____ Modified: trunk/reactos/hal/halx86/generic/dma.c --- trunk/reactos/hal/halx86/generic/dma.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/dma.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -11,9 +11,7 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> #define NDEBUG -#include <internal/debug.h> #include <hal.h> /* Adapters for each channel */ _____ Modified: trunk/reactos/hal/halx86/generic/drive.c --- trunk/reactos/hal/halx86/generic/drive.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/drive.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -11,18 +11,19 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <internal/debug.h> +#define NDEBUG +#include <hal.h> /* FUNCTIONS *****************************************************************/ VOID STDCALL -IoAssignDriveLetters(IN PLOADER_PARAMETER_BLOCK LoaderBlock, +IoAssignDriveLetters(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString) { - HalIoAssignDriveLetters(LoaderBlock, + /* FIXME FIXME FIXME FUCK SOMEONE FIXME*/ + HalIoAssignDriveLetters(NULL, NtDeviceName, NtSystemPath, NtSystemPathString); _____ Modified: trunk/reactos/hal/halx86/generic/enum.c --- trunk/reactos/hal/halx86/generic/enum.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/enum.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -11,10 +11,8 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> - #define NDEBUG -#include <internal/debug.h> +#include <hal.h> VOID HalpStartEnumerator (VOID) _____ Modified: trunk/reactos/hal/halx86/generic/fmutex.c --- trunk/reactos/hal/halx86/generic/fmutex.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/fmutex.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -12,10 +12,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG +#include <hal.h> -#include <internal/debug.h> - /* FUNCTIONS *****************************************************************/ #undef KeEnterCriticalRegion _____ Modified: trunk/reactos/hal/halx86/generic/generic.xml --- trunk/reactos/hal/halx86/generic/generic.xml 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/generic.xml 2005-06-18 14:29:31 UTC (rev 16039) @@ -2,7 +2,8 @@ <include base="hal_generic">../include</include> <include base="ntoskrnl">include</include> <define name="_DISABLE_TIDENTS" /> - <define name="__NTHAL__" /> + <define name="__USE_W32API" /> + <define name="_NTHAL_" /> <file>adapter.c</file> <file>beep.c</file> <file>bus.c</file> @@ -28,7 +29,8 @@ <include base="hal_generic_up">../include</include> <include base="ntoskrnl">include</include> <define name="_DISABLE_TIDENTS" /> - <define name="__NTHAL__" /> + <define name="_NTHAL_" /> + <define name="__USE_W32API" /> <file>ipi.c</file> <file>irql.c</file> <file>processor.c</file> @@ -38,6 +40,7 @@ <include base="hal_generic_pc">../include</include> <include base="ntoskrnl">include</include> <define name="_DISABLE_TIDENTS" /> - <define name="__NTHAL__" /> + <define name="_NTHAL_" /> + <define name="__USE_W32API" /> <file>display.c</file> </module> _____ Modified: trunk/reactos/hal/halx86/generic/halinit.c --- trunk/reactos/hal/halx86/generic/halinit.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/halinit.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -11,12 +11,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS *****************************************************************/ PVOID HalpZeroPageMapping = NULL; _____ Modified: trunk/reactos/hal/halx86/generic/ipi.c --- trunk/reactos/hal/halx86/generic/ipi.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/ipi.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -9,12 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - /* FUNCTIONS ****************************************************************/ VOID STDCALL _____ Modified: trunk/reactos/hal/halx86/generic/irql.c --- trunk/reactos/hal/halx86/generic/irql.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/irql.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -9,16 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <internal/ob.h> -#include <internal/ps.h> -#include <ntos/minmax.h> +#define NDEBUG #include <hal.h> -#include <halirq.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS ******************************************************************/ /* @@ -174,9 +167,9 @@ return; } KeGetCurrentKPCR()->Irql = DISPATCH_LEVEL; - if (KeGetCurrentKPCR()->HalReserved[HAL_DPC_REQUEST]) + if (((PKIPCR)KeGetCurrentKPCR())->HalReserved[HAL_DPC_REQUEST]) { - KeGetCurrentKPCR()->HalReserved[HAL_DPC_REQUEST] = FALSE; + ((PKIPCR)KeGetCurrentKPCR())->HalReserved[HAL_DPC_REQUEST] = FALSE; KiDispatchInterrupt(); } KeGetCurrentKPCR()->Irql = APC_LEVEL; @@ -240,7 +233,7 @@ * * NOTES */ - +#undef KeLowerIrql VOID STDCALL KeLowerIrql (KIRQL NewIrql) { @@ -303,6 +296,7 @@ * NOTES * Calls KfRaiseIrql */ +#undef KeRaiseIrql VOID STDCALL KeRaiseIrql (KIRQL NewIrql, PKIRQL OldIrql) @@ -466,11 +460,11 @@ switch (Request) { case APC_LEVEL: - KeGetCurrentKPCR()->HalReserved[HAL_APC_REQUEST] = TRUE; + ((PKIPCR)KeGetCurrentKPCR())->HalReserved[HAL_APC_REQUEST] = TRUE; break; case DISPATCH_LEVEL: - KeGetCurrentKPCR()->HalReserved[HAL_DPC_REQUEST] = TRUE; + ((PKIPCR)KeGetCurrentKPCR())->HalReserved[HAL_DPC_REQUEST] = TRUE; break; default: _____ Modified: trunk/reactos/hal/halx86/generic/isa.c --- trunk/reactos/hal/halx86/generic/isa.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/isa.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -11,12 +11,8 @@ /* INCLUDES ***************************************************************/ -#include <ddk/ntddk.h> -#include <bus.h> -#include <halirq.h> - #define NDEBUG -#include <internal/debug.h> +#include <hal.h> /* FUNCTIONS *****************************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/kdbg.c --- trunk/reactos/hal/halx86/generic/kdbg.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/kdbg.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -12,10 +12,8 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> - #define NDEBUG -#include <internal/debug.h> +#include <hal.h> #define DEFAULT_BAUD_RATE 19200 _____ Modified: trunk/reactos/hal/halx86/generic/mca.c --- trunk/reactos/hal/halx86/generic/mca.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/mca.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -32,13 +32,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <bus.h> - #define NDEBUG -#include <internal/debug.h> +#include <hal.h> - /* FUNCTIONS ****************************************************************/ ULONG STDCALL _____ Modified: trunk/reactos/hal/halx86/generic/misc.c --- trunk/reactos/hal/halx86/generic/misc.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/misc.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -9,11 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> /* FUNCTIONS ****************************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/pci.c --- trunk/reactos/hal/halx86/generic/pci.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/pci.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -18,17 +18,10 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <bus.h> -#include <halirq.h> +#define NDEBUG #include <hal.h> -#include <internal/ob.h> -#include <internal/ps.h> -#define NDEBUG -#include <internal/debug.h> - /* MACROS ******************************************************************/ /* FIXME These are also defined in drivers/bus/pci/pcidef.h. @@ -639,7 +632,7 @@ if (0 != PciConfig.u.type0.BaseAddresses[Address]) { ResourceCount++; - Offset = offsetof(PCI_COMMON_CONFIG, u.type0.BaseAddresses[Address]); + Offset = FIELD_OFFSET(PCI_COMMON_CONFIG, u.type0.BaseAddresses[Address]); Status = WritePciConfigUlong((UCHAR)BusNumber, (UCHAR)SlotNumber, Offset, 0xffffffff); if (! NT_SUCCESS(Status)) { _____ Modified: trunk/reactos/hal/halx86/generic/portio.c --- trunk/reactos/hal/halx86/generic/portio.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/portio.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -9,9 +9,9 @@ * Created 18/10/99 */ -#include <ddk/ntddk.h> +#define NDEBUG +#include <hal.h> - /* FUNCTIONS ****************************************************************/ /* _____ Modified: trunk/reactos/hal/halx86/generic/processor.c --- trunk/reactos/hal/halx86/generic/processor.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/processor.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -14,13 +14,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - - /* FUNCTIONS *****************************************************************/ VOID STDCALL _____ Modified: trunk/reactos/hal/halx86/generic/reboot.c --- trunk/reactos/hal/halx86/generic/reboot.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/reboot.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -9,8 +9,7 @@ * Created 11/10/99 */ - -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> _____ Modified: trunk/reactos/hal/halx86/generic/resource.c --- trunk/reactos/hal/halx86/generic/resource.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/resource.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -9,11 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> /* FUNCTIONS ****************************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/spinlock.c --- trunk/reactos/hal/halx86/generic/spinlock.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/spinlock.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -17,17 +17,15 @@ /* INCLUDES ****************************************************************/ -#include <ddk/ntddk.h> -#include <internal/ob.h> -#include <internal/ps.h> +#define NDEBUG +#include <hal.h> -#include <internal/debug.h> - /* Hmm, needed for KDBG := 1. Why? */ #undef KeGetCurrentIrql /* FUNCTIONS ***************************************************************/ +#undef KeAcquireSpinLock VOID STDCALL KeAcquireSpinLock ( PKSPIN_LOCK SpinLock, @@ -56,6 +54,7 @@ return OldIrql; } +#undef KeReleaseSpinLock VOID STDCALL KeReleaseSpinLock ( PKSPIN_LOCK SpinLock, _____ Modified: trunk/reactos/hal/halx86/generic/sysbus.c --- trunk/reactos/hal/halx86/generic/sysbus.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/sysbus.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -11,12 +11,8 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <bus.h> -#include <halirq.h> - #define NDEBUG -#include <internal/debug.h> +#include <hal.h> /* FUNCTIONS ****************************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/sysinfo.c --- trunk/reactos/hal/halx86/generic/sysinfo.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/sysinfo.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -10,12 +10,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#include <bus.h> -#define NDEBUG -#include <internal/debug.h> /* FUNCTIONS ****************************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/time.c --- trunk/reactos/hal/halx86/generic/time.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/time.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -8,13 +8,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <string.h> +#define NDEBUG #include <hal.h> -#include <bus.h> -#define NDEBUG -#include <internal/debug.h> /* MACROS and CONSTANTS ******************************************************/ _____ Modified: trunk/reactos/hal/halx86/generic/timer.c --- trunk/reactos/hal/halx86/generic/timer.c 2005-06-18 14:29:17 UTC (rev 16038) +++ trunk/reactos/hal/halx86/generic/timer.c 2005-06-18 14:29:31 UTC (rev 16039) @@ -32,14 +32,9 @@ /* INCLUDES ***************************************************************/ -#include <ddk/ntddk.h> -#include <internal/ob.h> -#include <internal/ps.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS ******************************************************************/ #define TMR_CTRL 0x43 /* I/O for control */ @@ -127,7 +122,7 @@ VOID STDCALL KeStallExecutionProcessor(ULONG Microseconds) { - PKPCR Pcr = KeGetCurrentKPCR(); + PKIPCR Pcr = (PKIPCR)KeGetCurrentKPCR(); if (Pcr->PrcbData.FeatureBits & X86_FEATURE_TSC) { @@ -194,7 +189,7 @@ ULONG i; ULONG calib_bit; ULONG CurCount; - PKPCR Pcr; + PKIPCR Pcr; LARGE_INTEGER StartCount, EndCount; if (UdelayCalibrated) @@ -203,7 +198,7 @@ } UdelayCalibrated = TRUE; - Pcr = KeGetCurrentKPCR(); + Pcr = (PKIPCR)KeGetCurrentKPCR(); /* Initialise timer interrupt with MILLISEC ms interval */ WRITE_PORT_UCHAR((PUCHAR) TMR_CTRL, TMR_SC0 | TMR_BOTH | TMR_MD2); /* binary, mode 2, LSB/MSB, ch 0 */ @@ -319,14 +314,14 @@ * RETURNS: The number of performance counter ticks since boot */ { - PKPCR Pcr; + PKIPCR Pcr; LARGE_INTEGER Value; ULONG Flags; Ki386SaveFlags(Flags); Ki386DisableInterrupts(); - Pcr = KeGetCurrentKPCR(); + Pcr = (PKIPCR)KeGetCurrentKPCR(); if (Pcr->PrcbData.FeatureBits & X86_FEATURE_TSC) {
19 years, 6 months
1
0
0
0
[ion] 16038: Build XBOX HAL with w32api
by ion@svn.reactos.com
Build XBOX HAL with w32api Modified: trunk/reactos/hal/halx86/xbox/halxbox.xml Modified: trunk/reactos/hal/halx86/xbox/part_xbox.c _____ Modified: trunk/reactos/hal/halx86/xbox/halxbox.xml --- trunk/reactos/hal/halx86/xbox/halxbox.xml 2005-06-18 14:28:55 UTC (rev 16037) +++ trunk/reactos/hal/halx86/xbox/halxbox.xml 2005-06-18 14:29:17 UTC (rev 16038) @@ -4,7 +4,8 @@ <include base="ntoskrnl">include</include> <define name="_DISABLE_TIDENTS" /> <define name="UP" /> - <define name="__NTHAL__" /> + <define name="_NTHAL_" /> + <define name="__USE_W32API" /> <library>hal_generic</library> <library>hal_generic_up</library> <library>ntoskrnl</library> _____ Modified: trunk/reactos/hal/halx86/xbox/part_xbox.c --- trunk/reactos/hal/halx86/xbox/part_xbox.c 2005-06-18 14:28:55 UTC (rev 16037) +++ trunk/reactos/hal/halx86/xbox/part_xbox.c 2005-06-18 14:29:17 UTC (rev 16038) @@ -308,6 +308,8 @@ return STATUS_ACCESS_DENIED; } +#define HalExamineMBR HALDISPATCH->HalExamineMBR + void HalpXboxInitPartIo(void) {
19 years, 6 months
1
0
0
0
[ion] 16037: Build UP HAL with w32api
by ion@svn.reactos.com
Build UP HAL with w32api Modified: trunk/reactos/hal/halx86/up/halinit_up.c Modified: trunk/reactos/hal/halx86/up/halup.xml _____ Modified: trunk/reactos/hal/halx86/up/halinit_up.c --- trunk/reactos/hal/halx86/up/halinit_up.c 2005-06-18 14:28:28 UTC (rev 16036) +++ trunk/reactos/hal/halx86/up/halinit_up.c 2005-06-18 14:28:55 UTC (rev 16037) @@ -11,12 +11,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - /* FUNCTIONS ***************************************************************/ VOID _____ Modified: trunk/reactos/hal/halx86/up/halup.xml --- trunk/reactos/hal/halx86/up/halup.xml 2005-06-18 14:28:28 UTC (rev 16036) +++ trunk/reactos/hal/halx86/up/halup.xml 2005-06-18 14:28:55 UTC (rev 16037) @@ -4,7 +4,9 @@ <include base="hal_generic">../include</include> <include base="ntoskrnl">include</include> <define name="_DISABLE_TIDENTS" /> + <define name="__USE_W32API" /> <define name="__NTHAL__" /> + <define name="_NTOSKRNL_" /> <library>hal_generic</library> <library>hal_generic_up</library> <library>hal_generic_pc</library>
19 years, 6 months
1
0
0
0
[ion] 16036: Build MP HAL with w32api
by ion@svn.reactos.com
Build MP HAL with w32api Modified: trunk/reactos/hal/halx86/mp/apic.c Modified: trunk/reactos/hal/halx86/mp/halinit_mp.c Modified: trunk/reactos/hal/halx86/mp/halmp.xml Modified: trunk/reactos/hal/halx86/mp/ioapic.c Modified: trunk/reactos/hal/halx86/mp/ipi_mp.c Modified: trunk/reactos/hal/halx86/mp/mpconfig.c Modified: trunk/reactos/hal/halx86/mp/mpsirql.c Modified: trunk/reactos/hal/halx86/mp/processor_mp.c Modified: trunk/reactos/hal/halx86/mp/resource_mp.c _____ Modified: trunk/reactos/hal/halx86/mp/apic.c --- trunk/reactos/hal/halx86/mp/apic.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/apic.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -27,17 +27,10 @@ /* INCLUDE ***********************************************************************/ -#include <ddk/ntddk.h> -#include <internal/i386/ps.h> - +#define NDEBUG #include <hal.h> -#include <halirq.h> -#include <mps.h> -#include <apic.h> +#include <internal/ntoskrnl.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS ***********************************************************************/ ULONG CPUCount; /* Total number of CPUs */ @@ -89,8 +82,6 @@ WRITE_PORT_UCHAR((PUCHAR)0x71, value); \ }) -extern PVOID IMPORTED MmSystemRangeStart; - /* FUNCTIONS *********************************************************************/ extern ULONG Read8254Timer(VOID); @@ -866,7 +857,7 @@ APICSetupLVTT(1000000000); - TSCPresent = KeGetCurrentKPCR()->PrcbData.FeatureBits & X86_FEATURE_TSC ? TRUE : FALSE; + TSCPresent = ((PKIPCR)KeGetCurrentKPCR())->PrcbData.FeatureBits & X86_FEATURE_TSC ? TRUE : FALSE; /* * The timer chip counts down to zero. Let's wait @@ -895,7 +886,7 @@ DPRINT("CPU clock speed is %ld.%04ld MHz.\n", CPUMap[CPU].CoreSpeed/1000000, CPUMap[CPU].CoreSpeed%1000000); - KeGetCurrentKPCR()->PrcbData.MHz = CPUMap[CPU].CoreSpeed/1000000; + ((PKIPCR)KeGetCurrentKPCR())->PrcbData.MHz = CPUMap[CPU].CoreSpeed/1000000; } CPUMap[CPU].BusSpeed = (HZ * (long)(tt1 - tt2) * APIC_DIVISOR); _____ Modified: trunk/reactos/hal/halx86/mp/halinit_mp.c --- trunk/reactos/hal/halx86/mp/halinit_mp.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/halinit_mp.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -11,13 +11,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#include <mps.h> -#define NDEBUG -#include <internal/debug.h> - /* FUNCTIONS ***************************************************************/ extern BOOLEAN HaliFindSmpConfig(VOID); _____ Modified: trunk/reactos/hal/halx86/mp/halmp.xml --- trunk/reactos/hal/halx86/mp/halmp.xml 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/halmp.xml 2005-06-18 14:28:28 UTC (rev 16036) @@ -4,7 +4,8 @@ <include base="ntoskrnl">include</include> <define name="_DISABLE_TIDENTS" /> <define name="CONFIG_SMP" /> - <define name="__NTHAL__" /> + <define name="_NTHAL_" /> + <define name="__USE_W32API" /> <library>hal_generic</library> <library>hal_generic_pc</library> <library>ntoskrnl</library> _____ Modified: trunk/reactos/hal/halx86/mp/ioapic.c --- trunk/reactos/hal/halx86/mp/ioapic.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/ioapic.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -9,22 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#include <mps.h> -#include <halirq.h> -#include <apic.h> -#include <ioapic.h> - -#include <internal/ntoskrnl.h> -#include <internal/i386/segment.h> -#include <internal/ke.h> -#include <internal/ps.h> - -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS *****************************************************************/ MP_CONFIGURATION_INTSRC IRQMap[MAX_IRQ_SOURCE]; /* Map of all IRQs */ _____ Modified: trunk/reactos/hal/halx86/mp/ipi_mp.c --- trunk/reactos/hal/halx86/mp/ipi_mp.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/ipi_mp.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -9,13 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#include <apic.h> -#define NDEBUG -#include <internal/debug.h> - /* FUNCTIONS ****************************************************************/ VOID STDCALL _____ Modified: trunk/reactos/hal/halx86/mp/mpconfig.c --- trunk/reactos/hal/halx86/mp/mpconfig.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/mpconfig.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -9,16 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <ntos/types.h> +#define NDEBUG #include <hal.h> -#include <mps.h> -#include <apic.h> -#include <ioapic.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS ******************************************************************/ MP_FLOATING_POINTER* Mpf = NULL; _____ Modified: trunk/reactos/hal/halx86/mp/mpsirql.c --- trunk/reactos/hal/halx86/mp/mpsirql.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/mpsirql.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -11,19 +11,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> -#include <internal/ke.h> -#include <internal/ps.h> -#include <ntos/minmax.h> -#include <halirq.h> +#define NDEBUG #include <hal.h> -#include <mps.h> -#include <apic.h> -#include <ioapic.h> -#define NDEBUG -#include <internal/debug.h> - /* GLOBALS ******************************************************************/; @@ -42,7 +32,7 @@ Ki386SaveFlags(Flags); Ki386DisableInterrupts(); - irql = Ki386ReadFsByte(offsetof(KPCR, Irql)); + irql = Ki386ReadFsByte(FIELD_OFFSET(KPCR, Irql)); if (irql > HIGH_LEVEL) { DPRINT1 ("CurrentIrql %x\n", irql); @@ -70,7 +60,7 @@ } Ki386SaveFlags(Flags); Ki386DisableInterrupts(); - Ki386WriteFsByte(offsetof(KPCR, Irql), NewIrql); + Ki386WriteFsByte(FIELD_OFFSET(KPCR, Irql), NewIrql); if (Flags & X86_EFLAGS_IF) { Ki386EnableInterrupts(); @@ -92,9 +82,9 @@ { KeSetCurrentIrql (DISPATCH_LEVEL); APICWrite(APIC_TPR, IRQL2TPR (DISPATCH_LEVEL) & APIC_TPR_PRI); - if (FromHalEndSystemInterrupt || Ki386ReadFsByte(offsetof(KPCR, HalReserved[HAL_DPC_REQUEST]))) + if (FromHalEndSystemInterrupt || Ki386ReadFsByte(FIELD_OFFSET(KIPCR, HalReserved[HAL_DPC_REQUEST]))) { - Ki386WriteFsByte(offsetof(KPCR, HalReserved[HAL_DPC_REQUEST]), 0); + Ki386WriteFsByte(FIELD_OFFSET(KIPCR, HalReserved[HAL_DPC_REQUEST]), 0); Ki386EnableInterrupts(); KiDispatchInterrupt(); if (!(Flags & X86_EFLAGS_IF)) @@ -166,7 +156,7 @@ * * NOTES */ - +#undef KeLowerIrql VOID STDCALL KeLowerIrql (KIRQL NewIrql) { @@ -240,6 +230,7 @@ * NOTES * Calls KfRaiseIrql */ +#undef KeRaiseIrql VOID STDCALL KeRaiseIrql (KIRQL NewIrql, PKIRQL OldIrql) @@ -392,11 +383,11 @@ switch (Request) { case APC_LEVEL: - Ki386WriteFsByte(offsetof(KPCR, HalReserved[HAL_APC_REQUEST]), 1); + Ki386WriteFsByte(FIELD_OFFSET(KIPCR, HalReserved[HAL_APC_REQUEST]), 1); break; case DISPATCH_LEVEL: - Ki386WriteFsByte(offsetof(KPCR, HalReserved[HAL_DPC_REQUEST]), 1); + Ki386WriteFsByte(FIELD_OFFSET(KIPCR, HalReserved[HAL_DPC_REQUEST]), 1); break; default: _____ Modified: trunk/reactos/hal/halx86/mp/processor_mp.c --- trunk/reactos/hal/halx86/mp/processor_mp.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/processor_mp.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -14,24 +14,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#include <halirq.h> -#include <mps.h> -#include <ioapic.h> -#include <apic.h> - -#include <internal/ntoskrnl.h> -#include <internal/i386/segment.h> -#include <internal/ke.h> -#include <internal/ps.h> - -#define NDEBUG -#include <internal/debug.h> - - - /* FUNCTIONS *****************************************************************/ VOID STDCALL _____ Modified: trunk/reactos/hal/halx86/mp/resource_mp.c --- trunk/reactos/hal/halx86/mp/resource_mp.c 2005-06-18 14:27:44 UTC (rev 16035) +++ trunk/reactos/hal/halx86/mp/resource_mp.c 2005-06-18 14:28:28 UTC (rev 16036) @@ -9,12 +9,9 @@ /* INCLUDES *****************************************************************/ -#include <ddk/ntddk.h> +#define NDEBUG #include <hal.h> -#define NDEBUG -#include <internal/debug.h> - /* FUNCTIONS ****************************************************************/ VOID
19 years, 6 months
1
0
0
0
[ion] 16035: Build stub HAL with w32api
by ion@svn.reactos.com
Build stub HAL with w32api Modified: trunk/reactos/hal/hal/hal.c Modified: trunk/reactos/hal/hal/hal.xml _____ Modified: trunk/reactos/hal/hal/hal.c --- trunk/reactos/hal/hal/hal.c 2005-06-18 14:26:22 UTC (rev 16034) +++ trunk/reactos/hal/hal/hal.c 2005-06-18 14:27:44 UTC (rev 16035) @@ -737,7 +737,7 @@ return FALSE; } - +#undef KeAcquireSpinLock VOID STDCALL KeAcquireSpinLock( @@ -797,7 +797,7 @@ return (KIRQL)0; } - +#undef KeLowerIrql VOID STDCALL KeLowerIrql( @@ -821,7 +821,7 @@ return Value; } - +#undef KeRaiseIrql VOID STDCALL KeRaiseIrql( @@ -851,7 +851,7 @@ return (KIRQL)0; } - +#undef KeReleaseSpinLock VOID STDCALL KeReleaseSpinLock( _____ Modified: trunk/reactos/hal/hal/hal.xml --- trunk/reactos/hal/hal/hal.xml 2005-06-18 14:26:22 UTC (rev 16034) +++ trunk/reactos/hal/hal/hal.xml 2005-06-18 14:27:44 UTC (rev 16035) @@ -2,6 +2,8 @@ <importlibrary basename="hal" definition="hal.def" /> <include base="ntoskrnl">include</include> <library>ntoskrnl</library> + <define name="_NTOSKRNL_" /> + <define name="__USE_W32API" /> <file>hal.c</file> <file>hal.rc</file> </module>
19 years, 6 months
1
0
0
0
[ion] 16034: Remove weird header and add a missing prototype in halfuncs.h
by ion@svn.reactos.com
Remove weird header and add a missing prototype in halfuncs.h Deleted: trunk/reactos/include/msvcrt/ Modified: trunk/reactos/include/ntos/halfuncs.h Modified: trunk/reactos/include/ntos/types.h _____ Modified: trunk/reactos/include/ntos/halfuncs.h --- trunk/reactos/include/ntos/halfuncs.h 2005-06-18 14:10:28 UTC (rev 16033) +++ trunk/reactos/include/ntos/halfuncs.h 2005-06-18 14:26:22 UTC (rev 16034) @@ -6,6 +6,12 @@ BOOLEAN STDCALL HalAllProcessorsStarted(VOID); +VOID +STDCALL +HalDisplayString ( + IN PCHAR String +); + BOOLEAN STDCALL HalBeginSystemInterrupt(ULONG Vector, KIRQL Irql, @@ -37,7 +43,7 @@ VOID STDCALL -IoAssignDriveLetters(IN PLOADER_PARAMETER_BLOCK LoaderBlock, +IoAssignDriveLetters(IN struct _LOADER_PARAMETER_BLOCK *LoaderBlock, IN PSTRING NtDeviceName, OUT PUCHAR NtSystemPath, OUT PSTRING NtSystemPathString); _____ Modified: trunk/reactos/include/ntos/types.h --- trunk/reactos/include/ntos/types.h 2005-06-18 14:10:28 UTC (rev 16033) +++ trunk/reactos/include/ntos/types.h 2005-06-18 14:26:22 UTC (rev 16034) @@ -116,8 +116,6 @@ typedef wchar_t *PWCH; typedef unsigned short *PWORD; -#include <msvcrt/crttypes.h> /* for definition of LONGLONG, PLONGLONG etc */ - typedef const void *LPCVOID; typedef BYTE *LPBYTE, *PBYTE; typedef BOOL *PBOOL; @@ -137,6 +135,10 @@ typedef USHORT CSHORT; typedef const wchar_t *PCWSTR; typedef char* PCSZ; +typedef long long LONGLONG; +typedef LONGLONG *PLONGLONG; +typedef unsigned long long ULONGLONG; +typedef ULONGLONG *PULONGLONG; typedef DWORD STDCALL_FUNC (*PTHREAD_START_ROUTINE) (LPVOID);
19 years, 6 months
1
0
0
0
[ion] 16033: Remove IoAdapterObjectType defintion, it doesn't belong in public headers
by ion@svn.reactos.com
Remove IoAdapterObjectType defintion, it doesn't belong in public headers Modified: trunk/reactos/w32api/include/ddk/winddk.h _____ Modified: trunk/reactos/w32api/include/ddk/winddk.h --- trunk/reactos/w32api/include/ddk/winddk.h 2005-06-18 14:05:56 UTC (rev 16032) +++ trunk/reactos/w32api/include/ddk/winddk.h 2005-06-18 14:10:28 UTC (rev 16033) @@ -339,7 +339,6 @@ extern NTOSAPI POBJECT_TYPE ExEventObjectType; extern NTOSAPI POBJECT_TYPE ExSemaphoreObjectType; extern NTOSAPI POBJECT_TYPE ExWindowStationObjectType; -extern NTOSAPI POBJECT_TYPE IoAdapterObjectType; extern NTOSAPI ULONG IoDeviceHandlerObjectSize; extern NTOSAPI POBJECT_TYPE IoDeviceHandlerObjectType; extern NTOSAPI POBJECT_TYPE IoDeviceObjectType;
19 years, 6 months
1
0
0
0
[navaraf] 16032: Fix SMP version of ASSERT and assert.
by navaraf@svn.reactos.com
Fix SMP version of ASSERT and assert. Modified: trunk/reactos/ntoskrnl/include/internal/debug.h _____ Modified: trunk/reactos/ntoskrnl/include/internal/debug.h --- trunk/reactos/ntoskrnl/include/internal/debug.h 2005-06-18 13:15:07 UTC (rev 16031) +++ trunk/reactos/ntoskrnl/include/internal/debug.h 2005-06-18 14:05:56 UTC (rev 16032) @@ -37,8 +37,8 @@ /* Assert only on "checked" version */ #ifndef NASSERT #ifdef CONFIG_SMP -#define assert(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d for CPU%d\n", __FILE__,__LINE__, KeGetCurrentKPCR()->ProcessorNumber), DbgBreakPoint(); } -#define ASSERT(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d for CPU%d\n", __FILE__,__LINE__, KeGetCurrentKPCR()->ProcessorNumber), DbgBreakPoint(); } +#define assert(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d for CPU%d\n", __FILE__,__LINE__, KeGetCurrentKPCR()->Number), DbgBreakPoint(); } +#define ASSERT(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d for CPU%d\n", __FILE__,__LINE__, KeGetCurrentKPCR()->Number), DbgBreakPoint(); } #else #define assert(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d\n", __FILE__,__LINE__); DbgBreakPoint(); } #define ASSERT(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d\n", __FILE__,__LINE__); DbgBreakPoint(); }
19 years, 6 months
1
0
0
0
[navaraf] 16031: Remove duplicate definition of EVENT_QUERY_STATE.
by navaraf@svn.reactos.com
Remove duplicate definition of EVENT_QUERY_STATE. Modified: trunk/reactos/lib/kernel32/mem/resnotify.c _____ Modified: trunk/reactos/lib/kernel32/mem/resnotify.c --- trunk/reactos/lib/kernel32/mem/resnotify.c 2005-06-18 12:56:11 UTC (rev 16030) +++ trunk/reactos/lib/kernel32/mem/resnotify.c 2005-06-18 13:15:07 UTC (rev 16031) @@ -14,9 +14,6 @@ #define NDEBUG #include "../include/debug.h" -/* stolen from include/ntos/synch.h */ -#define EVENT_QUERY_STATE (1) - /* FUNCTIONS *****************************************************************/ /*
19 years, 6 months
1
0
0
0
[navaraf] 16030: Correctly pack the KIPCR structure.
by navaraf@svn.reactos.com
Correctly pack the KIPCR structure. Modified: trunk/reactos/ntoskrnl/include/internal/i386/ps.h _____ Modified: trunk/reactos/ntoskrnl/include/internal/i386/ps.h --- trunk/reactos/ntoskrnl/include/internal/i386/ps.h 2005-06-18 12:55:02 UTC (rev 16029) +++ trunk/reactos/ntoskrnl/include/internal/i386/ps.h 2005-06-18 12:56:11 UTC (rev 16030) @@ -257,6 +257,8 @@ #pragma pack(pop) #endif /* __USE_W32API */ +#pragma pack(push,4) + /* * This is the complete, internal KPCR structure */ @@ -289,6 +291,8 @@ KPRCB PrcbData; /* 120 */ } KIPCR, *PKIPCR; +#pragma pack(pop) + #ifndef __USE_W32API #ifdef CONFIG_SMP
19 years, 6 months
1
0
0
0
← Newer
1
...
30
31
32
33
34
35
36
...
65
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Results per page:
10
25
50
100
200