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
2024
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
January 2005
----- 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
28 participants
703 discussions
Start a n
N
ew thread
[hbirr] 12684: - Set the page protection for the section header.
by hbirr@svn.reactos.com
- Set the page protection for the section header. Modified: trunk/reactos/ntoskrnl/ldr/loader.c _____ Modified: trunk/reactos/ntoskrnl/ldr/loader.c --- trunk/reactos/ntoskrnl/ldr/loader.c 2005-01-01 10:54:48 UTC (rev 12683) +++ trunk/reactos/ntoskrnl/ldr/loader.c 2005-01-01 10:57:39 UTC (rev 12684) @@ -1,4 +1,4 @@ -/* $Id: loader.c,v 1.152 2004/12/24 17:06:59 navaraf Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -870,6 +870,7 @@ return Status; } + MmSetPageProtect(NULL, DriverBase, PAGE_READONLY); /* Set the protections for the various parts of the driver */ for (Idx = 0; Idx < PENtHeaders->FileHeader.NumberOfSections; Idx++) { @@ -1077,6 +1078,7 @@ } /* Set the page protection for the virtual sections */ + MmSetPageProtect(NULL, DriverBase, PAGE_READONLY); for (Idx = 0; Idx < PENtHeaders->FileHeader.NumberOfSections; Idx++) { ULONG Characteristics = PESectionHeaders[Idx].Characteristics;
19 years, 8 months
1
0
0
0
[hbirr] 12683: - Fixed ROUND_UP.
by hbirr@svn.reactos.com
- Fixed ROUND_UP. - Simplified ROUND_DOWN. Modified: trunk/reactos/boot/freeldr/freeldr/include/freeldr.h _____ Modified: trunk/reactos/boot/freeldr/freeldr/include/freeldr.h --- trunk/reactos/boot/freeldr/freeldr/include/freeldr.h 2005-01-01 08:43:02 UTC (rev 12682) +++ trunk/reactos/boot/freeldr/freeldr/include/freeldr.h 2005-01-01 10:54:48 UTC (rev 12683) @@ -66,8 +66,8 @@ typedef U16 *PU16; typedef U32 *PU32; -#define ROUND_UP(N, S) ((N) + (S) - ((N) % (S))) -#define ROUND_DOWN(N, S) ((N) - ((N) % (S))) +#define ROUND_UP(N, S) (((N) + (S) - 1) & ~((S) - 1)) +#define ROUND_DOWN(N, S) ((N) & ~((S) - 1)) #define PACKED __attribute__((packed))
19 years, 8 months
1
0
0
0
[ion] 12682: Fix DMA_OPERATIONS to use stdcall.
by ion@svn.reactos.com
Fix DMA_OPERATIONS to use stdcall. Modified: trunk/reactos/include/ddk/iotypes.h Modified: trunk/reactos/ntoskrnl/io/pnpdma.c _____ Modified: trunk/reactos/include/ddk/iotypes.h --- trunk/reactos/include/ddk/iotypes.h 2005-01-01 08:20:47 UTC (rev 12681) +++ trunk/reactos/include/ddk/iotypes.h 2005-01-01 08:43:02 UTC (rev 12682) @@ -1196,18 +1196,18 @@ SCATTER_GATHER_ELEMENT Elements[1]; } SCATTER_GATHER_LIST, *PSCATTER_GATHER_LIST; -typedef VOID (*PPUT_DMA_ADAPTER)( +typedef VOID STDCALL (*PPUT_DMA_ADAPTER)( PDMA_ADAPTER DmaAdapter ); -typedef PVOID (*PALLOCATE_COMMON_BUFFER)( +typedef PVOID STDCALL (*PALLOCATE_COMMON_BUFFER)( IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled ); -typedef VOID (*PFREE_COMMON_BUFFER)( +typedef VOID STDCALL (*PFREE_COMMON_BUFFER)( IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, @@ -1215,7 +1215,7 @@ IN BOOLEAN CacheEnabled ); -typedef NTSTATUS (*PALLOCATE_ADAPTER_CHANNEL)( +typedef NTSTATUS STDCALL (*PALLOCATE_ADAPTER_CHANNEL)( IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN ULONG NumberOfMapRegisters, @@ -1223,7 +1223,7 @@ IN PVOID Context ); -typedef BOOLEAN (*PFLUSH_ADAPTER_BUFFERS)( +typedef BOOLEAN STDCALL (*PFLUSH_ADAPTER_BUFFERS)( IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, IN PVOID MapRegisterBase, @@ -1232,17 +1232,17 @@ IN BOOLEAN WriteToDevice ); -typedef VOID (*PFREE_ADAPTER_CHANNEL)( +typedef VOID STDCALL (*PFREE_ADAPTER_CHANNEL)( IN PDMA_ADAPTER DmaAdapter ); -typedef VOID (*PFREE_MAP_REGISTERS)( +typedef VOID STDCALL (*PFREE_MAP_REGISTERS)( IN PDMA_ADAPTER DmaAdapter, PVOID MapRegisterBase, ULONG NumberOfMapRegisters ); -typedef PHYSICAL_ADDRESS (*PMAP_TRANSFER)( +typedef PHYSICAL_ADDRESS STDCALL (*PMAP_TRANSFER)( IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, IN PVOID MapRegisterBase, @@ -1251,22 +1251,22 @@ IN BOOLEAN WriteToDevice ); -typedef ULONG (*PGET_DMA_ALIGNMENT)( +typedef ULONG STDCALL (*PGET_DMA_ALIGNMENT)( IN PDMA_ADAPTER DmaAdapter ); -typedef ULONG (*PREAD_DMA_COUNTER)( +typedef ULONG STDCALL (*PREAD_DMA_COUNTER)( IN PDMA_ADAPTER DmaAdapter ); -typedef VOID (*PDRIVER_LIST_CONTROL)( +typedef VOID STDCALL (*PDRIVER_LIST_CONTROL)( IN struct _DEVICE_OBJECT *DeviceObject, IN struct _IRP *Irp, IN PSCATTER_GATHER_LIST ScatterGather, IN PVOID Context ); -typedef NTSTATUS (*PGET_SCATTER_GATHER_LIST)( +typedef NTSTATUS STDCALL (*PGET_SCATTER_GATHER_LIST)( IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, IN PMDL Mdl, @@ -1277,7 +1277,7 @@ IN BOOLEAN WriteToDevice ); -typedef VOID (*PPUT_SCATTER_GATHER_LIST)( +typedef VOID STDCALL (*PPUT_SCATTER_GATHER_LIST)( IN PDMA_ADAPTER DmaAdapter, IN PSCATTER_GATHER_LIST ScatterGather, IN BOOLEAN WriteToDevice _____ Modified: trunk/reactos/ntoskrnl/io/pnpdma.c --- trunk/reactos/ntoskrnl/io/pnpdma.c 2005-01-01 08:20:47 UTC (rev 12681) +++ trunk/reactos/ntoskrnl/io/pnpdma.c 2005-01-01 08:43:02 UTC (rev 12682) @@ -1,4 +1,4 @@ -/* $Id: pnpdma.c,v 1.9 2004/10/23 17:32:51 navaraf Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -31,6 +31,7 @@ /* FUNCTIONS *****************************************************************/ VOID +STDCALL IopPutDmaAdapter( PDMA_ADAPTER DmaAdapter) { @@ -40,6 +41,7 @@ PVOID +STDCALL IopAllocateCommonBuffer( IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, @@ -54,6 +56,7 @@ VOID +STDCALL IopFreeCommonBuffer( IN PDMA_ADAPTER DmaAdapter, IN ULONG Length, @@ -69,6 +72,7 @@ NTSTATUS +STDCALL IopAllocateAdapterChannel( IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, @@ -84,6 +88,7 @@ BOOLEAN +STDCALL IopFlushAdapterBuffers( IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, @@ -100,6 +105,7 @@ VOID +STDCALL IopFreeAdapterChannel( IN PDMA_ADAPTER DmaAdapter) { @@ -109,6 +115,7 @@ VOID +STDCALL IopFreeMapRegisters( IN PDMA_ADAPTER DmaAdapter, PVOID MapRegisterBase, @@ -122,6 +129,7 @@ PHYSICAL_ADDRESS +STDCALL IopMapTransfer( IN PDMA_ADAPTER DmaAdapter, IN PMDL Mdl, @@ -138,6 +146,7 @@ ULONG +STDCALL IopGetDmaAlignment( IN PDMA_ADAPTER DmaAdapter) { @@ -148,6 +157,7 @@ ULONG +STDCALL IopReadDmaCounter( IN PDMA_ADAPTER DmaAdapter) { @@ -157,6 +167,7 @@ NTSTATUS +STDCALL IopGetScatterGatherList( IN PDMA_ADAPTER DmaAdapter, IN PDEVICE_OBJECT DeviceObject, @@ -174,15 +185,16 @@ VOID +STDCALL IopPutScatterGatherList( IN PDMA_ADAPTER DmaAdapter, IN PSCATTER_GATHER_LIST ScatterGather, IN BOOLEAN WriteToDevice) { + DPRINT("IopPutScatterGatherList\n"); /* FIXME */ } - /* * @implemented */
19 years, 8 months
1
0
0
0
[ion] 12681: Fix more old cruft.
by ion@svn.reactos.com
Fix more old cruft. Modified: trunk/reactos/include/ddk/iotypes.h Modified: trunk/reactos/ntoskrnl/io/driver.c Modified: trunk/reactos/ntoskrnl/io/fs.c Modified: trunk/reactos/ntoskrnl/io/irp.c _____ Modified: trunk/reactos/include/ddk/iotypes.h --- trunk/reactos/include/ddk/iotypes.h 2005-01-01 07:01:47 UTC (rev 12680) +++ trunk/reactos/include/ddk/iotypes.h 2005-01-01 08:20:47 UTC (rev 12681) @@ -1,4 +1,4 @@ -/* $Id: iotypes.h,v 1.73 2004/12/30 18:30:04 ion Exp $ +/* $Id$ * */ @@ -85,6 +85,10 @@ struct _IO_STATUS_BLOCK* IoStatusBlock, ULONG Reserved); +typedef VOID (NTAPI *PDRIVER_FS_NOTIFICATION) ( + IN struct _DEVICE_OBJECT* DeviceObject, + IN BOOLEAN DriverActive +); /* STRUCTURE TYPES ***********************************************************/ @@ -886,7 +890,7 @@ } FAST_IO_DISPATCH_TABLE, * PFAST_IO_DISPATCH_TABLE; #endif -#define IO_DRIVER_OBJECT 4L +#define IO_TYPE_DRIVER 4L #define DRVO_UNLOAD_INVOKED 0x1L #define DRVO_LEGACY_DRIVER 0x2L #define DRVO_BUILTIN_DRIVER 0x4L _____ Modified: trunk/reactos/ntoskrnl/io/driver.c --- trunk/reactos/ntoskrnl/io/driver.c 2005-01-01 07:01:47 UTC (rev 12680) +++ trunk/reactos/ntoskrnl/io/driver.c 2005-01-01 08:20:47 UTC (rev 12681) @@ -1,4 +1,4 @@ -/* $Id: driver.c,v 1.58 2004/12/30 18:30:05 ion Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1643,7 +1643,7 @@ /* Set up the Object */ RtlZeroMemory(DriverObject, ObjectSize); - DriverObject->Type = IO_DRIVER_OBJECT; + DriverObject->Type = IO_TYPE_DRIVER; DriverObject->Size = sizeof(DRIVER_OBJECT); DriverObject->Flags = DRVO_BUILTIN_DRIVER; DriverObject->DriverExtension = (PDRIVER_EXTENSION)(DriverObject + 1); _____ Modified: trunk/reactos/ntoskrnl/io/fs.c --- trunk/reactos/ntoskrnl/io/fs.c 2005-01-01 07:01:47 UTC (rev 12680) +++ trunk/reactos/ntoskrnl/io/fs.c 2005-01-01 08:20:47 UTC (rev 12681) @@ -27,7 +27,7 @@ { LIST_ENTRY FsChangeNotifyList; PDRIVER_OBJECT DriverObject; - PFSDNOTIFICATIONPROC FSDNotificationProc; + PDRIVER_FS_NOTIFICATION FSDNotificationProc; } FS_CHANGE_NOTIFY_ENTRY, *PFS_CHANGE_NOTIFY_ENTRY; /* GLOBALS ******************************************************************/ @@ -730,7 +730,7 @@ */ NTSTATUS STDCALL IoRegisterFsRegistrationChange(IN PDRIVER_OBJECT DriverObject, - IN PFSDNOTIFICATIONPROC FSDNotificationProc) + IN PDRIVER_FS_NOTIFICATION FSDNotificationProc) { PFS_CHANGE_NOTIFY_ENTRY Entry; @@ -756,7 +756,7 @@ */ VOID STDCALL IoUnregisterFsRegistrationChange(IN PDRIVER_OBJECT DriverObject, - IN PFSDNOTIFICATIONPROC FSDNotificationProc) + IN PDRIVER_FS_NOTIFICATION FSDNotificationProc) { PFS_CHANGE_NOTIFY_ENTRY ChangeEntry; PLIST_ENTRY Entry; _____ Modified: trunk/reactos/ntoskrnl/io/irp.c --- trunk/reactos/ntoskrnl/io/irp.c 2005-01-01 07:01:47 UTC (rev 12680) +++ trunk/reactos/ntoskrnl/io/irp.c 2005-01-01 08:20:47 UTC (rev 12681) @@ -1,4 +1,4 @@ -/* $Id: irp.c,v 1.72 2004/12/26 21:18:34 gvg Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -212,7 +212,9 @@ return DriverObject->MajorFunction[Param->MajorFunction](DeviceObject, Irp); } - +#ifdef IoCallDriver +#undef IoCallDriver +#endif /* * @implemented */ @@ -277,7 +279,9 @@ return(Irp); } - +#ifdef IoCompleteRequest +#undef IoCompleteRequest +#endif /* * @implemented */ @@ -326,7 +330,7 @@ */ if (Irp->CurrentLocation < Irp->StackCount - 1) { - IoSetPreviousIrpStackLocation(Irp); + IoSkipCurrentIrpStackLocation(Irp); DeviceObject = IoGetCurrentIrpStackLocation(Irp)->DeviceObject; } else
19 years, 8 months
1
0
0
0
[arty] 12680: Use host compiler to build bin2c
by arty@svn.reactos.com
Use host compiler to build bin2c Modified: trunk/reactos/boot/freeldr/tools/Makefile _____ Modified: trunk/reactos/boot/freeldr/tools/Makefile --- trunk/reactos/boot/freeldr/tools/Makefile 2005-01-01 04:55:11 UTC (rev 12679) +++ trunk/reactos/boot/freeldr/tools/Makefile 2005-01-01 07:01:47 UTC (rev 12680) @@ -31,7 +31,7 @@ %$(EXE_POSTFIX): %.c @echo ===================================================== Compiling $* - @$(CC) -Wall -O3 -o $@ $< + @$(HOST_CC) -Wall -O3 -o $@ $< .PHONY : clean
19 years, 8 months
1
0
0
0
[ion] 12679: Fix work item enumaration values.
by ion@svn.reactos.com
Fix work item enumaration values. Modified: trunk/reactos/include/ddk/defines.h Modified: trunk/reactos/include/ddk/exfuncs.h Modified: trunk/reactos/include/ddk/extypes.h Modified: trunk/reactos/ntoskrnl/ex/time.c Modified: trunk/reactos/ntoskrnl/ex/work.c _____ Modified: trunk/reactos/include/ddk/defines.h --- trunk/reactos/include/ddk/defines.h 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/include/ddk/defines.h 2005-01-01 04:55:11 UTC (rev 12679) @@ -18,16 +18,6 @@ #define NR_PRIORITY_LEVELS (32) /* - * PURPOSE: Type of queue to insert a work item in - */ -enum -{ - CriticalWorkQueue, - DelayedWorkQueue, - HyperCriticalWorkQueue, -}; - -/* * Types of memory to allocate */ enum _____ Modified: trunk/reactos/include/ddk/exfuncs.h --- trunk/reactos/include/ddk/exfuncs.h 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/include/ddk/exfuncs.h 2005-01-01 04:55:11 UTC (rev 12679) @@ -699,7 +699,7 @@ IN PVOID OwnerPointer ); -VOID +ULONG STDCALL ExSetTimerResolution ( IN ULONG DesiredTime, _____ Modified: trunk/reactos/include/ddk/extypes.h --- trunk/reactos/include/ddk/extypes.h 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/include/ddk/extypes.h 2005-01-01 04:55:11 UTC (rev 12679) @@ -1,11 +1,17 @@ -/* $Id: extypes.h,v 1.25 2004/10/22 22:49:00 weiden Exp $ */ +/* $Id$ */ #ifndef __INCLUDE_DDK_EXTYPES_H #define __INCLUDE_DDK_EXTYPES_H typedef ULONG INTERLOCKED_RESULT; -typedef ULONG WORK_QUEUE_TYPE; +typedef enum _WORK_QUEUE_TYPE { + CriticalWorkQueue, + DelayedWorkQueue, + HyperCriticalWorkQueue, + MaximumWorkQueue +} WORK_QUEUE_TYPE; + typedef ULONG_PTR ERESOURCE_THREAD, *PERESOURCE_THREAD; typedef struct _OWNER_ENTRY _____ Modified: trunk/reactos/ntoskrnl/ex/time.c --- trunk/reactos/ntoskrnl/ex/time.c 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/ntoskrnl/ex/time.c 2005-01-01 04:55:11 UTC (rev 12679) @@ -1,4 +1,4 @@ -/* $Id: time.c,v 1.28 2004/12/05 00:20:22 navaraf Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -228,7 +228,7 @@ /* * @unimplemented */ -VOID +ULONG STDCALL ExSetTimerResolution ( IN ULONG DesiredTime, _____ Modified: trunk/reactos/ntoskrnl/ex/work.c --- trunk/reactos/ntoskrnl/ex/work.c 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/ntoskrnl/ex/work.c 2005-01-01 04:55:11 UTC (rev 12679) @@ -1,4 +1,4 @@ -/* $Id: work.c,v 1.24 2004/12/24 02:09:12 gdalsnes Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -172,6 +172,9 @@ &WorkItem->List ); break; + + default: + break; } }
19 years, 8 months
1
0
0
0
[ion] 12678: Use PROCESSOR_FEATURE_MAX instead of PROCESSOR_FEATURES_MAX. The latter is not official and a useless ducpliate. Use LARGE_INTEGER instead of TIME in ex/sysinfo.c
by ion@svn.reactos.com
Use PROCESSOR_FEATURE_MAX instead of PROCESSOR_FEATURES_MAX. The latter is not official and a useless ducpliate. Use LARGE_INTEGER instead of TIME in ex/sysinfo.c Modified: trunk/reactos/include/napi/shared_data.h Modified: trunk/reactos/lib/kernel32/misc/sysinfo.c Modified: trunk/reactos/ntoskrnl/ex/init.c Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c _____ Modified: trunk/reactos/include/napi/shared_data.h --- trunk/reactos/include/napi/shared_data.h 2005-01-01 02:08:13 UTC (rev 12677) +++ trunk/reactos/include/napi/shared_data.h 2005-01-01 04:05:42 UTC (rev 12678) @@ -13,8 +13,6 @@ #define PF_PAE_ENABLED 9 #define PF_XMMI64_INSTRUCTIONS_AVAILABLE 10 -#define PROCESSOR_FEATURES_MAX 64 - typedef enum _ALTERNATIVE_ARCHITECTURE_TYPE { StandardDesign, _____ Modified: trunk/reactos/lib/kernel32/misc/sysinfo.c --- trunk/reactos/lib/kernel32/misc/sysinfo.c 2005-01-01 02:08:13 UTC (rev 12677) +++ trunk/reactos/lib/kernel32/misc/sysinfo.c 2005-01-01 04:05:42 UTC (rev 12678) @@ -1,4 +1,4 @@ -/* $Id: sysinfo.c,v 1.14 2004/09/21 22:08:18 weiden Exp $ +/* $Id$ * * reactos/lib/kernel32/misc/sysinfo.c * @@ -157,7 +157,7 @@ BOOL STDCALL IsProcessorFeaturePresent(DWORD ProcessorFeature) { - if (ProcessorFeature >= PROCESSOR_FEATURES_MAX) + if (ProcessorFeature >= PROCESSOR_FEATURE_MAX) return(FALSE); return((BOOL)SharedUserData->ProcessorFeatures[ProcessorFeature]); _____ Modified: trunk/reactos/ntoskrnl/ex/init.c --- trunk/reactos/ntoskrnl/ex/init.c 2005-01-01 02:08:13 UTC (rev 12677) +++ trunk/reactos/ntoskrnl/ex/init.c 2005-01-01 04:05:42 UTC (rev 12678) @@ -55,7 +55,7 @@ BOOLEAN STDCALL ExIsProcessorFeaturePresent(IN ULONG ProcessorFeature) { - if (ProcessorFeature >= PROCESSOR_FEATURES_MAX) + if (ProcessorFeature >= PROCESSOR_FEATURE_MAX) return(FALSE); return(SharedUserData->ProcessorFeatures[ProcessorFeature]); _____ Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c --- trunk/reactos/ntoskrnl/ex/sysinfo.c 2005-01-01 02:08:13 UTC (rev 12677) +++ trunk/reactos/ntoskrnl/ex/sysinfo.c 2005-01-01 04:05:42 UTC (rev 12678) @@ -1,4 +1,4 @@ -/* $Id: sysinfo.c,v 1.62 2004/12/16 22:36:09 gvg Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -723,7 +723,7 @@ = (PSYSTEM_PROCESSORTIME_INFO) Buffer; ULONG i; - TIME CurrentTime; + LARGE_INTEGER CurrentTime; PKPCR Pcr; *ReqSize = KeNumberProcessors * sizeof (SYSTEM_PROCESSORTIME_INFO);
19 years, 8 months
1
0
0
0
[ion] 12677: Use proper name for the NtSetInformationKey Info classes/structures, as well as add new XP+ class/structure
by ion@svn.reactos.com
Use proper name for the NtSetInformationKey Info classes/structures, as well as add new XP+ class/structure Modified: trunk/reactos/include/ddk/cmtypes.h Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c _____ Modified: trunk/reactos/include/ddk/cmtypes.h --- trunk/reactos/include/ddk/cmtypes.h 2005-01-01 01:53:48 UTC (rev 12676) +++ trunk/reactos/include/ddk/cmtypes.h 2005-01-01 02:08:13 UTC (rev 12677) @@ -49,17 +49,21 @@ /* key set information class */ -typedef enum _KEY_SET_INFORMATION_CLASS -{ - KeyLastWriteTimeInformation +typedef enum _KEY_SET_INFORMATION_CLASS { + KeyWriteTimeInformation, + KeyUserFlagsInformation, + MaxKeySetInfoClass } KEY_SET_INFORMATION_CLASS; -typedef struct _KEY_LAST_WRITE_TIME_INFORMATION -{ - LARGE_INTEGER LastWriteTime; -} KEY_LAST_WRITE_TIME_INFORMATION, *PKEY_LAST_WRITE_TIME_INFORMATION; +typedef struct _KEY_WRITE_TIME_INFORMATION { + LARGE_INTEGER LastWriteTime; +} KEY_WRITE_TIME_INFORMATION, *PKEY_WRITE_TIME_INFORMATION; +typedef struct _KEY_USER_FLAGS_INFORMATION { + ULONG UserFlags; +} KEY_USER_FLAGS_INFORMATION, *PKEY_USER_FLAGS_INFORMATION; + /* key value information class */ typedef enum _KEY_VALUE_INFORMATION_CLASS _____ Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c --- trunk/reactos/ntoskrnl/cm/ntfunc.c 2005-01-01 01:53:48 UTC (rev 12676) +++ trunk/reactos/ntoskrnl/cm/ntfunc.c 2005-01-01 02:08:13 UTC (rev 12677) @@ -2054,10 +2054,10 @@ PKEY_OBJECT KeyObject; NTSTATUS Status; - if (KeyInformationClass != KeyLastWriteTimeInformation) + if (KeyInformationClass != KeyWriteTimeInformation) return STATUS_INVALID_INFO_CLASS; - if (KeyInformationLength != sizeof (KEY_LAST_WRITE_TIME_INFORMATION)) + if (KeyInformationLength != sizeof (KEY_WRITE_TIME_INFORMATION)) return STATUS_INFO_LENGTH_MISMATCH; /* Verify that the handle is valid and is a registry key */ @@ -2080,7 +2080,7 @@ VERIFY_KEY_OBJECT(KeyObject); KeyObject->KeyCell->LastWriteTime.QuadPart = - ((PKEY_LAST_WRITE_TIME_INFORMATION)KeyInformation)->LastWriteTime.QuadPa rt; + ((PKEY_WRITE_TIME_INFORMATION)KeyInformation)->LastWriteTime.QuadPart; CmiMarkBlockDirty (KeyObject->RegistryHive, KeyObject->KeyCellOffset);
19 years, 8 months
1
0
0
0
[ekohl] 12676: Don't start services until the control pipe issues are fixed.
by ekohl@svn.reactos.com
Don't start services until the control pipe issues are fixed. Modified: trunk/reactos/subsys/system/services/database.c _____ Modified: trunk/reactos/subsys/system/services/database.c --- trunk/reactos/subsys/system/services/database.c 2005-01-01 01:51:05 UTC (rev 12675) +++ trunk/reactos/subsys/system/services/database.c 2005-01-01 01:53:48 UTC (rev 12676) @@ -1,4 +1,4 @@ -/* $Id: database.c,v 1.19 2004/10/10 21:00:59 navaraf Exp $ +/* $Id$ * * service control manager * @@ -521,13 +521,15 @@ ScmStartService(PSERVICE Service, PSERVICE_GROUP Group) { +#if 0 RTL_QUERY_REGISTRY_TABLE QueryTable[3]; PROCESS_INFORMATION ProcessInformation; STARTUPINFOW StartupInfo; UNICODE_STRING ImagePath; - NTSTATUS Status; ULONG Type; BOOL Result; +#endif + NTSTATUS Status; DPRINT("ScmStartService() called\n"); @@ -544,6 +546,7 @@ } else { +#if 0 RtlInitUnicodeString(&ImagePath, NULL); /* Get service data */ @@ -653,9 +656,13 @@ CloseHandle(ProcessInformation.hProcess); } } +#endif + Status = STATUS_SUCCESS; } +#if 0 Done: +#endif if (NT_SUCCESS(Status)) { if (Group != NULL)
19 years, 8 months
1
0
0
0
[ion] 12675: Fix my previous NtDelayExecution patch. Fix Cc function prototypes which were incorrect, and remove useless file.
by ion@svn.reactos.com
Fix my previous NtDelayExecution patch. Fix Cc function prototypes which were incorrect, and remove useless file. Modified: trunk/reactos/include/ddk/ccfuncs.h Modified: trunk/reactos/include/defines.h Modified: trunk/reactos/include/ntos/ntdef.h Modified: trunk/reactos/lib/kernel32/process/proc.c Modified: trunk/reactos/ntoskrnl/Makefile Modified: trunk/reactos/ntoskrnl/cc/cacheman.c Modified: trunk/reactos/ntoskrnl/cc/copy.c Deleted: trunk/reactos/ntoskrnl/cc/misc.c Modified: trunk/reactos/ntoskrnl/cc/pin.c _____ Modified: trunk/reactos/include/ddk/ccfuncs.h --- trunk/reactos/include/ddk/ccfuncs.h 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/include/ddk/ccfuncs.h 2005-01-01 01:51:05 UTC (rev 12675) @@ -1,7 +1,7 @@ #ifndef _NTOS_CCFUNCS_H #define _NTOS_CCFUNCS_H -/* $Id: ccfuncs.h,v 1.10 2004/08/21 20:18:07 tamlin Exp $ */ +/* $Id$ */ #ifdef __cplusplus extern "C" { @@ -62,7 +62,7 @@ IN BOOLEAN Retrying ); -BOOLEAN +VOID STDCALL CcFastCopyRead ( IN PFILE_OBJECT FileObject, @@ -73,11 +73,11 @@ OUT PIO_STATUS_BLOCK IoStatus ); -BOOLEAN +VOID STDCALL CcFastCopyWrite ( IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, + IN ULONG FileOffset, IN ULONG Length, IN PVOID Buffer ); @@ -191,7 +191,7 @@ IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, - IN BOOLEAN Wait, + IN ULONG Flags, OUT PVOID * Bcb ); @@ -201,7 +201,7 @@ IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, - IN BOOLEAN Wait, + IN ULONG Flags, OUT PVOID * Bcb, OUT PVOID * Buffer ); @@ -223,7 +223,7 @@ IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Zero, - IN BOOLEAN Wait, + IN ULONG Flags, OUT PVOID * Bcb, OUT PVOID * Buffer ); @@ -251,7 +251,7 @@ IN PVOID Bcb ); -VOID +PVOID STDCALL CcRemapBcb ( IN PVOID Bcb _____ Modified: trunk/reactos/include/defines.h --- trunk/reactos/include/defines.h 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/include/defines.h 2005-01-01 01:51:05 UTC (rev 12675) @@ -2243,7 +2243,6 @@ #define WAIT_IO_COMPLETION (0xc0L) #define WAIT_ABANDONED (0x80L) #define WAIT_FAILED (0xffffffffL) -#define MAXIMUM_WAIT_OBJECTS (0x40) #define MAXIMUM_SUSPEND_COUNT (0x7f) /* MultiByteToWideChar */ _____ Modified: trunk/reactos/include/ntos/ntdef.h --- trunk/reactos/include/ntos/ntdef.h 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/include/ntos/ntdef.h 2005-01-01 01:51:05 UTC (rev 12675) @@ -11,7 +11,7 @@ #ifndef __INCLUDE_NTDEF_H #define __INCLUDE_NTDEF_H -#ifndef _USE_W32API +#ifndef __USE_W32API #define MAXIMUM_WAIT_OBJECTS (64) #endif _____ Modified: trunk/reactos/lib/kernel32/process/proc.c --- trunk/reactos/lib/kernel32/process/proc.c 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/lib/kernel32/process/proc.c 2005-01-01 01:51:05 UTC (rev 12675) @@ -1,4 +1,4 @@ -/* $Id: proc.c,v 1.72 2004/11/05 12:26:55 ekohl Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -447,7 +447,7 @@ SleepEx(DWORD dwMilliseconds, BOOL bAlertable) { - TIME Interval; + LARGE_INTEGER Interval; NTSTATUS errCode; if (dwMilliseconds != INFINITE) _____ Modified: trunk/reactos/ntoskrnl/Makefile --- trunk/reactos/ntoskrnl/Makefile 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/ntoskrnl/Makefile 2005-01-01 01:51:05 UTC (rev 12675) @@ -356,7 +356,6 @@ cc/fs.o \ cc/pin.o \ cc/mdl.o \ - cc/misc.o \ cc/view.o # Kernel Debugger Support (Kd) _____ Modified: trunk/reactos/ntoskrnl/cc/cacheman.c --- trunk/reactos/ntoskrnl/cc/cacheman.c 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/ntoskrnl/cc/cacheman.c 2005-01-01 01:51:05 UTC (rev 12675) @@ -60,7 +60,7 @@ /* * @unimplemented */ -VOID +PVOID STDCALL CcRemapBcb ( IN PVOID Bcb _____ Modified: trunk/reactos/ntoskrnl/cc/copy.c --- trunk/reactos/ntoskrnl/cc/copy.c 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/ntoskrnl/cc/copy.c 2005-01-01 01:51:05 UTC (rev 12675) @@ -1,4 +1,4 @@ -/* $Id: copy.c,v 1.32 2004/12/30 18:30:05 ion Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -556,34 +556,31 @@ /* * @unimplemented */ -BOOLEAN +VOID STDCALL CcFastCopyRead ( - IN PFILE_OBJECT FileObject, - IN ULONG FileOffset, - IN ULONG Length, - IN ULONG PageCount, - OUT PVOID Buffer, - OUT PIO_STATUS_BLOCK IoStatus + IN PFILE_OBJECT FileObject, + IN ULONG FileOffset, + IN ULONG Length, + IN ULONG PageCount, + OUT PVOID Buffer, + OUT PIO_STATUS_BLOCK IoStatus ) { UNIMPLEMENTED; - return FALSE; } /* * @unimplemented */ -BOOLEAN +VOID STDCALL -CcFastCopyWrite ( - IN PFILE_OBJECT FileObject, - IN PLARGE_INTEGER FileOffset, - IN ULONG Length, - IN PVOID Buffer - ) +CcFastCopyWrite( + IN PFILE_OBJECT FileObject, + IN ULONG FileOffset, + IN ULONG Length, + IN PVOID Buffer) { UNIMPLEMENTED; - return FALSE; } /* _____ Deleted: trunk/reactos/ntoskrnl/cc/misc.c --- trunk/reactos/ntoskrnl/cc/misc.c 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/ntoskrnl/cc/misc.c 2005-01-01 01:51:05 UTC (rev 12675) @@ -1,11 +0,0 @@ -/* INCLUDES ******************************************************************/ - -#include <ntoskrnl.h> -#define NDEBUG -#include <internal/debug.h> - -/* GLOBALS *******************************************************************/ - -#define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S)) -#define ROUND_DOWN(N, S) (((N) % (S)) ? ROUND_UP(N, S) - S : N) - _____ Modified: trunk/reactos/ntoskrnl/cc/pin.c --- trunk/reactos/ntoskrnl/cc/pin.c 2005-01-01 01:11:54 UTC (rev 12674) +++ trunk/reactos/ntoskrnl/cc/pin.c 2005-01-01 01:51:05 UTC (rev 12675) @@ -1,4 +1,4 @@ -/* $Id: pin.c,v 1.18 2004/10/22 20:11:11 ekohl Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -117,7 +117,7 @@ IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, - IN BOOLEAN Wait, + IN ULONG Flags, OUT PVOID * Bcb ) { @@ -134,14 +134,14 @@ IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, - IN BOOLEAN Wait, + IN ULONG Flags, OUT PVOID * Bcb, OUT PVOID * Buffer ) { - if (CcMapData(FileObject, FileOffset, Length, Wait, Bcb, Buffer)) + if (CcMapData(FileObject, FileOffset, Length, Flags, Bcb, Buffer)) { - if (CcPinMappedData(FileObject, FileOffset, Length, Wait, Bcb)) + if (CcPinMappedData(FileObject, FileOffset, Length, Flags, Bcb)) return TRUE; else CcUnpinData(Bcb); @@ -159,7 +159,7 @@ IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Zero, - IN BOOLEAN Wait, + IN ULONG Flags, OUT PVOID * Bcb, OUT PVOID * Buffer ) @@ -172,7 +172,7 @@ * For now calling CcPinRead is better than returning error or * just having UNIMPLEMENTED here. */ - return CcPinRead(FileObject, FileOffset, Length, Wait, Bcb, Buffer); + return CcPinRead(FileObject, FileOffset, Length, Flags, Bcb, Buffer); } /*
19 years, 8 months
1
0
0
0
← Newer
1
...
67
68
69
70
71
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
66
67
68
69
70
71
Results per page:
10
25
50
100
200