From 6b50f46c2fbeb6556ca1f4beee48c04df321ba7e Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sun, 26 Dec 1999 16:36:46 +0000 Subject: [PATCH] Some old Fs/Po code added to the makefile svn path=/trunk/; revision=902 --- reactos/Makefile | 2 +- reactos/include/ddk/fsfuncs.h | 162 ++++++++++++++++++++++++++ reactos/include/ddk/status.h | 1 + reactos/include/ddk/zwtypes.h | 54 +++++++-- reactos/lib/psxdll/libc/stdlib/exit.c | 19 +-- reactos/lib/psxdll/makefile | 20 +++- reactos/lib/psxdll/psxdll.def | 14 +-- reactos/lib/psxdll/psxdll.edf | 14 +-- reactos/ntoskrnl/fs/util.c | 21 ++-- reactos/ntoskrnl/makefile_rex | 26 ++++- reactos/ntoskrnl/nls/nls.c | 6 +- reactos/ntoskrnl/ntoskrnl.def | 27 ++++- reactos/ntoskrnl/ntoskrnl.edf | 27 ++++- reactos/subsys/psxss/api/process.c | 9 +- 14 files changed, 345 insertions(+), 57 deletions(-) create mode 100644 reactos/include/ddk/fsfuncs.h diff --git a/reactos/Makefile b/reactos/Makefile index ac6b27952e5..9e7cb3b6669 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -15,7 +15,7 @@ include rules.mak # Required to run the system # COMPONENTS = iface_native ntoskrnl -DLLS = ntdll kernel32 crtdll advapi32 fmifs gdi32 psxdll +DLLS = ntdll kernel32 crtdll advapi32 fmifs gdi32 #DLLS = mingw32 user32 SUBSYS = smss win32k #SUBSYS = csrss diff --git a/reactos/include/ddk/fsfuncs.h b/reactos/include/ddk/fsfuncs.h new file mode 100644 index 00000000000..148802ca222 --- /dev/null +++ b/reactos/include/ddk/fsfuncs.h @@ -0,0 +1,162 @@ +#ifndef __INCLUDE_DDK_FSFUNCS_H +#define __INCLUDE_DDK_FSFUNCS_H +VOID +STDCALL +FsRtlAddLargeMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4, + DWORD Unknown5, + DWORD Unknown6 + ); +VOID +STDCALL +FsRtlAddMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3 + ); +VOID +STDCALL +FsRtlGetNextLargeMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4 + ); +VOID +STDCALL +FsRtlGetNextMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4 + ); +VOID +STDCALL +FsRtlInitializeLargeMcb ( + DWORD Unknown0, + DWORD Unknown1 + ); +VOID +STDCALL +FsRtlInitializeMcb ( + DWORD Unknown0, + DWORD Unknown1 + ); +BOOLEAN +STDCALL +FsRtlIsNtstatusExpected ( + NTSTATUS NtStatus + ); +BOOLEAN +STDCALL +FsRtlIsTotalDeviceFailure ( + NTSTATUS NtStatus + ); +VOID +STDCALL +FsRtlLookupLargeMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4, + DWORD Unknown5, + DWORD Unknown6, + DWORD Unknown7 + ); +VOID +STDCALL +FsRtlLookupLastLargeMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2 + ); +VOID +STDCALL +FsRtlLookupLastMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2 + ); +VOID +STDCALL +FsRtlLookupMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4 + ); +NTSTATUS +STDCALL +FsRtlNormalizeNtstatus ( + NTSTATUS NtStatusToNormalize, + NTSTATUS NormalizedNtStatus + ); +VOID +STDCALL +FsRtlNumberOfRunsInLargeMcb ( + DWORD Unknown0 + ); +VOID +STDCALL +FsRtlNumberOfRunsInMcb ( + DWORD Unknown0 + ); +VOID +STDCALL +FsRtlRemoveLargeMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4 + ); +VOID +STDCALL +FsRtlRemoveMcbEntry ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2 + ); +VOID +STDCALL +FsRtlSplitLargeMcb ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3, + DWORD Unknown4 + ); +VOID +STDCALL +FsRtlTruncateLargeMcb ( + DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2 + ); +VOID +STDCALL +FsRtlTruncateMcb ( + DWORD Unknown0, + DWORD Unknown1 + ); +VOID +STDCALL +FsRtlUninitializeLargeMcb ( + DWORD Unknown0 + ); +VOID +STDCALL +FsRtlUninitializeMcb ( + DWORD Unknown0 + ); + +#endif /* __INCLUDE_DDK_FSFUNCS_H */ diff --git a/reactos/include/ddk/status.h b/reactos/include/ddk/status.h index 882297b5673..f85488ea27f 100644 --- a/reactos/include/ddk/status.h +++ b/reactos/include/ddk/status.h @@ -290,6 +290,7 @@ #define STATUS_DEVICE_NOT_CONNECTED (0xc000009d) #define STATUS_DEVICE_POWER_FAILURE (0xc000009e) #define STATUS_FREE_VM_NOT_AT_BASE (0xc000009f) +#define STATUS_UNKNOWN_C00000AA (0xc00000aa) #define STATUS_MEMORY_NOT_ALLOCATED (0xc0000100) #define STATUS_WORKING_SET_QUOTA (0xc0000101) #define STATUS_MEDIA_WRITE_PROTECTED (0xc0000102) diff --git a/reactos/include/ddk/zwtypes.h b/reactos/include/ddk/zwtypes.h index 7358b050dda..943fee2ad33 100644 --- a/reactos/include/ddk/zwtypes.h +++ b/reactos/include/ddk/zwtypes.h @@ -130,9 +130,13 @@ typedef struct _LPCMESSAGE // system information -#define SystemPerformanceInformation 5 +#define SystemInformation0 0 +#define SystemInformation1 1 +#define SystemPerformanceInformation 2 +#define SystemInformation3 3 +#define SystemProcessInformation 5 #define SystemDriverInformation 11 -#define SystemIdentityInformation 12 +#define SystemPageFileInformation 18 #define SystemCacheInformation 21 #define SystemTimeAdjustmentInformation 28 #define SystemTimeZoneInformation 44 @@ -304,6 +308,32 @@ typedef struct _OBJECT_TYPE_INFORMATION // system information +#if 0 +#pragma pack(2) +typedef struct _SYSTEM_THREAD_INFORMATION +{ + PVOID StartAddress; + DWORD ParentPid; + DWORD Tid; + +} SYSTEM_THREAD_INFORMATION, * PSYSTEM_THREAD_INFORMATION; + + +typedef struct _SYSTEM_PROCESS_INFORMATION +{ + WORD Unknown0; + DWORD Unknown1; + DWORD Unknown2; + ULONG ThreadCount; + DWORD Unknown3 [10]; + DWORD Pid; + DWORD Unknown4 [32]; + WCHAR ImageName [16]; /* always ImageName[15] == L'\0' */ + +} SYSTEM_PROCESS_INFORMATION, * PSYSTEM_PROCESS_INFORMATION; +#endif + +#pragma pack(4) typedef struct _SYSTEM_DRIVER_INFO { PVOID BaseAddress; @@ -311,8 +341,9 @@ typedef struct _SYSTEM_DRIVER_INFO DWORD Unknown2; DWORD EntryIndex; DWORD Unknown4; - CHAR DriverName[MAX_PATH+1]; -} SYSTEM_DRIVER_INFO, *PSYSTEM_DRIVER_INFO; + CHAR DriverName [256]; + +} SYSTEM_DRIVER_INFO, * PSYSTEM_DRIVER_INFO; typedef struct _SYSTEM_DRIVERS_INFO { @@ -320,11 +351,12 @@ typedef struct _SYSTEM_DRIVERS_INFO SYSTEM_DRIVER_INFO DriverInfo[1]; } SYSTEM_DRIVERS_INFO, *PSYSTEM_DRIVERS_INFO; - +#pragma pack(4) typedef struct _SYSTEM_TIME_ADJUSTMENT { - ULONG TimeAdjustment; - BOOL TimeAdjustmentDisabled; + TIME TimeAdjustment; + BOOL TimeAdjustmentDisabled; + } SYSTEM_TIME_ADJUSTMENT, *PSYSTEM_TIME_ADJUSTMENT; typedef struct _SYSTEM_CONFIGURATION_INFO { @@ -347,6 +379,14 @@ typedef struct _SYSTEM_CONFIGURATION_INFO { } SYSTEM_CONFIGURATION_INFO, *PSYSTEM_CONFIGURATION_INFO; +typedef struct _SYSTEM_PAGEFILE_INFORMATION +{ + DWORD Unknown [6]; + WCHAR PagefileName [16]; + +} SYSTEM_PAGEFILE_INFORMATION, * PSYSTEM_PAGEFILE_INFORMATION; + + typedef struct _SYSTEM_CACHE_INFORMATION { ULONG CurrentSize; diff --git a/reactos/lib/psxdll/libc/stdlib/exit.c b/reactos/lib/psxdll/libc/stdlib/exit.c index 055b8dffffe..86311267069 100644 --- a/reactos/lib/psxdll/libc/stdlib/exit.c +++ b/reactos/lib/psxdll/libc/stdlib/exit.c @@ -1,4 +1,4 @@ -/* $Id: exit.c,v 1.2 1999/11/07 08:03:27 ea Exp $ +/* $Id: exit.c,v 1.3 1999/12/26 16:36:44 ea Exp $ * * reactos/lib/psxdll/libc/stdlib/exit.c * @@ -6,19 +6,24 @@ */ #define NTOS_MODE_USER #include +#include "../../misc/psxdll.h" - -void -_exit ( - int code - ) +void _exit (int code) { + NTSTATUS Status; + /* FIXME: call atexit registered functions */ +#if 0 + /* FIXME: notify psxss.exe we died */ + Status = NtRequestWaitReplyPort ( + __PdxApiPort, + ... + ); +#endif NtTerminateProcess ( NtCurrentProcess(), code ); - /* FIXME: notify psxss.exe we died */ } diff --git a/reactos/lib/psxdll/makefile b/reactos/lib/psxdll/makefile index 97b1049f92f..e57c506267d 100644 --- a/reactos/lib/psxdll/makefile +++ b/reactos/lib/psxdll/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.4 1999/11/07 08:03:26 ea Exp $ +# $Id: makefile,v 1.5 1999/12/26 16:36:44 ea Exp $ # # ReactOS psxdll.dll makefile # @@ -19,15 +19,29 @@ BASE_CFLAGS = -I../../include all: $(DLLTARGET) +OBJECTS_LIBC_IO = libc/io/dup.o libc/io/dup2.o libc/io/fcntl.o + OBJECTS_LIBC_STDLIB = libc/stdlib/exit.o -OBJECTS_LIBC = $(OBJECTS_LIBC_STDLIB) +OBJECTS_LIBC_SYS = libc/sys/uname.o + +OBJECTS_LIBC_TIME = libc/time/gettimeofday.o libc/time/time.o + +OBJECTS_LIBC = \ + $(OBJECTS_LIBC_IO) \ + $(OBJECTS_LIBC_STDLIB) \ + $(OBJECTS_LIBC_SYS) \ + $(OBJECTS_LIBC_TIME) OBJECTS_MISC = misc/dllmain.o misc/special.o misc/heap.o misc/rtl.o OBJECTS_RESOURCE = $(TARGETNAME).coff -OBJECTS = $(OBJECTS_LIBC) $(OBJECTS_LIBM) $(OBJECTS_MISC) $(OBJECTS_RESOURCE) +OBJECTS = \ + $(OBJECTS_LIBC) \ + $(OBJECTS_LIBM) \ + $(OBJECTS_MISC) \ + $(OBJECTS_RESOURCE) DEFS=$(TARGETNAME).def $(TARGETNAME).edf diff --git a/reactos/lib/psxdll/psxdll.def b/reactos/lib/psxdll/psxdll.def index 3d91d1adfcd..157546eabcc 100644 --- a/reactos/lib/psxdll/psxdll.def +++ b/reactos/lib/psxdll/psxdll.def @@ -1,4 +1,4 @@ -; $Id: psxdll.def,v 1.6 1999/11/20 21:47:22 ekohl Exp $ +; $Id: psxdll.def,v 1.7 1999/12/26 16:36:44 ea Exp $ ; ; psxdll.def ; @@ -62,8 +62,8 @@ _exit ;creat ;ctermid ;cuserid -;dup -;dup2 +dup +dup2 ;endutxent ;execl ;execl_asuser @@ -77,7 +77,7 @@ _exit ;execve_asuser ;execvp ;execvp_asuser -;fcntl +fcntl ;flock ;fork ;fpathconf @@ -114,7 +114,7 @@ _exit ;getservbyport ;getsockname ;getsockopt -;gettimeofday +gettimeofday ;gettzenv ;getuid ;getutxent @@ -203,12 +203,12 @@ _exit ;tcsendbreak ;tcsetattr ;tcsetpgrp -;time +time ;times ;ttyname ;uidtontsid ;umask -;uname +uname ;unlink ;unlockpt ;utime diff --git a/reactos/lib/psxdll/psxdll.edf b/reactos/lib/psxdll/psxdll.edf index ddd365e1413..a37af404841 100644 --- a/reactos/lib/psxdll/psxdll.edf +++ b/reactos/lib/psxdll/psxdll.edf @@ -1,4 +1,4 @@ -; $Id: psxdll.edf,v 1.5 1999/11/20 21:47:22 ekohl Exp $ +; $Id: psxdll.edf,v 1.6 1999/12/26 16:36:44 ea Exp $ ; ; psxdll.edf ; @@ -62,8 +62,8 @@ _exit ;creat ;ctermid ;cuserid -;dup -;dup2 +dup +dup2 ;endutxent ;execl ;execl_asuser @@ -77,7 +77,7 @@ _exit ;execve_asuser ;execvp ;execvp_asuser -;fcntl +fcntl ;flock ;fork ;fpathconf @@ -114,7 +114,7 @@ _exit ;getservbyport ;getsockname ;getsockopt -;gettimeofday +gettimeofday ;gettzenv ;getuid ;getutxent @@ -203,12 +203,12 @@ _exit ;tcsendbreak ;tcsetattr ;tcsetpgrp -;time +time ;times ;ttyname ;uidtontsid ;umask -;uname +uname ;unlink ;unlockpt ;utime diff --git a/reactos/ntoskrnl/fs/util.c b/reactos/ntoskrnl/fs/util.c index e325506b447..dae5c271fc6 100644 --- a/reactos/ntoskrnl/fs/util.c +++ b/reactos/ntoskrnl/fs/util.c @@ -1,4 +1,4 @@ -/* $Id: util.c,v 1.1 1999/08/20 16:29:22 ea Exp $ +/* $Id: util.c,v 1.2 1999/12/26 16:36:45 ea Exp $ * * reactos/ntoskrnl/fs/util.c * @@ -20,12 +20,9 @@ * * RETURN VALUE * FALSE if either (NtStatus >= STATUS_SUCCESS), - * STATUS_CRC_ERROR, 0xC000009C; TRUE otherwise. + * STATUS_CRC_ERROR, STATUS_DEVICE_DATA_ERROR; + * TRUE otherwise. * - * NOTES - * By calling the function with all possible values, - * one unknown NTSTATUS value makes the function - * return TRUE (0xC000009C). */ BOOLEAN STDCALL @@ -36,7 +33,7 @@ FsRtlIsTotalDeviceFailure ( return ( (NT_SUCCESS(NtStatus)) || (STATUS_CRC_ERROR == NtStatus) - || (STATUS_UNKNOWN_C000009C == NtStatus) /* FIXME */ + || (STATUS_DEVICE_DATA_ERROR == NtStatus) ? FALSE : TRUE ); @@ -57,13 +54,13 @@ FsRtlIsTotalDeviceFailure ( * * RETURN VALUE * TRUE if NtStatus is either STATUS_ACCESS_VIOLATION, - * STATUS_ILLEGAL_INSTRUCTION, 0x80000002, 0xC00000AA; - * FALSE otherwise. + * STATUS_ILLEGAL_INSTRUCTION, STATUS_DATATYPE_MISALIGNMENT, + * 0xC00000AA; FALSE otherwise. * * NOTES * By calling the function with all possible values, - * two unknown NTSTATUS values make the function - * return 0x00 (0x80000002, 0xC00000AA). + * one unknown NTSTATUS value makes the function + * return 0x00 (0xC00000AA). */ BOOLEAN STDCALL @@ -72,7 +69,7 @@ FsRtlIsNtstatusExpected ( ) { return ( - (STATUS_UNKNOWN_80000002 == NtStatus) /* FIXME */ + (STATUS_DATATYPE_MISALIGNMENT == NtStatus) || (STATUS_ACCESS_VIOLATION == NtStatus) || (STATUS_ILLEGAL_INSTRUCTION == NtStatus) || (STATUS_UNKNOWN_C00000AA == NtStatus) /* FIXME */ diff --git a/reactos/ntoskrnl/makefile_rex b/reactos/ntoskrnl/makefile_rex index 5bedb6d2902..aef45c1500b 100644 --- a/reactos/ntoskrnl/makefile_rex +++ b/reactos/ntoskrnl/makefile_rex @@ -1,4 +1,4 @@ -# $Id: makefile_rex,v 1.41 1999/12/26 15:50:47 dwelch Exp $ +# $Id: makefile_rex,v 1.42 1999/12/26 16:36:44 ea Exp $ # # ReactOS Operating System # @@ -55,14 +55,22 @@ EX_OBJECTS = ex/work.o ex/fmutex.o ex/resource.o ex/time.o ex/interlck.o \ ex/callback.o ex/napi.o ex/power.o ex/sysinfo.o ex/locale.o \ ex/stamp.o ex/init.o +FS_OBJECTS = fs/mcb.o fs/util.o + SE_OBJECTS = se/semgr.o se/acl.o se/sid.o se/sd.o se/token.o se/luid.o +SE_OBJECTS = se/semgr.o + CM_OBJECTS = cm/registry.o DBG_OBJECTS = dbg/brkpoint.o dbg/errinfo.o dbg/print.o LDR_OBJECTS = ldr/loader.o ldr/init.o ldr/syspath.o +NLS_OBJECTS = nls/nls.o + +PO_OBJECTS = po/power.o + CC_OBJECTS = cc/cacheman.o cc/view.o KD_OBJECTS = kd/kdebug.o @@ -96,6 +104,9 @@ objects/ps.o: $(PS_OBJECTS) objects/ex.o: $(EX_OBJECTS) $(LD) -r $(EX_OBJECTS) -o objects/ex.o +objects/fs.o: $(FS_OBJECTS) + $(LD) -r $(FS_OBJECTS) -o objects/fs.o + objects/se.o: $(SE_OBJECTS) $(LD) -r $(SE_OBJECTS) -o objects/se.o @@ -108,9 +119,15 @@ objects/dbg.o: $(DBG_OBJECTS) objects/ldr.o: $(LDR_OBJECTS) $(LD) -r $(LDR_OBJECTS) -o objects/ldr.o +objects/nls.o: $(NLS_OBJECTS) + $(LD) -r $(NLS_OBJECTS) -o objects/nls.o + objects/nt.o: $(NT_OBJECTS) $(LD) -r $(NT_OBJECTS) -o objects/nt.o +objects/po.o: $(PO_OBJECTS) + $(LD) -r $(PO_OBJECTS) -o objects/po.o + objects/cc.o: $(CC_OBJECTS) $(LD) -r $(CC_OBJECTS) -o objects/cc.o @@ -123,19 +140,20 @@ $(TARGET).coff: $(TARGET).rc ../include/reactos/resource.h OBJECTS = objects/hal.o objects/ke.o objects/rtl.o objects/mm.o \ objects/io.o objects/ob.o objects/ps.o objects/ex.o \ objects/se.o objects/cm.o objects/dbg.o objects/nt.o \ - objects/cc.o objects/kd.o objects/ldr.o \ + objects/cc.o objects/kd.o objects/ldr.o objects/fs.o \ + objects/po.o objects/nls.o \ $(TARGET).coff ifeq ($(DOSCLI),yes) CLEAN_FILES = objects\*.o cc\*.o cm\*.o dbg\*.o ex\*.o hal\x86\*.o io\*.o \ ke\*.o ldr\*.o mm\*.o nt\*.o ob\*.o ps\*.o rtl\*.o se\*.o \ - ke\i386\*.o mm\i386\*.o \ + ke\i386\*.o mm\i386\*.o fs\*.o po\*.o nls\*.o \ kd\*.o utils\export\export.exe $(TARGET).o $(TARGET).a junk.tmp \ base.tmp temp.exp $(TARGET).exe $(TARGET).sym $(TARGET).coff else CLEAN_FILES = objects/*.o cc/*.o cm/*.o dbg/*.o ex/*.o hal/x86/*.o io/*.o \ ke/*.o ldr/*.o mm/*.o nt/*.o ob/*.o ps/*.o rtl/*.o se/*.o \ - ke/i386/*.o mm/i386/*.o \ + ke/i386/*.o mm/i386/*.o fs/*.o po/*.o nls/*.o \ kd/*.o utils/export/export $(TARGET).o $(TARGET).a junk.tmp \ base.tmp temp.exp $(TARGET).exe $(TARGET).sym $(TARGET).coff endif diff --git a/reactos/ntoskrnl/nls/nls.c b/reactos/ntoskrnl/nls/nls.c index 7676ef6be2a..8d3a52ea730 100644 --- a/reactos/ntoskrnl/nls/nls.c +++ b/reactos/ntoskrnl/nls/nls.c @@ -1,13 +1,14 @@ -/* $Id: nls.c,v 1.1 1999/08/20 16:30:16 ea Exp $ +/* $Id: nls.c,v 1.2 1999/12/26 16:36:45 ea Exp $ * * reactos/ntoskrnl/nls/nls.c */ #include +#if 0 BYTE NlsLeadByteInfo = 0; /* ? */ -USHORT +BOOLEAN /* USHORT? */ NlsMbCodePageTag = 0; USHORT @@ -15,5 +16,6 @@ NlsOemLeadByteInfo = 0; USHORT NlsAnsiCodePage = 0; +#endif /* EOF */ diff --git a/reactos/ntoskrnl/ntoskrnl.def b/reactos/ntoskrnl/ntoskrnl.def index 48efb2e5dd2..7f4d02e900f 100644 --- a/reactos/ntoskrnl/ntoskrnl.def +++ b/reactos/ntoskrnl/ntoskrnl.def @@ -1,4 +1,4 @@ -; $Id: ntoskrnl.def,v 1.32 1999/12/11 21:14:47 dwelch Exp $ +; $Id: ntoskrnl.def,v 1.33 1999/12/26 16:36:44 ea Exp $ ; ; reactos/ntoskrnl/ntoskrnl.def ; @@ -75,6 +75,28 @@ ExReleaseResourceForThread ExReleaseResourceForThreadLite ExSystemTimeToLocalTime ExTryToAcquireResourceExclusiveLite +FsRtlAddLargeMcbEntry@28 +FsRtlAddMcbEntry@16 +FsRtlGetNextLargeMcbEntry@20 +FsRtlGetNextMcbEntry@20 +FsRtlInitializeLargeMcb@8 +FsRtlInitializeMcb@8 +FsRtlIsNtstatusExpected@4 +FsRtlIsTotalDeviceFailure@4 +FsRtlLookupLargeMcbEntry@32 +FsRtlLookupLastLargeMcbEntry@12 +FsRtlLookupLastMcbEntry@12 +FsRtlLookupMcbEntry@20 +FsRtlNormalizeNtstatus@8 +FsRtlNumberOfRunsInLargeMcb@4 +FsRtlNumberOfRunsInMcb@4 +FsRtlRemoveLargeMcbEntry@20 +FsRtlRemoveMcbEntry@12 +FsRtlSplitLargeMcb@20 +FsRtlTruncateLargeMcb@12 +FsRtlTruncateMcb@8 +FsRtlUninitializeLargeMcb@4 +FsRtlUninitializeMcb@4 HalRegisterServiceTable IoAllocateController IoAttachDeviceToDeviceStack @@ -175,6 +197,9 @@ NtUnlockFile@20 ;NtVdmControl@8 <--- ? NtWaitForSingleObject@12 NtWriteFile@36 +PoQueryPowerSequence@0 +PoRequestPowerChange@12 +PoSetDeviceIdleDetection@8 RtlAnsiCharToUnicodeChar@4 RtlAnsiStringToUnicodeSize@4 RtlAnsiStringToUnicodeString@12 diff --git a/reactos/ntoskrnl/ntoskrnl.edf b/reactos/ntoskrnl/ntoskrnl.edf index e638ee0fc34..f541c4a6170 100644 --- a/reactos/ntoskrnl/ntoskrnl.edf +++ b/reactos/ntoskrnl/ntoskrnl.edf @@ -1,4 +1,4 @@ -; $Id: ntoskrnl.edf,v 1.19 1999/12/11 21:14:48 dwelch Exp $ +; $Id: ntoskrnl.edf,v 1.20 1999/12/26 16:36:44 ea Exp $ ; ; reactos/ntoskrnl/ntoskrnl.def ; @@ -75,6 +75,28 @@ ExReleaseResourceForThread ExReleaseResourceForThreadLite ExSystemTimeToLocalTime ExTryToAcquireResourceExclusiveLite +FsRtlAddLargeMcbEntry=FsRtlAddLargeMcbEntry@28 +FsRtlAddMcbEntry=FsRtlAddMcbEntry@16 +FsRtlGetNextLargeMcbEntry=FsRtlGetNextLargeMcbEntry@20 +FsRtlGetNextMcbEntry=FsRtlGetNextMcbEntry@20 +FsRtlInitializeLargeMcb=FsRtlInitializeLargeMcb@8 +FsRtlInitializeMcb=FsRtlInitializeMcb@8 +FsRtlIsNtstatusExpected=FsRtlIsNtstatusExpected@4 +FsRtlIsTotalDeviceFailure=FsRtlIsTotalDeviceFailure@4 +FsRtlLookupLargeMcbEntry=FsRtlLookupLargeMcbEntry@32 +FsRtlLookupLastLargeMcbEntry=FsRtlLookupLastLargeMcbEntry@12 +FsRtlLookupLastMcbEntry=FsRtlLookupLastMcbEntry@12 +FsRtlLookupMcbEntry=FsRtlLookupMcbEntry@20 +FsRtlNormalizeNtstatus=FsRtlNormalizeNtstatus@8 +FsRtlNumberOfRunsInLargeMcb=FsRtlNumberOfRunsInLargeMcb@4 +FsRtlNumberOfRunsInMcb=FsRtlNumberOfRunsInMcb@4 +FsRtlRemoveLargeMcbEntry=FsRtlRemoveLargeMcbEntry@20 +FsRtlRemoveMcbEntry=FsRtlRemoveMcbEntry@12 +FsRtlSplitLargeMcb=FsRtlSplitLargeMcb@20 +FsRtlTruncateLargeMcb=FsRtlTruncateLargeMcb@12 +FsRtlTruncateMcb=FsRtlTruncateMcb@8 +FsRtlUninitializeLargeMcb=FsRtlUninitializeLargeMcb@4 +FsRtlUninitializeMcb=FsRtlUninitializeMcb@4 HalRegisterServiceTable IoAllocateController IoAttachDeviceToDeviceStack @@ -175,6 +197,9 @@ NtUnlockFile=NtUnlockFile@20 ;NtVdmControl@8 <--- ? NtWaitForSingleObject=NtWaitForSingleObject@12 NtWriteFile=NtWriteFile@36 +PoQueryPowerSequence=PoQueryPowerSequence@0 +PoRequestPowerChange=PoRequestPowerChange@12 +PoSetDeviceIdleDetection=PoSetDeviceIdleDetection@8 RtlAnsiCharToUnicodeChar=RtlAnsiCharToUnicodeChar@4 RtlAnsiStringToUnicodeSize=RtlAnsiStringToUnicodeSize@4 RtlAnsiStringToUnicodeString=RtlAnsiStringToUnicodeString@12 diff --git a/reactos/subsys/psxss/api/process.c b/reactos/subsys/psxss/api/process.c index cbacdf754d1..e569b5fe11d 100644 --- a/reactos/subsys/psxss/api/process.c +++ b/reactos/subsys/psxss/api/process.c @@ -1,22 +1,21 @@ -/* $Id: process.c,v 1.1 1999/07/17 23:10:31 ea Exp $ +/* $Id: process.c,v 1.2 1999/12/26 16:36:46 ea Exp $ * * reactos/subsys/psxss/api/process.c * * ReactOS Operating System * */ -static LPC_RETURN_CODE -PSXSS_creat( +POSIX_PROCESS_Create ( PLPC_REQUEST_REPLY pLpcRequestReply ) { return LPC_ERROR_CALL_NOT_IMPLEMENTED; } -static + LPC_RETURN_CODE -PSXSS_terminate( +POSIX_PROCESS_Terminate ( PLPC_REQUEST_REPLY pLpcRequestReply ) {