mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Cleaning up before moving psxdll in subsys/psx/client .
svn path=/trunk/; revision=1464
This commit is contained in:
parent
7235c776e4
commit
1439a96e69
11 changed files with 0 additions and 1195 deletions
|
@ -1,2 +0,0 @@
|
|||
psxdll.coff
|
||||
psxdll.dll
|
|
@ -1,30 +0,0 @@
|
|||
/* $Id: exit.c,v 1.3 1999/12/26 16:36:44 ea Exp $
|
||||
*
|
||||
* reactos/lib/psxdll/libc/stdlib/exit.c
|
||||
*
|
||||
* POSIX+ Subsystem client shared library
|
||||
*/
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include "../../misc/psxdll.h"
|
||||
|
||||
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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
|
@ -1,119 +0,0 @@
|
|||
# $Id: makefile,v 1.9 2000/11/20 19:59:09 ekohl Exp $
|
||||
#
|
||||
# ReactOS psxdll.dll makefile
|
||||
#
|
||||
PATH_TO_TOP = ../..
|
||||
|
||||
TARGETNAME=psxdll
|
||||
|
||||
DLLTARGET=$(TARGETNAME).dll
|
||||
|
||||
|
||||
BASE_CFLAGS =-Iinclude -I../../include -D__PSXDLL__
|
||||
|
||||
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_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)
|
||||
|
||||
DEFS=$(TARGETNAME).def $(TARGETNAME).edf
|
||||
|
||||
$(TARGETNAME).coff: $(TARGETNAME).rc ../../include/reactos/resource.h
|
||||
|
||||
$(TARGETNAME).a: $(OBJECTS)
|
||||
$(LD) \
|
||||
-r $(OBJECTS) \
|
||||
-o $(TARGETNAME).a
|
||||
|
||||
$(TARGETNAME).dll: $(DLLMAIN) $(OBJECTS) $(DEFS)
|
||||
$(LD) \
|
||||
-r $(OBJECTS) \
|
||||
-o $(TARGETNAME).o
|
||||
$(DLLTOOL) \
|
||||
--dllname $(TARGETNAME) \
|
||||
--def $(TARGETNAME).def \
|
||||
--kill-at \
|
||||
--output-lib $(TARGETNAME).a
|
||||
$(CC) \
|
||||
-specs=$(TARGETNAME)_specs \
|
||||
-mdll \
|
||||
-o junk.tmp \
|
||||
-Wl,--base-file,base.tmp \
|
||||
$(TARGETNAME).o \
|
||||
../ntdll/ntdll.a
|
||||
- $(RM) junk.tmp
|
||||
$(DLLTOOL) \
|
||||
--dllname $(TARGETNAME) \
|
||||
--base-file base.tmp \
|
||||
--output-exp temp.exp \
|
||||
--def $(TARGETNAME).edf
|
||||
- $(RM) base.tmp
|
||||
$(CC) \
|
||||
-specs=$(TARGETNAME)_specs \
|
||||
-mdll \
|
||||
-o $(TARGETNAME).dll \
|
||||
$(TARGETNAME).o \
|
||||
../ntdll/ntdll.a\
|
||||
-Wl,--entry,_DllMain@12 \
|
||||
-Wl,--image-base,0x75390000 \
|
||||
-Wl,--file-alignment,0x200 \
|
||||
-Wl,--section-alignment,0x1000 \
|
||||
-Wl,--subsystem,posix:19.90 \
|
||||
-Wl,temp.exp
|
||||
- $(RM) temp.exp
|
||||
$(NM) --numeric-sort $(TARGETNAME).dll > $(TARGETNAME).sym
|
||||
|
||||
|
||||
ifeq ($(DOSCLI),yes)
|
||||
CLEAN_FILES = *.o *.a misc\*.o libc\stdlib\*.o \
|
||||
$(TARGETNAME).o $(TARGETNAME).a junk.tmp base.tmp temp.exp \
|
||||
$(TARGETNAME).dll $(TARGETNAME).sym $(TARGETNAME).coff
|
||||
else
|
||||
CLEAN_FILES = *.o *.a misc/*.o libc/stdlib/*.o \
|
||||
$(TARGET).o $(TARGET).a junk.tmp base.tmp temp.exp \
|
||||
$(TARGETNAME).dll $(TARGETNAME).sym $(TARGETNAME).coff
|
||||
endif
|
||||
|
||||
clean: $(CLEAN_FILES:%=%_clean)
|
||||
|
||||
$(CLEAN_FILES:%=%_clean): %_clean:
|
||||
- $(RM) $*
|
||||
|
||||
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
||||
|
||||
install: $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll
|
||||
|
||||
$(FLOPPY_DIR)/dlls/$(TARGETNAME).dll: $(TARGETNAME).dll
|
||||
$(CP) $(TARGETNAME).dll $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll
|
||||
|
||||
dist: $(DIST_DIR)/dlls/$(TARGETNAME).dll
|
||||
|
||||
$(DIST_DIR)/dlls/$(TARGETNAME).dll: $(TARGETNAME).dll
|
||||
$(CP) $(TARGETNAME).dll ../../$(DIST_DIR)/dlls/$(TARGETNAME).dll
|
||||
|
||||
#WARNINGS_ARE_ERRORS = yes
|
||||
include ../../rules.mak
|
||||
|
||||
# EOF
|
|
@ -1,79 +0,0 @@
|
|||
/* $Id: dllmain.c,v 1.2 1999/10/12 21:17:05 ea Exp $
|
||||
*
|
||||
* reactos/subsys/psxdll/dllmain.c
|
||||
*
|
||||
* ReactOS Operating System
|
||||
* - POSIX+ client side DLL (ReactOS POSIX+ Subsystem)
|
||||
*/
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include <reactos/config.h>
|
||||
|
||||
|
||||
/* --- Data --- */
|
||||
|
||||
PVOID
|
||||
__PdxHeap = NULL;
|
||||
|
||||
HANDLE
|
||||
__PdxApiPort = INVALID_HANDLE_VALUE;
|
||||
|
||||
HINSTANCE
|
||||
__PdxModuleHandle;
|
||||
|
||||
/* --- Internal functions --- */
|
||||
|
||||
|
||||
BOOLEAN
|
||||
__PdxConnectToPsxSs (VOID)
|
||||
{
|
||||
/* FIXME: call NtConnectPort(); */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* --- Library entry point --- */
|
||||
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
DllMain (
|
||||
HINSTANCE hInstDll,
|
||||
DWORD fdwReason,
|
||||
LPVOID fImpLoad
|
||||
)
|
||||
{
|
||||
if (DLL_PROCESS_ATTACH == fdwReason)
|
||||
{
|
||||
/*
|
||||
* Save the module handle.
|
||||
*/
|
||||
__PdxModuleHandle = hInstDll;
|
||||
/*
|
||||
* Create a heap for the client process.
|
||||
* Initially its size is the same as the
|
||||
* memory page size; it is growable and
|
||||
* grows 512 bytes a time.
|
||||
*/
|
||||
__PdxHeap = RtlCreateHeap (
|
||||
3, /* Flags */
|
||||
NULL, /* Base address */
|
||||
CONFIG_MEMORY_PAGE_SIZE, /* Initial size */
|
||||
512, /* Maximum size/grow by */
|
||||
0, /* unknown */
|
||||
NULL /* PHEAP_DEFINITION */
|
||||
);
|
||||
/*
|
||||
* Connect to the POSIX+ subsystem
|
||||
* process (psxss.exe).
|
||||
*/
|
||||
if (FALSE == __PdxConnectToPsxSs())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
|
@ -1,93 +0,0 @@
|
|||
/* $Id: heap.c,v 1.1 1999/09/12 21:54:16 ea Exp $
|
||||
*
|
||||
* reactos/lib/psxdll/misc/heap.c
|
||||
*
|
||||
* ReactOS Operating System
|
||||
*
|
||||
*/
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
|
||||
HANDLE
|
||||
STDCALL
|
||||
GetProcessHeap (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
/* FIXME: Right? */
|
||||
return RtlGetProcessHeap ();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* NOTE: These functions are forwarded programmatically
|
||||
* to NTDLL: they should be imported automatically by the
|
||||
* linker instead.
|
||||
*/
|
||||
LPVOID
|
||||
STDCALL
|
||||
HeapAlloc (
|
||||
HANDLE hHeap,
|
||||
DWORD dwFlags,
|
||||
DWORD dwBytes
|
||||
)
|
||||
{
|
||||
return RtlAllocateHeap (
|
||||
hHeap,
|
||||
dwFlags,
|
||||
dwBytes
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
WINBOOL
|
||||
STDCALL
|
||||
HeapFree (
|
||||
HANDLE hHeap,
|
||||
DWORD dwFlags,
|
||||
LPVOID lpMem
|
||||
)
|
||||
{
|
||||
return RtlFreeHeap (
|
||||
hHeap,
|
||||
dwFlags,
|
||||
lpMem
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
LPVOID
|
||||
STDCALL
|
||||
HeapReAlloc (
|
||||
HANDLE hHeap,
|
||||
DWORD dwFlags,
|
||||
LPVOID lpMem,
|
||||
DWORD dwBytes
|
||||
)
|
||||
{
|
||||
return RtlReAllocateHeap (
|
||||
hHeap,
|
||||
dwFlags,
|
||||
lpMem,
|
||||
dwBytes
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
DWORD
|
||||
STDCALL
|
||||
HeapSize(
|
||||
HANDLE hHeap,
|
||||
DWORD dwFlags,
|
||||
LPCVOID lpMem
|
||||
)
|
||||
{
|
||||
return RtlSizeHeap (
|
||||
hHeap,
|
||||
dwFlags,
|
||||
lpMem
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
|
@ -1,273 +0,0 @@
|
|||
/* $Id: rtl.c,v 1.3 1999/11/20 21:47:38 ekohl Exp $
|
||||
*
|
||||
* reactos/lib/psxdll/misc/rtl.c
|
||||
*
|
||||
* ReactOS Operating System
|
||||
*
|
||||
* NOTE: These functions should be imported automatically by
|
||||
* the linker.
|
||||
*
|
||||
*/
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include <wchar.h>
|
||||
|
||||
|
||||
WCHAR
|
||||
STDCALL
|
||||
RtlAnsiCharToUnicodeChar (
|
||||
CHAR AnsiChar
|
||||
)
|
||||
{
|
||||
ULONG Size;
|
||||
WCHAR UnicodeChar;
|
||||
|
||||
Size = 1;
|
||||
#if 0
|
||||
Size = (NlsLeadByteInfo[AnsiChar] == 0) ? 1 : 2;
|
||||
#endif
|
||||
|
||||
RtlMultiByteToUnicodeN (&UnicodeChar,
|
||||
sizeof(WCHAR),
|
||||
NULL,
|
||||
&AnsiChar,
|
||||
Size);
|
||||
|
||||
return UnicodeChar;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlFillMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length,
|
||||
UCHAR Fill
|
||||
)
|
||||
{
|
||||
register PCHAR w = (PCHAR) Destination;
|
||||
register UCHAR f = Fill;
|
||||
register ULONG n = Length;
|
||||
|
||||
while (n--) *w++ = f;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlMoveMemory (
|
||||
PVOID Destination,
|
||||
CONST VOID * Source,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
register PCHAR w = (PCHAR) Destination;
|
||||
register PCHAR r = (PCHAR) Source;
|
||||
register ULONG n = Length;
|
||||
|
||||
while (n--) *w++ = *r++;
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
RtlMultiByteToUnicodeN(PWCHAR UnicodeString,
|
||||
ULONG UnicodeSize,
|
||||
PULONG ResultSize,
|
||||
PCHAR MbString,
|
||||
ULONG MbSize)
|
||||
{
|
||||
ULONG Size = 0;
|
||||
ULONG i;
|
||||
|
||||
if (NLS_MB_CODE_PAGE_TAG == FALSE)
|
||||
{
|
||||
/* single-byte code page */
|
||||
if (MbSize > (UnicodeSize / sizeof(WCHAR)))
|
||||
Size = UnicodeSize / sizeof(WCHAR);
|
||||
else
|
||||
Size = MbSize;
|
||||
|
||||
if (ResultSize != NULL)
|
||||
*ResultSize = Size * sizeof(WCHAR);
|
||||
|
||||
for (i = 0; i < Size; i++)
|
||||
{
|
||||
*UnicodeString = *MbString;
|
||||
#if 0
|
||||
*UnicodeString = AnsiToUnicodeTable[*MbString];
|
||||
#endif
|
||||
|
||||
UnicodeString++;
|
||||
MbString++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* multi-byte code page */
|
||||
/* FIXME */
|
||||
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
RtlUnicodeToMultiByteN (
|
||||
PCHAR MbString,
|
||||
ULONG MbSize,
|
||||
PULONG ResultSize,
|
||||
PWCHAR UnicodeString,
|
||||
ULONG UnicodeSize
|
||||
)
|
||||
{
|
||||
ULONG Size = 0;
|
||||
ULONG i;
|
||||
|
||||
if (NLS_MB_CODE_PAGE_TAG == FALSE)
|
||||
{
|
||||
/* single-byte code page */
|
||||
if (UnicodeSize > (MbSize * sizeof(WCHAR)))
|
||||
Size = MbSize;
|
||||
else
|
||||
Size = UnicodeSize / sizeof(WCHAR);
|
||||
|
||||
if (ResultSize != NULL)
|
||||
*ResultSize = Size;
|
||||
|
||||
for (i = 0; i < Size; i++)
|
||||
{
|
||||
*MbString = *UnicodeString;
|
||||
#if 0
|
||||
*MbString = UnicodeToAnsiTable[*UnicodeString];
|
||||
#endif
|
||||
|
||||
MbString++;
|
||||
UnicodeString++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* multi-byte code page */
|
||||
/* FIXME */
|
||||
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
RtlUnicodeToMultiByteSize (
|
||||
PULONG MbSize,
|
||||
PWCHAR UnicodeString,
|
||||
ULONG UnicodeSize
|
||||
)
|
||||
{
|
||||
if (NLS_MB_CODE_PAGE_TAG == FALSE)
|
||||
{
|
||||
/* single-byte code page */
|
||||
*MbSize = UnicodeSize / sizeof (WCHAR);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* multi-byte code page */
|
||||
/* FIXME */
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlUnwind (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
WCHAR
|
||||
STDCALL
|
||||
RtlUpcaseUnicodeChar (
|
||||
WCHAR Source
|
||||
)
|
||||
{
|
||||
if (Source < L'a')
|
||||
return Source;
|
||||
|
||||
if (Source <= L'z')
|
||||
return (Source - (L'a' - L'A'));
|
||||
|
||||
/* FIXME: characters above 'z' */
|
||||
|
||||
return Source;
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
RtlUpcaseUnicodeToMultiByteN (
|
||||
PCHAR MbString,
|
||||
ULONG MbSize,
|
||||
PULONG ResultSize,
|
||||
PWCHAR UnicodeString,
|
||||
ULONG UnicodeSize
|
||||
)
|
||||
{
|
||||
ULONG Size = 0;
|
||||
ULONG i;
|
||||
|
||||
if (NLS_MB_CODE_PAGE_TAG == FALSE)
|
||||
{
|
||||
/* single-byte code page */
|
||||
if (UnicodeSize > (MbSize * sizeof(WCHAR)))
|
||||
Size = MbSize;
|
||||
else
|
||||
Size = UnicodeSize / sizeof(WCHAR);
|
||||
|
||||
if (ResultSize != NULL)
|
||||
*ResultSize = Size;
|
||||
|
||||
for (i = 0; i < Size; i++)
|
||||
{
|
||||
/* FIXME: Upcase!! */
|
||||
*MbString = *UnicodeString;
|
||||
#if 0
|
||||
*MbString = UnicodeToAnsiTable[*UnicodeString];
|
||||
#endif
|
||||
|
||||
MbString++;
|
||||
UnicodeString++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* multi-byte code page */
|
||||
/* FIXME */
|
||||
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlZeroMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
register PCHAR z = (PCHAR) Destination;
|
||||
register UINT n = Length;
|
||||
|
||||
while (n--) *z++ = (CHAR) 0;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
|
@ -1,49 +0,0 @@
|
|||
/* $Id: special.c,v 1.2 1999/10/12 21:17:05 ea Exp $
|
||||
*
|
||||
* reactos/subsys/psxdll/misc/special.c
|
||||
*
|
||||
* ReactOS Operating System
|
||||
* - POSIX+ client side DLL (ReactOS POSIX+ Subsystem)
|
||||
*/
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
|
||||
|
||||
/* Unknown */
|
||||
typedef
|
||||
struct _INITIALIZATION_DATA
|
||||
{
|
||||
DWORD Unknown0;
|
||||
DWORD Unknown1;
|
||||
|
||||
} INITIALIZATION_DATA, * PINITIALIZATION_DATA;
|
||||
|
||||
|
||||
INITIALIZATION_DATA
|
||||
InitializationData = { 0, 0 };
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
__PdxInitializeData (
|
||||
DWORD Unknown0,
|
||||
DWORD Unknown1
|
||||
)
|
||||
{
|
||||
InitializationData.Unknown0 = Unknown0;
|
||||
InitializationData.Unknown1 = Unknown1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
LPWSTR
|
||||
STDCALL
|
||||
__PdxGetCmdLine (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
|
@ -1,217 +0,0 @@
|
|||
; $Id: psxdll.def,v 1.7 1999/12/26 16:36:44 ea Exp $
|
||||
;
|
||||
; psxdll.def
|
||||
;
|
||||
; ReactOS POSIX+ Subsystem
|
||||
;
|
||||
LIBRARY psxdll.dll
|
||||
|
||||
IMPORTS
|
||||
ntdll.RtlAllocateHeap@12
|
||||
ntdll.RtlFreeHeap@12
|
||||
ntdll.RtlReAllocateHeap@16
|
||||
ntdll.RtlSizeHeap@12
|
||||
ntdll.RtlAnsiCharToUnicodeChar@4
|
||||
ntdll.RtlFillMemory@12
|
||||
ntdll.RtlMoveMemory@12
|
||||
ntdll.RtlMultiByteToUnicodeN@20
|
||||
ntdll.RtlUnicodeToMultiByteN@20
|
||||
ntdll.RtlUnicodeToMultiByteSize@12
|
||||
ntdll.RtlUnwind@0
|
||||
ntdll.RtlUpcaseUnicodeChar@4
|
||||
ntdll.RtlUpcaseUnicodeToMultiByteN@20
|
||||
ntdll.RtlZeroMemory@8
|
||||
|
||||
EXPORTS
|
||||
GetProcessHeap@0
|
||||
HeapAlloc@12
|
||||
HeapFree@12
|
||||
HeapReAlloc@16
|
||||
HeapSize@12
|
||||
RtlAnsiCharToUnicodeChar@4
|
||||
RtlFillMemory@12
|
||||
RtlMoveMemory@12
|
||||
RtlMultiByteToUnicodeN@20
|
||||
RtlUnicodeToMultiByteN@20
|
||||
RtlUnicodeToMultiByteSize@12
|
||||
RtlUnwind@0
|
||||
RtlUpcaseUnicodeChar@4
|
||||
RtlUpcaseUnicodeToMultiByteN@20
|
||||
RtlZeroMemory@8
|
||||
__PdxGetCmdLine@0
|
||||
__PdxInitializeData@8
|
||||
;__findenv
|
||||
_exit
|
||||
;_fdptcheck
|
||||
;_sigjmp_store_mask
|
||||
;accept
|
||||
;access
|
||||
;alarm
|
||||
;authenticateuser
|
||||
;bind
|
||||
;cfgetispeed
|
||||
;cfgetospeed
|
||||
;cfsetispeed
|
||||
;cfsetospeed
|
||||
;chdir
|
||||
;chmod
|
||||
;chown
|
||||
;close
|
||||
;closedir
|
||||
;connect
|
||||
;creat
|
||||
;ctermid
|
||||
;cuserid
|
||||
dup
|
||||
dup2
|
||||
;endutxent
|
||||
;execl
|
||||
;execl_asuser
|
||||
;execle
|
||||
;execle_asuser
|
||||
;execlp
|
||||
;execlp_asuser
|
||||
;execv
|
||||
;execv_asuser
|
||||
;execve
|
||||
;execve_asuser
|
||||
;execvp
|
||||
;execvp_asuser
|
||||
fcntl
|
||||
;flock
|
||||
;fork
|
||||
;fpathconf
|
||||
;fstat
|
||||
;fstatvfs
|
||||
;fsync
|
||||
;ftruncate
|
||||
;getcwd
|
||||
;getegid
|
||||
;getenv
|
||||
;geteuid
|
||||
;getgid
|
||||
;getgrgid
|
||||
;getgrgid_nomembers
|
||||
;getgrnam
|
||||
;getgrnam_nomembers
|
||||
;getgroups
|
||||
;gethostbyaddr
|
||||
;gethostbyname
|
||||
;getitimer
|
||||
;getlogin
|
||||
;getloginenv
|
||||
;getpeername
|
||||
;getpgrp
|
||||
;getpid
|
||||
;getppid
|
||||
;getprotobyname
|
||||
;getprotobynumber
|
||||
;getpwnam
|
||||
;getpwuid
|
||||
;getreg
|
||||
;getreg_strvalue
|
||||
;getservbyname
|
||||
;getservbyport
|
||||
;getsockname
|
||||
;getsockopt
|
||||
gettimeofday
|
||||
;gettzenv
|
||||
;getuid
|
||||
;getutxent
|
||||
;getutxid
|
||||
;getutxline
|
||||
;grantpt
|
||||
;index=strchr
|
||||
;ioctl
|
||||
;ipcs
|
||||
;isatty
|
||||
;isatty2
|
||||
;kill
|
||||
;link
|
||||
;listen
|
||||
;lseek
|
||||
;mkdir
|
||||
;mkfifo
|
||||
;mmap
|
||||
;mprotect
|
||||
;msgctl
|
||||
;msgget
|
||||
;msgrcv
|
||||
;msgsnd
|
||||
;munmap
|
||||
;open
|
||||
;opendir
|
||||
;pathconf
|
||||
;pause
|
||||
;pipe
|
||||
;poll
|
||||
;ptsname
|
||||
;pututxline
|
||||
;raise
|
||||
;read
|
||||
;readdir
|
||||
;recv
|
||||
;recvfrom
|
||||
;remove
|
||||
;rename
|
||||
;renamewtmpx
|
||||
;rewinddir
|
||||
;rindex=strchr
|
||||
;rmdir
|
||||
;select
|
||||
;semctl
|
||||
;semget
|
||||
;semop
|
||||
;send
|
||||
;sendto
|
||||
;setgid
|
||||
;setitimer
|
||||
;setpgid
|
||||
;setsid
|
||||
;setsockopt
|
||||
;setuid
|
||||
;setuser
|
||||
;setutxent
|
||||
;shmat
|
||||
;shmctl
|
||||
;shmdt
|
||||
;shmget
|
||||
;shutdown
|
||||
;sigaction
|
||||
;sigaddset
|
||||
;sigdelset
|
||||
;sigemptyset
|
||||
;sigfillset
|
||||
;sigismember
|
||||
;siglongjmp
|
||||
;signal
|
||||
;sigpending
|
||||
;sigprocmask
|
||||
;sigsuspend
|
||||
;sleep
|
||||
;socket
|
||||
;stat
|
||||
;statvfs
|
||||
;symlink
|
||||
;sysconf
|
||||
;system
|
||||
;tcdrain
|
||||
;tcflow
|
||||
;tcflush
|
||||
;tcgetattr
|
||||
;tcgetpgrp
|
||||
;tcsendbreak
|
||||
;tcsetattr
|
||||
;tcsetpgrp
|
||||
time
|
||||
;times
|
||||
;ttyname
|
||||
;uidtontsid
|
||||
;umask
|
||||
uname
|
||||
;unlink
|
||||
;unlockpt
|
||||
;utime
|
||||
;wait
|
||||
;waitpid
|
||||
;write
|
|
@ -1,217 +0,0 @@
|
|||
; $Id: psxdll.edf,v 1.6 1999/12/26 16:36:44 ea Exp $
|
||||
;
|
||||
; psxdll.edf
|
||||
;
|
||||
; ReactOS POSIX+ Subsystem
|
||||
;
|
||||
LIBRARY psxdll.dll
|
||||
|
||||
IMPORTS
|
||||
ntdll.RtlAllocateHeap@12
|
||||
ntdll.RtlFreeHeap@12
|
||||
ntdll.RtlReAllocateHeap@16
|
||||
ntdll.RtlSizeHeap@12
|
||||
ntdll.RtlAnsiCharToUnicodeChar@4
|
||||
ntdll.RtlFillMemory@12
|
||||
ntdll.RtlMoveMemory@12
|
||||
ntdll.RtlMultiByteToUnicodeN@20
|
||||
ntdll.RtlUnicodeToMultiByteN@20
|
||||
ntdll.RtlUnicodeToMultiByteSize@12
|
||||
ntdll.RtlUnwind@0
|
||||
ntdll.RtlUpcaseUnicodeChar@4
|
||||
ntdll.RtlUpcaseUnicodeToMultiByteN@20
|
||||
ntdll.RtlZeroMemory@8
|
||||
|
||||
EXPORTS
|
||||
GetProcessHeap=GetProcessHeap@0
|
||||
HeapAlloc=HeapAlloc@12
|
||||
HeapFree=HeapFree@12
|
||||
HeapReAlloc=HeapReAlloc@16
|
||||
HeapSize=HeapSize@12
|
||||
RtlAnsiCharToUnicodeChar=RtlAnsiCharToUnicodeChar@4
|
||||
RtlFillMemory=RtlFillMemory@12
|
||||
RtlMoveMemory=RtlMoveMemory@12
|
||||
RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20
|
||||
RtlUnicodeToMultiByteN=RtlUnicodeToMultiByteN@20
|
||||
RtlUnicodeToMultiByteSize=RtlUnicodeToMultiByteSize@12
|
||||
RtlUnwind=RtlUnwind@0
|
||||
RtlUpcaseUnicodeChar=RtlUpcaseUnicodeChar@4
|
||||
RtlUpcaseUnicodeToMultiByteN=RtlUpcaseUnicodeToMultiByteN@20
|
||||
RtlZeroMemory=RtlZeroMemory@8
|
||||
__PdxGetCmdLine=__PdxGetCmdLine@0
|
||||
__PdxInitializeData=__PdxInitializeData@8
|
||||
;__findenv
|
||||
_exit
|
||||
;_fdptcheck
|
||||
;_sigjmp_store_mask
|
||||
;accept
|
||||
;access
|
||||
;alarm
|
||||
;authenticateuser
|
||||
;bind
|
||||
;cfgetispeed
|
||||
;cfgetospeed
|
||||
;cfsetispeed
|
||||
;cfsetospeed
|
||||
;chdir
|
||||
;chmod
|
||||
;chown
|
||||
;close
|
||||
;closedir
|
||||
;connect
|
||||
;creat
|
||||
;ctermid
|
||||
;cuserid
|
||||
dup
|
||||
dup2
|
||||
;endutxent
|
||||
;execl
|
||||
;execl_asuser
|
||||
;execle
|
||||
;execle_asuser
|
||||
;execlp
|
||||
;execlp_asuser
|
||||
;execv
|
||||
;execv_asuser
|
||||
;execve
|
||||
;execve_asuser
|
||||
;execvp
|
||||
;execvp_asuser
|
||||
fcntl
|
||||
;flock
|
||||
;fork
|
||||
;fpathconf
|
||||
;fstat
|
||||
;fstatvfs
|
||||
;fsync
|
||||
;ftruncate
|
||||
;getcwd
|
||||
;getegid
|
||||
;getenv
|
||||
;geteuid
|
||||
;getgid
|
||||
;getgrgid
|
||||
;getgrgid_nomembers
|
||||
;getgrnam
|
||||
;getgrnam_nomembers
|
||||
;getgroups
|
||||
;gethostbyaddr
|
||||
;gethostbyname
|
||||
;getitimer
|
||||
;getlogin
|
||||
;getloginenv
|
||||
;getpeername
|
||||
;getpgrp
|
||||
;getpid
|
||||
;getppid
|
||||
;getprotobyname
|
||||
;getprotobynumber
|
||||
;getpwnam
|
||||
;getpwuid
|
||||
;getreg
|
||||
;getreg_strvalue
|
||||
;getservbyname
|
||||
;getservbyport
|
||||
;getsockname
|
||||
;getsockopt
|
||||
gettimeofday
|
||||
;gettzenv
|
||||
;getuid
|
||||
;getutxent
|
||||
;getutxid
|
||||
;getutxline
|
||||
;grantpt
|
||||
;index=strchr
|
||||
;ioctl
|
||||
;ipcs
|
||||
;isatty
|
||||
;isatty2
|
||||
;kill
|
||||
;link
|
||||
;listen
|
||||
;lseek
|
||||
;mkdir
|
||||
;mkfifo
|
||||
;mmap
|
||||
;mprotect
|
||||
;msgctl
|
||||
;msgget
|
||||
;msgrcv
|
||||
;msgsnd
|
||||
;munmap
|
||||
;open
|
||||
;opendir
|
||||
;pathconf
|
||||
;pause
|
||||
;pipe
|
||||
;poll
|
||||
;ptsname
|
||||
;pututxline
|
||||
;raise
|
||||
;read
|
||||
;readdir
|
||||
;recv
|
||||
;recvfrom
|
||||
;remove
|
||||
;rename
|
||||
;renamewtmpx
|
||||
;rewinddir
|
||||
;rindex=strchr
|
||||
;rmdir
|
||||
;select
|
||||
;semctl
|
||||
;semget
|
||||
;semop
|
||||
;send
|
||||
;sendto
|
||||
;setgid
|
||||
;setitimer
|
||||
;setpgid
|
||||
;setsid
|
||||
;setsockopt
|
||||
;setuid
|
||||
;setuser
|
||||
;setutxent
|
||||
;shmat
|
||||
;shmctl
|
||||
;shmdt
|
||||
;shmget
|
||||
;shutdown
|
||||
;sigaction
|
||||
;sigaddset
|
||||
;sigdelset
|
||||
;sigemptyset
|
||||
;sigfillset
|
||||
;sigismember
|
||||
;siglongjmp
|
||||
;signal
|
||||
;sigpending
|
||||
;sigprocmask
|
||||
;sigsuspend
|
||||
;sleep
|
||||
;socket
|
||||
;stat
|
||||
;statvfs
|
||||
;symlink
|
||||
;sysconf
|
||||
;system
|
||||
;tcdrain
|
||||
;tcflow
|
||||
;tcflush
|
||||
;tcgetattr
|
||||
;tcgetpgrp
|
||||
;tcsendbreak
|
||||
;tcsetattr
|
||||
;tcsetpgrp
|
||||
time
|
||||
;times
|
||||
;ttyname
|
||||
;uidtontsid
|
||||
;umask
|
||||
uname
|
||||
;unlink
|
||||
;unlockpt
|
||||
;utime
|
||||
;wait
|
||||
;waitpid
|
||||
;write
|
|
@ -1,38 +0,0 @@
|
|||
#include "../../include/defines.h"
|
||||
#include "../../include/reactos/resource.h"
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x40004L
|
||||
FILETYPE 0x2L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||
VALUE "FileDescription", "POSIX+ Subsystem Client DLL\0"
|
||||
VALUE "FileVersion", RES_STR_FILE_VERSION
|
||||
VALUE "InternalName", "psxdll\0"
|
||||
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||
VALUE "OriginalFilename", "psxdll.dll\0"
|
||||
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
*asm:
|
||||
|
||||
|
||||
*asm_final:
|
||||
|
||||
|
||||
*cpp:
|
||||
-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE}
|
||||
|
||||
*cc1:
|
||||
%(cc1_spec)
|
||||
|
||||
*cc1plus:
|
||||
|
||||
|
||||
*endfile:
|
||||
|
||||
|
||||
*link:
|
||||
%{mwindows:--subsystem windows} %{mdll:--dll -e _DllMain@12}
|
||||
|
||||
*lib:
|
||||
|
||||
|
||||
*libgcc:
|
||||
-lgcc
|
||||
|
||||
*startfile:
|
||||
|
||||
|
||||
*switches_need_spaces:
|
||||
|
||||
|
||||
*signed_char:
|
||||
%{funsigned-char:-D__CHAR_UNSIGNED__}
|
||||
|
||||
*predefines:
|
||||
-Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -Asystem(winnt) -Acpu(i386) -Amachine(i386)
|
||||
|
||||
*cross_compile:
|
||||
1
|
||||
|
||||
*version:
|
||||
egcs-2.91.57
|
||||
|
||||
*multilib:
|
||||
. ;
|
||||
|
||||
*multilib_defaults:
|
||||
|
||||
|
||||
*multilib_extra:
|
||||
|
||||
|
||||
*multilib_matches:
|
||||
|
||||
|
||||
*linker:
|
||||
collect2
|
||||
|
||||
*cpp_486:
|
||||
%{!ansi:-Di486} -D__i486 -D__i486__
|
||||
|
||||
*cpp_586:
|
||||
%{!ansi:-Di586 -Dpentium} -D__i586 -D__i586__ -D__pentium -D__pentium__
|
||||
|
||||
*cpp_686:
|
||||
%{!ansi:-Di686 -Dpentiumpro} -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__
|
||||
|
||||
*cpp_cpu_default:
|
||||
%(cpp_586)
|
||||
|
||||
*cpp_cpu:
|
||||
-Acpu(i386) -Amachine(i386) %{!ansi:-Di386} -D__i386 -D__i386__ %{mcpu=i486:%(cpp_486)} %{m486:%(cpp_486)} %{mpentium:%(cpp_586)} %{mcpu=pentium:%(cpp_586)} %{mpentiumpro:%(cpp_686)} %{mcpu=pentiumpro:%(cpp_686)} %{!mcpu*:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}
|
||||
|
||||
*cc1_cpu:
|
||||
%{!mcpu*: %{m386:-mcpu=i386 -march=i386} %{mno-486:-mcpu=i386 -march=i386} %{m486:-mcpu=i486 -march=i486} %{mno-386:-mcpu=i486 -march=i486} %{mno-pentium:-mcpu=i486 -march=i486} %{mpentium:-mcpu=pentium} %{mno-pentiumpro:-mcpu=pentium} %{mpentiumpro:-mcpu=pentiumpro}}
|
||||
|
Loading…
Reference in a new issue