Renamed pseudo target 'floppy' to 'install'

Added workaround for corrupted dos header magic
Added some more rtl functions

svn path=/trunk/; revision=1292
This commit is contained in:
Eric Kohl 2000-08-11 12:46:47 +00:00
parent df3c817b6b
commit c6c624ebe3
69 changed files with 660 additions and 253 deletions

View file

@ -6,7 +6,6 @@
# Select your host # Select your host
# #
#HOST = mingw32-linux #HOST = mingw32-linux
#HOST = djgpp-msdos
#HOST = mingw32-windows #HOST = mingw32-windows
include rules.mak include rules.mak
@ -16,7 +15,6 @@ include rules.mak
# #
COMPONENTS = iface_native iface_additional ntoskrnl COMPONENTS = iface_native iface_additional ntoskrnl
DLLS = ntdll kernel32 crtdll advapi32 fmifs gdi32 DLLS = ntdll kernel32 crtdll advapi32 fmifs gdi32
#DLLS = mingw32
SUBSYS = smss win32k csrss SUBSYS = smss win32k csrss
# #
@ -59,10 +57,10 @@ clean: buildno_clean $(COMPONENTS:%=%_clean) $(DLLS:%=%_clean) $(LOADERS:%=%_cle
.PHONY: clean .PHONY: clean
floppy: make_floppy_dirs autoexec_floppy $(COMPONENTS:%=%_floppy) \ install: make_install_dirs autoexec_install $(COMPONENTS:%=%_install) \
$(DLLS:%=%_floppy) $(LOADERS:%=%_floppy) \ $(DLLS:%=%_install) $(LOADERS:%=%_install) \
$(KERNEL_SERVICES:%=%_floppy) $(SUBSYS:%=%_floppy) \ $(KERNEL_SERVICES:%=%_install) $(SUBSYS:%=%_install) \
$(APPS:%=%_floppy) $(APPS:%=%_install)
dist: clean_dist_dir make_dist_dirs $(COMPONENTS:%=%_dist) $(DLLS:%=%_dist) \ dist: clean_dist_dir make_dist_dirs $(COMPONENTS:%=%_dist) $(DLLS:%=%_dist) \
$(LOADERS:%=%_dist) $(KERNEL_SERVICES:%=%_dist) $(SUBSYS:%=%_dist) \ $(LOADERS:%=%_dist) $(KERNEL_SERVICES:%=%_dist) $(SUBSYS:%=%_dist) \
@ -77,11 +75,11 @@ buildno: include/reactos/version.h
buildno_clean: buildno_clean:
make -C apps/buildno clean make -C apps/buildno clean
buildno_floppy:
buildno_dist: buildno_dist:
.PHONY: buildno buildno_clean buildno_floppy buildno_dist buildno_install:
.PHONY: buildno buildno_clean buildno_dist buildno_install
# #
# Applications # Applications
@ -92,13 +90,13 @@ $(APPS): %:
$(APPS:%=%_clean): %_clean: $(APPS:%=%_clean): %_clean:
make -C apps/$* clean make -C apps/$* clean
$(APPS:%=%_floppy): %_floppy:
make -C apps/$* floppy
$(APPS:%=%_dist): %_dist: $(APPS:%=%_dist): %_dist:
make -C apps/$* dist make -C apps/$* dist
.PHONY: $(APPS) $(APPS:%=%_clean) $(APPS:%=%_floppy) $(APPS:%=%_dist) $(APPS:%=%_install): %_install:
make -C apps/$* install
.PHONY: $(APPS) $(APPS:%=%_clean) $(APPS:%=%_install) $(APPS:%=%_dist)
# #
# Interfaces # Interfaces
@ -109,7 +107,7 @@ iface_native:
iface_native_clean: iface_native_clean:
make -C iface/native clean make -C iface/native clean
iface_native_floppy: iface_native_install:
iface_native_dist: iface_native_dist:
@ -119,13 +117,13 @@ iface_additional:
iface_additional_clean: iface_additional_clean:
make -C iface/addsys clean make -C iface/addsys clean
iface_additional_floppy: iface_additional_install:
iface_additional_dist: iface_additional_dist:
.PHONY: iface_native iface_native_clean iface_native_floppy \ .PHONY: iface_native iface_native_clean iface_native_install \
iface_native_dist \ iface_native_dist \
iface_additional iface_additional_clean iface_additional_floppy \ iface_additional iface_additional_clean iface_additional_install \
iface_additional_dist iface_additional_dist
# #
@ -137,14 +135,14 @@ $(DEVICE_DRIVERS): %:
$(DEVICE_DRIVERS:%=%_clean): %_clean: $(DEVICE_DRIVERS:%=%_clean): %_clean:
make -C services/dd/$* clean make -C services/dd/$* clean
$(DEVICE_DRIVERS:%=%_floppy): %_floppy: $(DEVICE_DRIVERS:%=%_install): %_install:
make -C services/dd/$* floppy make -C services/dd/$* install
$(DEVICE_DRIVERS:%=%_dist): %_dist: $(DEVICE_DRIVERS:%=%_dist): %_dist:
make -C services/dd/$* dist make -C services/dd/$* dist
.PHONY: $(DEVICE_DRIVERS) $(DEVICE_DRIVERS:%=%_clean) \ .PHONY: $(DEVICE_DRIVERS) $(DEVICE_DRIVERS:%=%_clean) \
$(DEVICE_DRIVERS:%=%_floppy) $(DEVICE_DRIVERS:%=%_dist) $(DEVICE_DRIVERS:%=%_install) $(DEVICE_DRIVERS:%=%_dist)
$(FS_DRIVERS): %: $(FS_DRIVERS): %:
make -C services/fs/$* make -C services/fs/$*
@ -152,13 +150,13 @@ $(FS_DRIVERS): %:
$(FS_DRIVERS:%=%_clean): %_clean: $(FS_DRIVERS:%=%_clean): %_clean:
make -C services/fs/$* clean make -C services/fs/$* clean
$(FS_DRIVERS:%=%_floppy): %_floppy: $(FS_DRIVERS:%=%_install): %_install:
make -C services/fs/$* floppy make -C services/fs/$* install
$(FS_DRIVERS:%=%_dist): %_dist: $(FS_DRIVERS:%=%_dist): %_dist:
make -C services/fs/$* dist make -C services/fs/$* dist
.PHONY: $(FS_DRIVERS) $(FS_DRIVERS:%=%_clean) $(FS_DRIVERS:%=%_floppy) \ .PHONY: $(FS_DRIVERS) $(FS_DRIVERS:%=%_clean) $(FS_DRIVERS:%=%_install) \
$(FS_DRIVERS:%=%_dist) $(FS_DRIVERS:%=%_dist)
$(NET_DRIVERS): %: $(NET_DRIVERS): %:
@ -167,13 +165,13 @@ $(NET_DRIVERS): %:
$(NET_DRIVERS:%=%_clean): %_clean: $(NET_DRIVERS:%=%_clean): %_clean:
make -C services/net/$* clean make -C services/net/$* clean
$(NET_DRIVERS:%=%_floppy): %_floppy: $(NET_DRIVERS:%=%_install): %_install:
make -C services/net/$* floppy make -C services/net/$* install
$(NET_DRIVERS:%=%_dist): %_dist: $(NET_DRIVERS:%=%_dist): %_dist:
make -C services/net/$* dist make -C services/net/$* dist
.PHONY: $(NET_DRIVERS) $(NET_DRIVERS:%=%_clean) $(NET_DRIVERS:%=%_floppy) \ .PHONY: $(NET_DRIVERS) $(NET_DRIVERS:%=%_clean) $(NET_DRIVERS:%=%_install) \
$(NET_DRIVERS:%=%_dist) $(NET_DRIVERS:%=%_dist)
# #
@ -186,13 +184,13 @@ $(LOADERS): %:
$(LOADERS:%=%_clean): %_clean: $(LOADERS:%=%_clean): %_clean:
make -C loaders/$* clean make -C loaders/$* clean
$(LOADERS:%=%_floppy): %_floppy: $(LOADERS:%=%_install): %_install:
make -C loaders/$* floppy make -C loaders/$* install
$(LOADERS:%=%_dist): %_dist: $(LOADERS:%=%_dist): %_dist:
make -C loaders/$* dist make -C loaders/$* dist
.PHONY: $(LOADERS) $(LOADERS:%=%_clean) $(LOADERS:%=%_floppy) \ .PHONY: $(LOADERS) $(LOADERS:%=%_clean) $(LOADERS:%=%_install) \
$(LOADERS:%=%_dist) $(LOADERS:%=%_dist)
# #
@ -205,13 +203,13 @@ ntoskrnl:
ntoskrnl_clean: ntoskrnl_clean:
make -C ntoskrnl clean make -C ntoskrnl clean
ntoskrnl_floppy: ntoskrnl_install:
make -C ntoskrnl floppy make -C ntoskrnl install
ntoskrnl_dist: ntoskrnl_dist:
make -C ntoskrnl dist make -C ntoskrnl dist
.PHONY: ntoskrnl ntoskrnl_clean ntoskrnl_floppy ntoskrnl_dist .PHONY: ntoskrnl ntoskrnl_clean ntoskrnl_install ntoskrnl_dist
# #
# Required DLLs # Required DLLs
@ -223,13 +221,13 @@ $(DLLS): %:
$(DLLS:%=%_clean): %_clean: $(DLLS:%=%_clean): %_clean:
make -C lib/$* clean make -C lib/$* clean
$(DLLS:%=%_floppy): %_floppy: $(DLLS:%=%_install): %_install:
make -C lib/$* floppy make -C lib/$* install
$(DLLS:%=%_dist): %_dist: $(DLLS:%=%_dist): %_dist:
make -C lib/$* dist make -C lib/$* dist
.PHONY: $(DLLS) $(DLLS:%=%_clean) $(DLLS:%=%_floppy) $(DLLS:%=%_dist) .PHONY: $(DLLS) $(DLLS:%=%_clean) $(DLLS:%=%_install) $(DLLS:%=%_dist)
# #
# Kernel Subsystems # Kernel Subsystems
@ -241,13 +239,13 @@ $(SUBSYS): %:
$(SUBSYS:%=%_clean): %_clean: $(SUBSYS:%=%_clean): %_clean:
make -C subsys/$* clean make -C subsys/$* clean
$(SUBSYS:%=%_floppy): %_floppy: $(SUBSYS:%=%_install): %_install:
make -C subsys/$* floppy make -C subsys/$* install
$(SUBSYS:%=%_dist): %_dist: $(SUBSYS:%=%_dist): %_dist:
make -C subsys/$* dist make -C subsys/$* dist
.PHONY: $(SUBSYS) $(SUBSYS:%=%_clean) $(SUBSYS:%=%_floppy) \ .PHONY: $(SUBSYS) $(SUBSYS:%=%_clean) $(SUBSYS:%=%_install) \
$(SUBSYS:%=%_dist) $(SUBSYS:%=%_dist)
# #
@ -259,7 +257,7 @@ install: all
./install.sh /mnt/hda4 ./install.sh /mnt/hda4
./install.bochs ./install.bochs
make_floppy_dirs: make_install_dirs:
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)
mkdir $(FLOPPY_DIR)\dlls mkdir $(FLOPPY_DIR)\dlls
mkdir $(FLOPPY_DIR)\apps mkdir $(FLOPPY_DIR)\apps
@ -270,9 +268,9 @@ else
mkdir $(FLOPPY_DIR)/subsys mkdir $(FLOPPY_DIR)/subsys
endif endif
.PHONY: make_floppy_dirs .PHONY: make_install_dirs
autoexec_floppy: $(FLOPPY_DIR)/autoexec.bat autoexec_install: $(FLOPPY_DIR)/autoexec.bat
$(FLOPPY_DIR)/autoexec.bat: bootflop.bat $(FLOPPY_DIR)/autoexec.bat: bootflop.bat
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -19,7 +19,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -17,7 +17,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -16,7 +16,7 @@ $(PROGS:%=%_clean): %_clean:
.phony: clean .phony: clean
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe) install: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -15,7 +15,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.phony: clean $(CLEAN_FILES:%=%_clean) .phony: clean $(CLEAN_FILES:%=%_clean)
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -16,7 +16,7 @@ $(PROGS:%=%_clean): %_clean:
.phony: clean .phony: clean
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe) install: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -17,7 +17,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -21,7 +21,7 @@ clean: $(PROGS:%=%_clean)
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -15,7 +15,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.phony: clean $(CLEAN_FILES:%=%_clean) .phony: clean $(CLEAN_FILES:%=%_clean)
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -24,7 +24,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -15,7 +15,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.phony: clean $(CLEAN_FILES:%=%_clean) .phony: clean $(CLEAN_FILES:%=%_clean)
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -21,7 +21,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -17,7 +17,7 @@ clean: $(PROGS:%=%_clean)
.phony: clean .phony: clean
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe) install: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -16,7 +16,7 @@ $(PROGS:%=%_clean): %_clean:
.phony: clean .phony: clean
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe) install: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -15,7 +15,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -24,7 +24,7 @@ clean:
.phony: clean .phony: clean
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -17,7 +17,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.phony: clean $(CLEAN_FILES:%=%_clean) .phony: clean $(CLEAN_FILES:%=%_clean)
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%) install: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % $(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.6 1999/12/04 20:58:35 ea Exp $ # $Id: makefile,v 1.7 2000/08/11 12:41:58 ekohl Exp $
# #
# #
TARGET = beep TARGET = beep
@ -20,7 +20,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.11 2000/05/08 23:25:36 ekohl Exp $ # $Id: makefile,v 1.12 2000/08/11 12:42:07 ekohl Exp $
# #
# #
TARGET = blue TARGET = blue
@ -21,7 +21,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 2000/07/19 14:25:35 dwelch Exp $ # $Id: Makefile,v 1.2 2000/08/11 12:42:19 ekohl Exp $
# #
# #
TARGET=floppy TARGET=floppy
@ -21,7 +21,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.13 2000/08/05 18:01:54 dwelch Exp $ # $Id: makefile,v 1.14 2000/08/11 12:42:31 ekohl Exp $
# #
# #
TARGET=ide TARGET=ide
@ -22,7 +22,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.9 2000/06/29 23:35:48 dwelch Exp $ # $Id: makefile,v 1.10 2000/08/11 12:42:41 ekohl Exp $
# #
# #
TARGET=keyboard TARGET=keyboard
@ -21,7 +21,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -17,7 +17,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.7 2000/02/20 22:52:49 ea Exp $ # $Id: makefile,v 1.8 2000/08/11 12:42:58 ekohl Exp $
# #
# #
TARGETNAME=null TARGETNAME=null
@ -20,7 +20,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys install: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys
$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.8 2000/06/29 23:35:49 dwelch Exp $ # $Id: makefile,v 1.9 2000/08/11 12:43:09 ekohl Exp $
# #
# #
TARGET=parallel TARGET=parallel
@ -20,7 +20,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.8 2000/06/29 23:35:49 dwelch Exp $ # $Id: makefile,v 1.9 2000/08/11 12:43:19 ekohl Exp $
# #
# #
TARGET= serial TARGET= serial
@ -20,7 +20,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.8 2000/08/05 18:01:55 dwelch Exp $ # $Id: makefile,v 1.9 2000/08/11 12:43:43 ekohl Exp $
# #
# Makefile for ReactOS vgaddi.dll # Makefile for ReactOS vgaddi.dll
# #
@ -78,7 +78,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.8 2000/07/07 11:55:02 ekohl Exp $ # $Id: makefile,v 1.9 2000/08/11 12:43:33 ekohl Exp $
# #
# #
all: all:
@ -12,3 +12,7 @@ clean:
dist: dist:
make -C display dist make -C display dist
make -C miniport dist make -C miniport dist
install:
make -C display install
make -C miniport install

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.1 2000/03/17 21:02:57 jfilby Exp $ # $Id: makefile,v 1.2 2000/08/11 12:43:51 ekohl Exp $
# #
# #
BASE_CFLAGS = -I../../../../include BASE_CFLAGS = -I../../../../include
@ -47,7 +47,7 @@ vgamp.sys: $(MP_OBJECTS)
$(MP_OBJECTS) $(MP_OBJECTS)
- $(RM) temp.exp - $(RM) temp.exp
floppy: $(FLOPPY_DIR)/drivers/vgamp.sys install: $(FLOPPY_DIR)/drivers/vgamp.sys
$(FLOPPY_DIR)/drivers/vgamp.sys: vgamp.sys $(FLOPPY_DIR)/drivers/vgamp.sys: vgamp.sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.7 1999/12/04 20:58:41 ea Exp $ # $Id: makefile,v 1.8 2000/08/11 12:44:03 ekohl Exp $
# #
# #
TARGET=vidport TARGET=vidport
@ -21,7 +21,7 @@ clean:
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile_rex,v 1.11 2000/07/19 14:18:20 dwelch Exp $ # $Id: makefile_rex,v 1.12 2000/08/11 12:44:24 ekohl Exp $
# #
# Minix IFS Driver makefile # Minix IFS Driver makefile
# #
@ -84,7 +84,7 @@ minixfs.sys: $(OBJECTS)
minix.coff: ../../../include/reactos/buildno.h minix.rc minix.coff: ../../../include/reactos/buildno.h minix.rc
floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys install: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys
$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.19 2000/08/05 18:01:55 dwelch Exp $ # $Id: makefile,v 1.20 2000/08/11 12:44:40 ekohl Exp $
# #
# #
TARGET=vfatfs TARGET=vfatfs
@ -27,7 +27,7 @@ endif
.phony: clean .phony: clean
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -69,7 +69,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys install: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys
$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -108,7 +108,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys install: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys
$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.7 2000/08/08 17:41:25 ekohl Exp $ # $Id: Makefile,v 1.8 2000/08/11 12:45:45 ekohl Exp $
# #
# TDI.SYS build spec # TDI.SYS build spec
# #
@ -88,7 +88,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys install: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys
$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -60,7 +60,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys install: $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys
$(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys $(FLOPPY_DIR)/drivers/$(TARGETNAME).sys: $(TARGETNAME).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.1 2000/03/26 22:00:09 dwelch Exp $ # $Id: makefile,v 1.2 2000/08/11 12:46:10 ekohl Exp $
# #
# CSRSS: Client/server runtime subsystem # CSRSS: Client/server runtime subsystem
# #
@ -38,7 +38,7 @@ $(TARGET).exe: $(OBJECTS) $(LIBS)
$(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
floppy: $(FLOPPY_DIR)/subsys/$(TARGET).exe install: $(FLOPPY_DIR)/subsys/$(TARGET).exe
$(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe $(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -27,12 +27,9 @@ LdrLoadDll (PDLL* Dll,PCHAR Name);
NTSTATUS LdrUnloadDll(PDLL Dll); NTSTATUS LdrUnloadDll(PDLL Dll);
NTSTATUS NTSTATUS STDCALL
STDCALL LdrDisableThreadCalloutsForDll (IN PVOID BaseAddress,
LdrDisableThreadCalloutsForDll ( IN BOOLEAN Disable);
PVOID IN ImageBase,
BOOLEAN IN Disable
);
NTSTATUS STDCALL NTSTATUS STDCALL
LdrGetProcedureAddress (IN PVOID BaseAddress, LdrGetProcedureAddress (IN PVOID BaseAddress,

View file

@ -12,6 +12,7 @@
#endif #endif
#define DPRINT1(args...) do { DbgPrint("(NTDLL:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0); #define DPRINT1(args...) do { DbgPrint("(NTDLL:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0);
#define CHECKPOINT1 do { DbgPrint("(NTDLL:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0);
#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b)) #define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
#define ROUNDDOWN(a,b) (((a)/(b))*(b)) #define ROUNDDOWN(a,b) (((a)/(b))*(b))

View file

@ -1,4 +1,4 @@
/* $Id: rtl.h,v 1.17 2000/06/29 23:35:22 dwelch Exp $ /* $Id: rtl.h,v 1.18 2000/08/11 12:30:18 ekohl Exp $
* *
*/ */
@ -174,6 +174,10 @@ RtlGetLongestNtPathLength (
VOID VOID
); );
ULONG STDCALL RtlGetNtGlobalFlags(VOID);
BOOLEAN STDCALL RtlGetNtProductType(PULONG ProductType);
ULONG ULONG
STDCALL STDCALL
RtlIsDosDeviceName_U ( RtlIsDosDeviceName_U (

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.12 2000/04/05 01:40:35 ekohl Exp $ # $Id: makefile,v 1.13 2000/08/11 12:31:17 ekohl Exp $
# #
# Makefile for ReactOS advapi32.dll # Makefile for ReactOS advapi32.dll
# #
@ -96,7 +96,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll install: $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll
$(FLOPPY_DIR)/dlls/$(TARGETNAME).dll: $(TARGETNAME).dll $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll: $(TARGETNAME).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.36 2000/08/05 18:01:48 dwelch Exp $ # $Id: makefile,v 1.37 2000/08/11 12:31:28 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -209,7 +209,7 @@ clean: $(CLEAN_FILES:%=%_clean)
$(CLEAN_FILES:%=%_clean): %_clean: $(CLEAN_FILES:%=%_clean): %_clean:
- $(RM) $* - $(RM) $*
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.7 1999/08/29 13:44:53 dwelch Exp $ # $Id: makefile,v 1.8 2000/08/11 12:31:37 ekohl Exp $
# #
# Makefile for fmifs.dll # Makefile for fmifs.dll
# #
@ -70,7 +70,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.13 2000/08/05 18:01:48 dwelch Exp $ # $Id: makefile,v 1.14 2000/08/11 12:31:49 ekohl Exp $
# #
# Makefile for ReactOS gdi32.dll # Makefile for ReactOS gdi32.dll
# #
@ -79,7 +79,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.35 2000/08/05 18:01:49 dwelch Exp $ # $Id: makefile,v 1.36 2000/08/11 12:32:04 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -139,7 +139,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
/* $Id: create.c,v 1.29 2000/06/29 23:35:26 dwelch Exp $ /* $Id: create.c,v 1.30 2000/08/11 12:32:37 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -395,6 +395,7 @@ WINBOOL STDCALL CreateProcessW(LPCWSTR lpApplicationName,
PWCHAR s; PWCHAR s;
PWCHAR e; PWCHAR e;
ULONG i; ULONG i;
ANSI_STRING ProcedureName;
DPRINT("CreateProcessW(lpApplicationName '%S', lpCommandLine '%S')\n", DPRINT("CreateProcessW(lpApplicationName '%S', lpCommandLine '%S')\n",
lpApplicationName,lpCommandLine); lpApplicationName,lpCommandLine);
@ -405,7 +406,7 @@ WINBOOL STDCALL CreateProcessW(LPCWSTR lpApplicationName,
s = wcsrchr(lpApplicationName, '\\'); s = wcsrchr(lpApplicationName, '\\');
if (s == NULL) if (s == NULL)
{ {
s = lpApplicationName; s = (PWCHAR)lpApplicationName;
} }
else else
{ {
@ -530,16 +531,26 @@ WINBOOL STDCALL CreateProcessW(LPCWSTR lpApplicationName,
ProcessImageFileName, ProcessImageFileName,
ImageFileName, ImageFileName,
8); 8);
/*
DPRINT("Creating thread for process\n"); * Retrieve the start address
lpStartAddress = (LPTHREAD_START_ROUTINE) */
((PIMAGE_OPTIONAL_HEADER)OPTHDROFFSET(NTDLL_BASE))-> DPRINT("Retrieving entry point address\n");
AddressOfEntryPoint + RtlInitAnsiString (&ProcedureName, "LdrInitializeThunk");
((PIMAGE_OPTIONAL_HEADER)OPTHDROFFSET(NTDLL_BASE))->ImageBase; Status = LdrGetProcedureAddress ((PVOID)NTDLL_BASE,
&ProcedureName,
0,
(PVOID*)&lpStartAddress);
if (!NT_SUCCESS(Status))
{
DbgPrint ("LdrGetProcedureAddress failed (Status %x)\n", Status);
return (Status);
}
DPRINT("lpStartAddress 0x%08lx\n", (ULONG)lpStartAddress);
/* /*
* Create the thread for the kernel * Create the thread for the kernel
*/ */
DPRINT("Creating thread for process\n");
hThread = KlCreateFirstThread(hProcess, hThread = KlCreateFirstThread(hProcess,
lpThreadAttributes, lpThreadAttributes,
// Headers.OptionalHeader.SizeOfStackReserve, // Headers.OptionalHeader.SizeOfStackReserve,

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 2000/06/18 10:57:42 ea Exp $ # $Id: Makefile,v 1.2 2000/08/11 12:32:53 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -100,7 +100,7 @@ clean: $(CLEAN_FILES:%=%_clean)
$(CLEAN_FILES:%=%_clean): %_clean: $(CLEAN_FILES:%=%_clean): %_clean:
- $(RM) $* - $(RM) $*
floppy: $(FLOPPY_DIR)/dlls/$(TARGET_NAME).dll install: $(FLOPPY_DIR)/dlls/$(TARGET_NAME).dll
$(FLOPPY_DIR)/dlls/$(TARGET_NAME).dll: $(TARGET_NAME).dll $(FLOPPY_DIR)/dlls/$(TARGET_NAME).dll: $(TARGET_NAME).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
; $Id: ntdll.def,v 1.58 2000/08/05 18:01:51 dwelch Exp $ ; $Id: ntdll.def,v 1.59 2000/08/11 12:34:13 ekohl Exp $
; ;
; ReactOS Operating System ; ReactOS Operating System
; ;
@ -35,6 +35,7 @@ DbgUserBreakPoint@0
LdrAccessResource LdrAccessResource
LdrDisableThreadCalloutsForDll@8 LdrDisableThreadCalloutsForDll@8
;LdrEnumResources ;LdrEnumResources
;LdrFindEntryForAddress
;LdrFindResourceDirectory_U ;LdrFindResourceDirectory_U
LdrFindResource_U LdrFindResource_U
;LdrGetDllHandle ;LdrGetDllHandle
@ -298,7 +299,7 @@ RtlAreBitsSet@12
RtlAssert@16 RtlAssert@16
;RtlCaptureStackBackTrace ;RtlCaptureStackBackTrace
RtlCharToInteger@12 RtlCharToInteger@12
;RtlCheckRegistryKey RtlCheckRegistryKey@8
RtlClearAllBits@4 RtlClearAllBits@4
RtlClearBits@12 RtlClearBits@12
;RtlClosePropertySet ;RtlClosePropertySet
@ -330,7 +331,7 @@ RtlCreateHeap@24
RtlCreateProcessParameters@40 RtlCreateProcessParameters@40
;RtlCreatePropertySet ;RtlCreatePropertySet
;RtlCreateQueryDebugBuffer ;RtlCreateQueryDebugBuffer
;RtlCreateRegistryKey RtlCreateRegistryKey@8
RtlCreateSecurityDescriptor@8 RtlCreateSecurityDescriptor@8
;RtlCreateTagHeap ;RtlCreateTagHeap
RtlCreateUnicodeString@8 RtlCreateUnicodeString@8
@ -349,7 +350,7 @@ RtlDeleteAce@8
RtlDeleteCriticalSection@4 RtlDeleteCriticalSection@4
;RtlDeleteElementGenericTable ;RtlDeleteElementGenericTable
;RtlDeleteNoSplay ;RtlDeleteNoSplay
;RtlDeleteRegistryValue RtlDeleteRegistryValue@12
;RtlDeleteResource ;RtlDeleteResource
;RtlDeleteSecurityObject ;RtlDeleteSecurityObject
;RtlDestroyAtomTable ;RtlDestroyAtomTable
@ -417,8 +418,8 @@ RtlGetDaclSecurityDescriptor@16
RtlGetFullPathName_U@16 RtlGetFullPathName_U@16
RtlGetGroupSecurityDescriptor@12 RtlGetGroupSecurityDescriptor@12
RtlGetLongestNtPathLength@0 RtlGetLongestNtPathLength@0
;RtlGetNtGlobalFlags RtlGetNtGlobalFlags@0
;RtlGetNtProductType RtlGetNtProductType@4
RtlGetOwnerSecurityDescriptor@12 RtlGetOwnerSecurityDescriptor@12
RtlGetProcessHeaps@8 RtlGetProcessHeaps@8
RtlGetProcessHeap@0 RtlGetProcessHeap@0
@ -504,7 +505,7 @@ RtlQueryInformationAcl@16
;RtlQueryProperties ;RtlQueryProperties
;RtlQueryPropertyNames ;RtlQueryPropertyNames
;RtlQueryPropertySet ;RtlQueryPropertySet
;RtlQueryRegistryValues RtlQueryRegistryValues@20
;RtlQuerySecutityObject ;RtlQuerySecutityObject
;RtlQueryTagHeap ;RtlQueryTagHeap
;RtlQueryTimeZoneInformation ;RtlQueryTimeZoneInformation
@ -586,12 +587,12 @@ RtlValidSid@4
RtlValidateHeap@12 RtlValidateHeap@12
RtlValidateProcessHeaps@0 RtlValidateProcessHeaps@0
;RtlWalkHeap ;RtlWalkHeap
;RtlWriteRegistryValue RtlWriteRegistryValue@24
;RtlZeroHeap ;RtlZeroHeap
RtlZeroMemory@8 RtlZeroMemory@8
;RtlpNtCreateKey ;RtlpNtCreateKey
;RtlpNtEnumerateSubKey ;RtlpNtEnumerateSubKey
;RtlpNtMakeTemporaryKey RtlpNtMakeTemporaryKey@4
;RtlpNtOpenKey ;RtlpNtOpenKey
;RtlpNtQueryValueKey ;RtlpNtQueryValueKey
;RtlpNtSetValueKey ;RtlpNtSetValueKey

View file

@ -1,4 +1,4 @@
; $Id: ntdll.edf,v 1.47 2000/08/05 18:01:51 dwelch Exp $ ; $Id: ntdll.edf,v 1.48 2000/08/11 12:34:13 ekohl Exp $
; ;
; ReactOS Operating System ; ReactOS Operating System
; ;
@ -35,6 +35,7 @@ DbgUserBreakPoint=DbgUserBreakPoint@0
LdrAccessResource LdrAccessResource
LdrDisableThreadCalloutsForDll=LdrDisableThreadCalloutsForDll@8 LdrDisableThreadCalloutsForDll=LdrDisableThreadCalloutsForDll@8
;LdrEnumResources ;LdrEnumResources
;LdrFindEntryForAddress
;LdrFindResourceDirectory_U ;LdrFindResourceDirectory_U
LdrFindResource_U LdrFindResource_U
;LdrGetDllHandle ;LdrGetDllHandle
@ -260,65 +261,116 @@ NtWriteRequestData=NtWriteRequestData@24
NtWriteVirtualMemory=NtWriteVirtualMemory@20 NtWriteVirtualMemory=NtWriteVirtualMemory@20
NtW32Call=NtW32Call@20 NtW32Call=NtW32Call@20
NtYieldExecution=NtYieldExecution@0 NtYieldExecution=NtYieldExecution@0
;PfxFindPrefix
;PfxInitialize
;PfxInsertPrefix
;PfxRemovePrefix
;RtlAbortRXact
RtlAbsoluteToSelfRelativeSD=RtlAbsoluteToSelfRelativeSD@12 RtlAbsoluteToSelfRelativeSD=RtlAbsoluteToSelfRelativeSD@12
RtlAcquirePebLock=RtlAcquirePebLock@0 RtlAcquirePebLock=RtlAcquirePebLock@0
;RtlAcqureResourceExclusive
;RtlAcqureResourceShared
RtlAddAccessAllowedAce=RtlAddAccessAllowedAce@16 RtlAddAccessAllowedAce=RtlAddAccessAllowedAce@16
RtlAddAccessDeniedAce=RtlAddAccessDeniedAce@16 RtlAddAccessDeniedAce=RtlAddAccessDeniedAce@16
RtlAddAce=RtlAddAce@20 RtlAddAce=RtlAddAce@20
;RtlAddActionToRXact
;RtlAtomToAtomTable
;RtlAddAttributeActionToRXact
RtlAddAuditAccessAce=RtlAddAuditAccessAce@24 RtlAddAuditAccessAce=RtlAddAuditAccessAce@24
;RtlAddCompoundAce
;RtlAdjustPrivilege
RtlAllocateAndInitializeSid=RtlAllocateAndInitializeSid@44 RtlAllocateAndInitializeSid=RtlAllocateAndInitializeSid@44
;RtlAllocateHandle
RtlAllocateHeap=RtlAllocateHeap@12 RtlAllocateHeap=RtlAllocateHeap@12
RtlAnsiCharToUnicodeChar=RtlAnsiCharToUnicodeChar@4 RtlAnsiCharToUnicodeChar=RtlAnsiCharToUnicodeChar@4
RtlAnsiStringToUnicodeSize=RtlAnsiStringToUnicodeSize@4 RtlAnsiStringToUnicodeSize=RtlAnsiStringToUnicodeSize@4
RtlAnsiStringToUnicodeString=RtlAnsiStringToUnicodeString@12 RtlAnsiStringToUnicodeString=RtlAnsiStringToUnicodeString@12
RtlAppendUnicodeStringToString=RtlAppendUnicodeStringToString@8 RtlAppendUnicodeStringToString=RtlAppendUnicodeStringToString@8
RtlAppendUnicodeToString=RtlAppendUnicodeToString@8 RtlAppendUnicodeToString=RtlAppendUnicodeToString@8
;RtlApplyRXact
;RtlApplyRXactNoFlush
RtlAreAllAccessesGranted=RtlAreAllAccessesGranted@8 RtlAreAllAccessesGranted=RtlAreAllAccessesGranted@8
RtlAreAnyAccessesGranted=RtlAreAnyAccessesGranted@8 RtlAreAnyAccessesGranted=RtlAreAnyAccessesGranted@8
RtlAreBitsClear=RtlAreBitsClear@12 RtlAreBitsClear=RtlAreBitsClear@12
RtlAreBitsSet=RtlAreBitsSet@12 RtlAreBitsSet=RtlAreBitsSet@12
RtlAssert=RtlAssert@16 RtlAssert=RtlAssert@16
;RtlCaptureStackBackTrace
RtlCharToInteger=RtlCharToInteger@12 RtlCharToInteger=RtlCharToInteger@12
RtlCheckRegistryKey=RtlCheckRegistryKey@8
RtlClearAllBits=RtlClearAllBits@4 RtlClearAllBits=RtlClearAllBits@4
RtlClearBits=RtlClearBits@12 RtlClearBits=RtlClearBits@12
;RtlClosePropertySet
RtlCompactHeap=RtlCompactHeap@8 RtlCompactHeap=RtlCompactHeap@8
RtlCompareMemory=RtlCompareMemory@12 RtlCompareMemory=RtlCompareMemory@12
RtlCompareMemoryUlong=RtlCompareMemoryUlong@12 RtlCompareMemoryUlong=RtlCompareMemoryUlong@12
RtlCompareString=RtlCompareString@12 RtlCompareString=RtlCompareString@12
RtlCompareUnicodeString=RtlCompareUnicodeString@12 RtlCompareUnicodeString=RtlCompareUnicodeString@12
;RtlCompressBuffer
;RtlConsoleMultiByteToUnicodeN
;RtlConvertExclusiveToShared
RtlConvertLongToLargeInteger=RtlConvertLongToLargeInteger@4 RtlConvertLongToLargeInteger=RtlConvertLongToLargeInteger@4
;RtlConvertSharedToExclusive
RtlConvertSidToUnicodeString=RtlConvertSidToUnicodeString@12 RtlConvertSidToUnicodeString=RtlConvertSidToUnicodeString@12
;RtlConvertUiListToApiList
RtlConvertUlongToLargeInteger=RtlConvertUlongToLargeInteger@4 RtlConvertUlongToLargeInteger=RtlConvertUlongToLargeInteger@4
RtlCopyLuid=RtlCopyLuid@8 RtlCopyLuid=RtlCopyLuid@8
;RtlCopyLuidAndAttributesArray
;RtlCopySecurityDescriptor
RtlCopySid=RtlCopySid@12 RtlCopySid=RtlCopySid@12
;RtlCopySidAndAttributesArray
RtlCopyString=RtlCopyString@8 RtlCopyString=RtlCopyString@8
RtlCopyUnicodeString=RtlCopyUnicodeString@8 RtlCopyUnicodeString=RtlCopyUnicodeString@8
RtlCreateAcl=RtlCreateAcl@12 RtlCreateAcl=RtlCreateAcl@12
;RtlCreateAndSetSD
;RtlCreateAtomTable
RtlCreateEnvironment=RtlCreateEnvironment@8 RtlCreateEnvironment=RtlCreateEnvironment@8
RtlCreateHeap=RtlCreateHeap@24 RtlCreateHeap=RtlCreateHeap@24
RtlCreateProcessParameters=RtlCreateProcessParameters@40 RtlCreateProcessParameters=RtlCreateProcessParameters@40
;RtlCreatePropertySet
;RtlCreateQueryDebugBuffer
RtlCreateRegistryKey=RtlCreateRegistryKey@8
RtlCreateSecurityDescriptor=RtlCreateSecurityDescriptor@8 RtlCreateSecurityDescriptor=RtlCreateSecurityDescriptor@8
;RtlCreateTagHeap
RtlCreateUnicodeString=RtlCreateUnicodeString@8 RtlCreateUnicodeString=RtlCreateUnicodeString@8
RtlCreateUnicodeStringFromAsciiz=RtlCreateUnicodeStringFromAsciiz@8 RtlCreateUnicodeStringFromAsciiz=RtlCreateUnicodeStringFromAsciiz@8
RtlCreateUserProcess=RtlCreateUserProcess@40 RtlCreateUserProcess=RtlCreateUserProcess@40
;RtlCreateUserSecurityObject
RtlCreateUserThread=RtlCreateUserThread@40 RtlCreateUserThread=RtlCreateUserThread@40
RtlCustomCPToUnicodeN=RtlCustomCPToUnicodeN@24 RtlCustomCPToUnicodeN=RtlCustomCPToUnicodeN@24
;RtlCutoverTimeToSystemTime
RtlDeNormalizeProcessParams=RtlDeNormalizeProcessParams@4 RtlDeNormalizeProcessParams=RtlDeNormalizeProcessParams@4
;RtlDecompressBuffer
;RtlDecompressFragment
;RtlDelete
RtlDeleteAce=RtlDeleteAce@8 RtlDeleteAce=RtlDeleteAce@8
;RtlDeleteAtomFromAtomTable
RtlDeleteCriticalSection=RtlDeleteCriticalSection@4 RtlDeleteCriticalSection=RtlDeleteCriticalSection@4
;RtlDeleteElementGenericTable
;RtlDeleteNoSplay
RtlDeleteRegistryValue=RtlDeleteRegistryValue@12
;RtlDeleteResource
;RtlDeleteSecurityObject
;RtlDestroyAtomTable
RtlDestroyEnvironment=RtlDestroyEnvironment@4 RtlDestroyEnvironment=RtlDestroyEnvironment@4
;RtlDestroyHandleTable
RtlDestroyHeap=RtlDestroyHeap@4 RtlDestroyHeap=RtlDestroyHeap@4
RtlDestroyProcessParameters=RtlDestroyProcessParameters@4 RtlDestroyProcessParameters=RtlDestroyProcessParameters@4
;RtlDestroyQueryDebugBuffer
RtlDetermineDosPathNameType_U=RtlDetermineDosPathNameType_U@4 RtlDetermineDosPathNameType_U=RtlDetermineDosPathNameType_U@4
RtlDoesFileExists_U=RtlDoesFileExists_U@4 RtlDoesFileExists_U=RtlDoesFileExists_U@4
RtlDosPathNameToNtPathName_U=RtlDosPathNameToNtPathName_U@16 RtlDosPathNameToNtPathName_U=RtlDosPathNameToNtPathName_U@16
RtlDosSearchPath_U=RtlDosSearchPath_U@24 RtlDosSearchPath_U=RtlDosSearchPath_U@24
RtlDowncaseUnicodeString=RtlDowncaseUnicodeString@12 RtlDowncaseUnicodeString=RtlDowncaseUnicodeString@12
;RtlDumpResource
;RtlEmptyAtomTable
RtlEnlargedIntegerMultiply=RtlEnlargedIntegerMultiply@8 RtlEnlargedIntegerMultiply=RtlEnlargedIntegerMultiply@8
RtlEnlargedUnsignedDivide=RtlEnlargedUnsignedDivide@16 RtlEnlargedUnsignedDivide=RtlEnlargedUnsignedDivide@16
RtlEnlargedUnsignedMultiply=RtlEnlargedUnsignedMultiply@8 RtlEnlargedUnsignedMultiply=RtlEnlargedUnsignedMultiply@8
RtlEnterCriticalSection=RtlEnterCriticalSection@4 RtlEnterCriticalSection=RtlEnterCriticalSection@4
RtlEnumProcessHeaps=RtlEnumProcessHeaps@8 RtlEnumProcessHeaps=RtlEnumProcessHeaps@8
;RtlEnumerateGenericTable
;RtlEnumerateGenericTableWithoutSplaying
;RtlEnumerateProperties
RtlEqualComputerName=RtlEqualComputerName@8 RtlEqualComputerName=RtlEqualComputerName@8
RtlEqualDomainName=RtlEqualDomainName@8 RtlEqualDomainName=RtlEqualDomainName@8
RtlEqualLuid=RtlEqualLuid@8 RtlEqualLuid=RtlEqualLuid@8
@ -328,6 +380,7 @@ RtlEqualString=RtlEqualString@12
RtlEqualUnicodeString=RtlEqualUnicodeString@12 RtlEqualUnicodeString=RtlEqualUnicodeString@12
RtlEraseUnicodeString=RtlEraseUnicodeString@4 RtlEraseUnicodeString=RtlEraseUnicodeString@4
RtlExpandEnvironmentStrings_U=RtlExpandEnvironmentStrings_U@16 RtlExpandEnvironmentStrings_U=RtlExpandEnvironmentStrings_U@16
;RtlExtendHeap
RtlExtendedIntegerMultiply=RtlExtendedIntegerMultiply@12 RtlExtendedIntegerMultiply=RtlExtendedIntegerMultiply@12
RtlExtendedLargeIntegerDivide=RtlExtendedLargeIntegerDivide@16 RtlExtendedLargeIntegerDivide=RtlExtendedLargeIntegerDivide@16
RtlExtendedMagicDivide=RtlExtendedMagicDivide@20 RtlExtendedMagicDivide=RtlExtendedMagicDivide@20
@ -338,40 +391,66 @@ RtlFindClearBitsAndSet=RtlFindClearBitsAndSet@12
RtlFirstFreeAce=RtlFirstFreeAce@8 RtlFirstFreeAce=RtlFirstFreeAce@8
RtlFindLongestRunClear=RtlFindLongestRunClear@8 RtlFindLongestRunClear=RtlFindLongestRunClear@8
RtlFindLongestRunSet=RtlFindLongestRunSet@8 RtlFindLongestRunSet=RtlFindLongestRunSet@8
;RtlFindMessage
RtlFindSetBits=RtlFindSetBits@12 RtlFindSetBits=RtlFindSetBits@12
RtlFindSetBitsAndClear=RtlFindSetBitsAndClear@12 RtlFindSetBitsAndClear=RtlFindSetBitsAndClear@12
;RtlFlushPropertySet
;RtlFormatCurrentUserKeyPath
;RtlFormatMessage
RtlFreeAnsiString=RtlFreeAnsiString@4 RtlFreeAnsiString=RtlFreeAnsiString@4
;RtlFreeHandle
RtlFreeHeap=RtlFreeHeap@12 RtlFreeHeap=RtlFreeHeap@12
RtlFreeSid=RtlFreeSid@4 RtlFreeSid=RtlFreeSid@4
RtlFreeUnicodeString=RtlFreeUnicodeString@4 RtlFreeUnicodeString=RtlFreeUnicodeString@4
RtlFreeUserThreadStack=RtlFreeUserThreadStack@8 RtlFreeUserThreadStack=RtlFreeUserThreadStack@8
;RtlGenerate8dot3Name
RtlGetAce=RtlGetAce@12 RtlGetAce=RtlGetAce@12
;RtlGetCallersAddress
;RtlGetCompressionWorkSpaceSize
RtlGetControlSecurityDescriptor=RtlGetControlSecurityDescriptor@12 RtlGetControlSecurityDescriptor=RtlGetControlSecurityDescriptor@12
RtlGetCurrentDirectory_U=RtlGetCurrentDirectory_U@8 RtlGetCurrentDirectory_U=RtlGetCurrentDirectory_U@8
RtlGetDaclSecurityDescriptor=RtlGetDaclSecurityDescriptor@16 RtlGetDaclSecurityDescriptor=RtlGetDaclSecurityDescriptor@16
;RtlGetElementGenericTable
RtlGetFullPathName_U=RtlGetFullPathName_U@16 RtlGetFullPathName_U=RtlGetFullPathName_U@16
RtlGetGroupSecurityDescriptor=RtlGetGroupSecurityDescriptor@12 RtlGetGroupSecurityDescriptor=RtlGetGroupSecurityDescriptor@12
RtlGetLongestNtPathLength=RtlGetLongestNtPathLength@0 RtlGetLongestNtPathLength=RtlGetLongestNtPathLength@0
RtlGetNtGlobalFlags=RtlGetNtGlobalFlags@0
RtlGetNtProductType=RtlGetNtProductType@4
RtlGetOwnerSecurityDescriptor=RtlGetOwnerSecurityDescriptor@12 RtlGetOwnerSecurityDescriptor=RtlGetOwnerSecurityDescriptor@12
RtlGetProcessHeaps=RtlGetProcessHeaps@8 RtlGetProcessHeaps=RtlGetProcessHeaps@8
RtlGetProcessHeap=RtlGetProcessHeap@0 RtlGetProcessHeap=RtlGetProcessHeap@0
RtlGetSaclSecurityDescriptor=RtlGetSaclSecurityDescriptor@16 RtlGetSaclSecurityDescriptor=RtlGetSaclSecurityDescriptor@16
;RtlGetUserInfoHeap
;RtlGuidToPropertySetName
RtlIdentifierAuthoritySid=RtlIdentifierAuthoritySid@4 RtlIdentifierAuthoritySid=RtlIdentifierAuthoritySid@4
RtlImageDirectoryEntryToData=RtlImageDirectoryEntryToData@16 RtlImageDirectoryEntryToData=RtlImageDirectoryEntryToData@16
RtlImageNtHeader=RtlImageNtHeader@4 RtlImageNtHeader=RtlImageNtHeader@4
RtlImageRvaToSection=RtlImageRvaToSection@12 RtlImageRvaToSection=RtlImageRvaToSection@12
RtlImageRvaToVa=RtlImageRvaToVa@16 RtlImageRvaToVa=RtlImageRvaToVa@16
;RtlImpersonateSelf
RtlInitAnsiString=RtlInitAnsiString@8 RtlInitAnsiString=RtlInitAnsiString@8
;RtlInitCodePageTable
;RtlInitNlsTables
RtlInitString=RtlInitString@8 RtlInitString=RtlInitString@8
RtlInitUnicodeString=RtlInitUnicodeString@8 RtlInitUnicodeString=RtlInitUnicodeString@8
;RtlInitializeAtomPackage
RtlInitializeBitMap=RtlInitializeBitMap@12 RtlInitializeBitMap=RtlInitializeBitMap@12
RtlInitializeContext=RtlInitializeContext@20 RtlInitializeContext=RtlInitializeContext@20
RtlInitializeCriticalSection=RtlInitializeCriticalSection@4 RtlInitializeCriticalSection=RtlInitializeCriticalSection@4
;RtlInitializeGenericTable
;RtlInitializeHandleTable
;RtlInitializeRXact
;RtlInitializeResource
RtlInitializeSid=RtlInitializeSid@12 RtlInitializeSid=RtlInitializeSid@12
;RtlInsertElementGenericTable
RtlIntegerToChar=RtlIntegerToChar@16 RtlIntegerToChar=RtlIntegerToChar@16
RtlIntegerToUnicodeString=RtlIntegerToUnicodeString@12 RtlIntegerToUnicodeString=RtlIntegerToUnicodeString@12
RtlIsDosDeviceName_U=RtlIsDosDeviceName_U@4 RtlIsDosDeviceName_U=RtlIsDosDeviceName_U@4
;RtlIsGenericTableEmpty
RtlIsNameLegalDOS8Dot3=RtlIsNameLegalDOS8Dot3@12 RtlIsNameLegalDOS8Dot3=RtlIsNameLegalDOS8Dot3@12
;RtlIsTextUnicode
;RtlIsValidHandle
;RtlIsValidIndexHandle
RtlLargeIntegerAdd=RtlLargeIntegerAdd@16 RtlLargeIntegerAdd=RtlLargeIntegerAdd@16
RtlLargeIntegerArithmeticShift=RtlLargeIntegerArithmeticShift@12 RtlLargeIntegerArithmeticShift=RtlLargeIntegerArithmeticShift@12
RtlLargeIntegerDivide=RtlLargeIntegerDivide@20 RtlLargeIntegerDivide=RtlLargeIntegerDivide@20
@ -386,29 +465,63 @@ RtlLengthSecurityDescriptor=RtlLengthSecurityDescriptor@4
RtlLengthSid=RtlLengthSid@4 RtlLengthSid=RtlLengthSid@4
RtlLocalTimeToSystemTime=RtlLocalTimeToSystemTime@8 RtlLocalTimeToSystemTime=RtlLocalTimeToSystemTime@8
RtlLockHeap=RtlLockHeap@4 RtlLockHeap=RtlLockHeap@4
;RtlLookupAtomInAtomTable
;RtlLookupElementGenericTable
RtlMakeSelfRelativeSD=RtlMakeSelfRelativeSD@12 RtlMakeSelfRelativeSD=RtlMakeSelfRelativeSD@12
RtlMapGenericMask=RtlMapGenericMask@8 RtlMapGenericMask=RtlMapGenericMask@8
RtlMoveMemory=RtlMoveMemory@12 RtlMoveMemory=RtlMoveMemory@12
RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20 RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20
RtlMultiByteToUnicodeSize=RtlMultiByteToUnicodeSize@12 RtlMultiByteToUnicodeSize=RtlMultiByteToUnicodeSize@12
;RtlNewInstanceSecurityObject
;RtlNewSecurityGrantedAccess
;RtlNewSecurityObject
RtlNormalizeProcessParams=RtlNormalizeProcessParams@4 RtlNormalizeProcessParams=RtlNormalizeProcessParams@4
RtlNtStatusToDosError=RtlNtStatusToDosError@4 RtlNtStatusToDosError=RtlNtStatusToDosError@4
RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4 RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4
;RtlNumberGenericTableElements
RtlNumberOfClearBits=RtlNumberOfClearBits@4 RtlNumberOfClearBits=RtlNumberOfClearBits@4
RtlNumberOfSetBits=RtlNumberOfSetBits@4 RtlNumberOfSetBits=RtlNumberOfSetBits@4
RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4 RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4
RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12 RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12
RtlOemToUnicodeN=RtlOemToUnicodeN@20 RtlOemToUnicodeN=RtlOemToUnicodeN@20
;RtlOpenCurrentUser
;RtlPcToFileHeader
;RtlPinAtomInAtomTable
RtlPrefixString=RtlPrefixString@12 RtlPrefixString=RtlPrefixString@12
RtlPrefixUnicodeString=RtlPrefixUnicodeString@12 RtlPrefixUnicodeString=RtlPrefixUnicodeString@12
;RtlPropertySetNameToGuid
;RtlProtectHeap
;RtlQueryAtomInAtomTable
RtlQueryEnvironmentVariable_U=RtlQueryEnvironmentVariable_U@12 RtlQueryEnvironmentVariable_U=RtlQueryEnvironmentVariable_U@12
RtlQueryInformationAcl=RtlQueryInformationAcl@16 RtlQueryInformationAcl=RtlQueryInformationAcl@16
;RtlQueryProcessBackTraceInformation
;RtlQueryProcessDebugInformation
;RtlQueryProcessHeapInformation
;RtlQueryProcessLockInformation
;RtlQueryProperties
;RtlQueryPropertyNames
;RtlQueryPropertySet
RtlQueryRegistryValues=RtlQueryRegistryValues@20
;RtlQuerySecutityObject
;RtlQueryTagHeap
;RtlQueryTimeZoneInformation
;RtlRaiseException
;RtlRaiseStatus
;RtlRandom
RtlReAllocateHeap=RtlReAllocateHeap@16 RtlReAllocateHeap=RtlReAllocateHeap@16
;RtlRealPredecessor
;RtlRealSuccessor
RtlReleasePebLock=RtlReleasePebLock@0 RtlReleasePebLock=RtlReleasePebLock@0
;RtlReleaseResource
;RtlRemoteCall
;RtlResetRtlTranslations
;RtlRunDecodeUnicodeString
;RtlRunEncodeUnicodeString
RtlSecondsSince1970ToTime=RtlSecondsSince1970ToTime@8 RtlSecondsSince1970ToTime=RtlSecondsSince1970ToTime@8
RtlSecondsSince1980ToTime=RtlSecondsSince1980ToTime@8 RtlSecondsSince1980ToTime=RtlSecondsSince1980ToTime@8
RtlSelfRelativeToAbsoluteSD=RtlSelfRelativeToAbsoluteSD@44 RtlSelfRelativeToAbsoluteSD=RtlSelfRelativeToAbsoluteSD@44
RtlSetAllBits=RtlSetAllBits@4 RtlSetAllBits=RtlSetAllBits@4
;RtlSetAttributesSecurityDescriptor
RtlSetBits=RtlSetBits@12 RtlSetBits=RtlSetBits@12
RtlSetCurrentDirectory_U=RtlSetCurrentDirectory_U@4 RtlSetCurrentDirectory_U=RtlSetCurrentDirectory_U@4
RtlSetCurrentEnvironment=RtlSetCurrentEnvironment@8 RtlSetCurrentEnvironment=RtlSetCurrentEnvironment@8
@ -417,12 +530,25 @@ RtlSetEnvironmentVariable=RtlSetEnvironmentVariable@12
RtlSetGroupSecurityDescriptor=RtlSetGroupSecurityDescriptor@12 RtlSetGroupSecurityDescriptor=RtlSetGroupSecurityDescriptor@12
RtlSetInformationAcl=RtlSetInformationAcl@16 RtlSetInformationAcl=RtlSetInformationAcl@16
RtlSetOwnerSecurityDescriptor=RtlSetOwnerSecurityDescriptor@12 RtlSetOwnerSecurityDescriptor=RtlSetOwnerSecurityDescriptor@12
;RtlSetProperties
;RtlSetPropertyNames
;RtlSetPropertySetClassId
RtlSetSaclSecurityDescriptor=RtlSetSaclSecurityDescriptor@16 RtlSetSaclSecurityDescriptor=RtlSetSaclSecurityDescriptor@16
;RtlSetSecurityObject
;RtlSetTimeZoneInformation
;RtlSetUnicodeCallouts
;RtlSetUserFlagsHeap
;RtlSetUserValueHeap
RtlSizeHeap=RtlSizeHeap@12 RtlSizeHeap=RtlSizeHeap@12
;RtlSplay
;RtlStartRXact
RtlSubAuthorityCountSid=RtlSubAuthorityCountSid@4 RtlSubAuthorityCountSid=RtlSubAuthorityCountSid@4
RtlSubAuthoritySid=RtlSubAuthoritySid@8 RtlSubAuthoritySid=RtlSubAuthoritySid@8
;RtlSubtreePredecessor
;RtlSubtreeSuccessor
RtlSystemTimeToLocalTime=RtlSystemTimeToLocalTime@8 RtlSystemTimeToLocalTime=RtlSystemTimeToLocalTime@8
RtlTimeFieldsToTime=RtlTimeFieldsToTime@8 RtlTimeFieldsToTime=RtlTimeFieldsToTime@8
;RtlTimeToElapsedTimeFields
RtlTimeToSecondsSince1970=RtlTimeToSecondsSince1970@8 RtlTimeToSecondsSince1970=RtlTimeToSecondsSince1970@8
RtlTimeToSecondsSince1980=RtlTimeToSecondsSince1980@8 RtlTimeToSecondsSince1980=RtlTimeToSecondsSince1980@8
RtlTimeToTimeFields=RtlTimeToTimeFields@8 RtlTimeToTimeFields=RtlTimeToTimeFields@8
@ -437,6 +563,7 @@ RtlUnicodeToCustomCPN=RtlUnicodeToCustomCPN@24
RtlUnicodeToMultiByteN=RtlUnicodeToMultiByteN@20 RtlUnicodeToMultiByteN=RtlUnicodeToMultiByteN@20
RtlUnicodeToMultiByteSize=RtlUnicodeToMultiByteSize@12 RtlUnicodeToMultiByteSize=RtlUnicodeToMultiByteSize@12
RtlUnicodeToOemN=RtlUnicodeToOemN@20 RtlUnicodeToOemN=RtlUnicodeToOemN@20
;RtlUniform
RtlUnlockHeap=RtlUnlockHeap@4 RtlUnlockHeap=RtlUnlockHeap@4
RtlUnwind=RtlUnwind@0 RtlUnwind=RtlUnwind@0
RtlUpcaseUnicodeChar=RtlUpcaseUnicodeChar@4 RtlUpcaseUnicodeChar=RtlUpcaseUnicodeChar@4
@ -449,12 +576,24 @@ RtlUpcaseUnicodeToMultiByteN=RtlUpcaseUnicodeToMultiByteN@20
RtlUpcaseUnicodeToOemN=RtlUpcaseUnicodeToOemN@20 RtlUpcaseUnicodeToOemN=RtlUpcaseUnicodeToOemN@20
RtlUpperChar=RtlUpperChar@4 RtlUpperChar=RtlUpperChar@4
RtlUpperString=RtlUpperString@8 RtlUpperString=RtlUpperString@8
;RtlUsageHeap
RtlValidAcl=RtlValidAcl@4 RtlValidAcl=RtlValidAcl@4
RtlValidSecurityDescriptor=RtlValidSecurityDescriptor@4 RtlValidSecurityDescriptor=RtlValidSecurityDescriptor@4
RtlValidSid=RtlValidSid@4 RtlValidSid=RtlValidSid@4
RtlValidateHeap=RtlValidateHeap@12 RtlValidateHeap=RtlValidateHeap@12
RtlValidateProcessHeaps=RtlValidateProcessHeaps@0 RtlValidateProcessHeaps=RtlValidateProcessHeaps@0
;RtlWalkHeap
RtlWriteRegistryValue=RtlWriteRegistryValue@24
;RtlZeroHeap
RtlZeroMemory=RtlZeroMemory@8 RtlZeroMemory=RtlZeroMemory@8
;RtlpNtCreateKey
;RtlpNtEnumerateSubKey
RtlpNtMakeTemporaryKey=RtlpNtMakeTemporaryKey@4
;RtlpNtOpenKey
;RtlpNtQueryValueKey
;RtlpNtSetValueKey
;RtlpUnWaitCriticalSection
;RtlpWaitForCriticalSection
RtlxAnsiStringToUnicodeSize=RtlxAnsiStringToUnicodeSize@4 RtlxAnsiStringToUnicodeSize=RtlxAnsiStringToUnicodeSize@4
RtlxOemStringToUnicodeSize=RtlxOemStringToUnicodeSize@4 RtlxOemStringToUnicodeSize=RtlxOemStringToUnicodeSize@4
RtlxUnicodeStringToAnsiSize=RtlxUnicodeStringToAnsiSize@4 RtlxUnicodeStringToAnsiSize=RtlxUnicodeStringToAnsiSize@4

View file

@ -1,4 +1,4 @@
/* $Id: startup.c,v 1.27 2000/08/05 18:01:51 dwelch Exp $ /* $Id: startup.c,v 1.28 2000/08/11 12:34:58 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel

View file

@ -1,4 +1,4 @@
/* $Id: utils.c,v 1.28 2000/08/05 18:01:51 dwelch Exp $ /* $Id: utils.c,v 1.29 2000/08/11 12:34:58 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -96,13 +96,15 @@ NTSTATUS LdrLoadDll (PDLL* Dll,
strncpy(fqname, Name, 256); strncpy(fqname, Name, 256);
DPRINT("fqname \"%s\"\n", fqname); DPRINT("fqname \"%s\"\n", fqname);
/* /*
* Open the DLL's image file. * Open the DLL's image file.
*/ */
if (LdrFindDll(Dll, Name) == STATUS_SUCCESS) if (LdrFindDll(Dll, Name) == STATUS_SUCCESS)
{
DPRINT ("DLL %s already loaded.\n");
return STATUS_SUCCESS; return STATUS_SUCCESS;
}
RtlInitAnsiString( RtlInitAnsiString(
& AnsiString, & AnsiString,
@ -166,9 +168,7 @@ NTSTATUS LdrLoadDll (PDLL* Dll,
*/ */
if ((DosHeader->e_magic != IMAGE_DOS_MAGIC) if ((DosHeader->e_magic != IMAGE_DOS_MAGIC)
|| (DosHeader->e_lfanew == 0L) || (DosHeader->e_lfanew == 0L)
// || (*(PULONG)((PUCHAR)BlockBuffer + DosHeader->e_lfanew) != IMAGE_PE_MAGIC) || (*(PULONG)(NTHeaders) != IMAGE_PE_MAGIC))
|| (*(PULONG)(NTHeaders) != IMAGE_PE_MAGIC)
)
{ {
DPRINT("NTDLL format invalid\n"); DPRINT("NTDLL format invalid\n");
ZwClose(FileHandle); ZwClose(FileHandle);
@ -176,7 +176,6 @@ NTSTATUS LdrLoadDll (PDLL* Dll,
return STATUS_UNSUCCESSFUL; return STATUS_UNSUCCESSFUL;
} }
// NTHeaders = (PIMAGE_NT_HEADERS) (BlockBuffer + DosHeader->e_lfanew);
ImageBase = (PVOID) NTHeaders->OptionalHeader.ImageBase; ImageBase = (PVOID) NTHeaders->OptionalHeader.ImageBase;
ImageSize = NTHeaders->OptionalHeader.SizeOfImage; ImageSize = NTHeaders->OptionalHeader.SizeOfImage;
@ -339,7 +338,7 @@ static NTSTATUS LdrFindDll(PDLL* Dll, PCHAR Name)
DPRINT("Failed to find dll %s\n",Name); DPRINT("Failed to find dll %s\n",Name);
return -1; return STATUS_UNSUCCESSFUL;
} }
@ -366,7 +365,6 @@ NTSTATUS LdrMapSections(HANDLE ProcessHandle,
ULONG i; ULONG i;
NTSTATUS Status; NTSTATUS Status;
for (i = 0; (i < NTHeaders->FileHeader.NumberOfSections); i++) for (i = 0; (i < NTHeaders->FileHeader.NumberOfSections); i++)
{ {
PIMAGE_SECTION_HEADER Sections; PIMAGE_SECTION_HEADER Sections;
@ -712,6 +710,7 @@ static NTSTATUS LdrFixupImports(PIMAGE_NT_HEADERS NTHeaders,
{ {
return Status; return Status;
} }
/* /*
* Get the import address list. * Get the import address list.
*/ */
@ -879,6 +878,7 @@ PEPFUNC LdrPEStartup (PVOID ImageBase,
return EntryPoint; return EntryPoint;
} }
NTSTATUS LdrUnloadDll(PDLL Dll) NTSTATUS LdrUnloadDll(PDLL Dll)
{ {
PDLLMAIN_FUNC Entrypoint; PDLLMAIN_FUNC Entrypoint;
@ -1080,11 +1080,13 @@ NTSTATUS LdrAccessResource(DLL *Dll, IMAGE_RESOURCE_DATA_ENTRY *ResourceDataEntr
NTSTATUS NTSTATUS
STDCALL STDCALL
LdrDisableThreadCalloutsForDll ( LdrDisableThreadCalloutsForDll (
PVOID IN ImageBase, IN PVOID BaseAddress,
BOOLEAN IN Disable IN BOOLEAN Disable
) )
{ {
return STATUS_NOT_IMPLEMENTED; /* FIXME: implement it! */
return STATUS_SUCCESS;
} }
@ -1100,6 +1102,9 @@ LdrGetProcedureAddress (IN PVOID BaseAddress,
PULONG AddressPtr; PULONG AddressPtr;
ULONG i = 0; ULONG i = 0;
DPRINT("LdrGetProcedureAddress (BaseAddress %x Name %Z Ordinal %lu ProcedureAddress %x)\n",
BaseAddress, Name, Ordinal, ProcedureAddress);
/* Get the pointer to the export directory */ /* Get the pointer to the export directory */
ExportDir = (PIMAGE_EXPORT_DIRECTORY) ExportDir = (PIMAGE_EXPORT_DIRECTORY)
RtlImageDirectoryEntryToData (BaseAddress, RtlImageDirectoryEntryToData (BaseAddress,
@ -1107,6 +1112,8 @@ LdrGetProcedureAddress (IN PVOID BaseAddress,
IMAGE_DIRECTORY_ENTRY_EXPORT, IMAGE_DIRECTORY_ENTRY_EXPORT,
&i); &i);
DPRINT("ExportDir %x i %lu\n", ExportDir, i);
if (!ExportDir || !i || !ProcedureAddress) if (!ExportDir || !i || !ProcedureAddress)
{ {
return STATUS_INVALID_PARAMETER; return STATUS_INVALID_PARAMETER;

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.50 2000/08/05 18:01:50 dwelch Exp $ # $Id: makefile,v 1.51 2000/08/11 12:33:18 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -21,7 +21,8 @@ RTL_OBJECTS = rtl/critical.o rtl/error.o rtl/heap.o rtl/largeint.o \
rtl/math.o rtl/mem.o rtl/nls.o rtl/process.o rtl/sd.o \ rtl/math.o rtl/mem.o rtl/nls.o rtl/process.o rtl/sd.o \
rtl/thread.o rtl/unicode.o rtl/env.o rtl/path.o rtl/ppb.o \ rtl/thread.o rtl/unicode.o rtl/env.o rtl/path.o rtl/ppb.o \
rtl/bitmap.o rtl/time.o rtl/acl.o rtl/sid.o rtl/image.o \ rtl/bitmap.o rtl/time.o rtl/acl.o rtl/sid.o rtl/image.o \
rtl/access.o rtl/apc.o rtl/callback.o rtl/luid.o rtl/access.o rtl/apc.o rtl/callback.o rtl/luid.o rtl/misc.o \
rtl/registry.o
STDIO_OBJECTS = stdio/sprintf.o stdio/swprintf.o STDIO_OBJECTS = stdio/sprintf.o stdio/swprintf.o
@ -103,7 +104,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,34 +1,40 @@
/* $Id: image.c,v 1.1 2000/03/18 13:56:01 ekohl Exp $ /* $Id: image.c,v 1.2 2000/08/11 12:35:47 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
* FILE: lib/ntdll/rtl/image.c * FILE: lib/ntdll/rtl/image.c
* PURPOSE: Image handling functions * PURPOSE: Image handling functions
* PROGRAMMER: Eric Kohl
* UPDATE HISTORY: * UPDATE HISTORY:
* 17/03/2000 Created by Eric Kohl * 17/03/2000 Created
*/ */
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntdll/rtl.h> #include <ntdll/rtl.h>
#define NDEBUG
#include <ntdll/ntdll.h>
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
PIMAGE_NT_HEADERS PIMAGE_NT_HEADERS STDCALL
STDCALL RtlImageNtHeader (IN PVOID BaseAddress)
RtlImageNtHeader (
PVOID BaseAddress
)
{ {
PIMAGE_NT_HEADERS NtHeader; PIMAGE_NT_HEADERS NtHeader;
PIMAGE_DOS_HEADER DosHeader = (PIMAGE_DOS_HEADER)BaseAddress; PIMAGE_DOS_HEADER DosHeader = (PIMAGE_DOS_HEADER)BaseAddress;
if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE) if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
{ {
DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic);
DPRINT1("NtHeader %x\n", (BaseAddress + DosHeader->e_lfanew));
}
// if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE)
// {
NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew); NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew);
if (NtHeader->Signature == IMAGE_NT_SIGNATURE) if (NtHeader->Signature == IMAGE_NT_SIGNATURE)
return NtHeader; return NtHeader;
} // }
return NULL; return NULL;
} }

View file

@ -0,0 +1,88 @@
/* $Id: misc.c,v 1.1 2000/08/11 12:35:47 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Various functions
* FILE: lib/ntdll/rtl/misc.c
* PROGRAMER: Eric Kohl <ekohl@zr-online.de>
* REVISION HISTORY:
* 10/08/2000: Created
*/
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#include <ntdll/rtl.h>
/* GLOBALS ******************************************************************/
extern ULONG NtGlobalFlag;
static ULONG NtProductType = 0;
/* FUNCTIONS ****************************************************************/
/**********************************************************************
* NAME EXPORTED
* RtlGetNtGlobalFlags
*
* DESCRIPTION
* Retrieves the global os flags.
*
* ARGUMENTS
* None
*
* RETURN VALUE
* global flags
*
* REVISIONS
* 2000-08-10 ekohl
*/
ULONG STDCALL
RtlGetNtGlobalFlags(VOID)
{
return (NtGlobalFlag);
}
/**********************************************************************
* NAME EXPORTED
* RtlGetNtProductType
*
* DESCRIPTION
* Retrieves the OS product type.
*
* ARGUMENTS
* ProductType Pointer to the product type variable.
*
* RETURN VALUE
* TRUE if successful, otherwise FALSE
*
* NOTE
* ProductType can be one of the following values:
* 1 Workstation (Winnt)
* 2 Server (Lanmannt)
* 3 Advanced Server (Servernt)
*
* REVISIONS
* 2000-08-10 ekohl
*/
BOOLEAN STDCALL
RtlGetNtProductType(PULONG ProductType)
{
if (NtProductType != 0)
{
*ProductType = NtProductType;
return TRUE;
}
/* FIXME: read product type from registry */
NtProductType = 1; /* Workstation */
*ProductType = NtProductType;
return TRUE;
}
/* EOF */

View file

@ -0,0 +1,95 @@
/* $Id: registry.c,v 1.1 2000/08/11 12:35:47 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Rtl registry functions
* FILE: lib/ntdll/rtl/registry.c
* PROGRAMER: Eric Kohl
* REVISION HISTORY:
* 2000/08/11: Created
*/
/* INCLUDES *****************************************************************/
#include <ddk/ntddk.h>
#define NDEBUG
#include <ntdll/ntdll.h>
/* FUNCTIONS ***************************************************************/
NTSTATUS
STDCALL
RtlCheckRegistryKey (
IN ULONG RelativeTo,
IN PWSTR Path
)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
STDCALL
RtlCreateRegistryKey (
IN ULONG RelativeTo,
IN PWSTR Path
)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
STDCALL
RtlDeleteRegistryValue (
IN ULONG RelativeTo,
IN PWSTR Path,
IN PWSTR ValueName
)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
STDCALL
RtlQueryRegistryValues (
IN ULONG RelativeTo,
IN PWSTR Path,
IN PRTL_QUERY_REGISTRY_TABLE QueryTable,
IN PVOID Context,
IN PVOID Environment
)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
STDCALL
RtlWriteRegistryValue (
IN ULONG RelativeTo,
IN PWSTR Path,
IN PWSTR ValueName,
IN ULONG ValueType,
IN PVOID ValueData,
IN ULONG ValueLength
)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS STDCALL
RtlpNtMakeTemporaryKey(HANDLE KeyHandle)
{
return NtDeleteKey(KeyHandle);
}
/* EOF */

View file

@ -31,10 +31,7 @@ STUB(KiUserExceptionDispatcher)
STUB(LdrEnumResources) STUB(LdrEnumResources)
STUB(LdrFindEntryForAddress) STUB(LdrFindEntryForAddress)
STUB(LdrFindResourceDirectory_U) STUB(LdrFindResourceDirectory_U)
STUB(LdrGetDllHandle) STUB(LdrGetDllHandle)
//STUB(LdrGetProcedureAddress)
STUB(LdrInitializeThunk)
STUB(LdrProcessRelocationBlock) STUB(LdrProcessRelocationBlock)
STUB(LdrQueryImageFileExecutionOptions) STUB(LdrQueryImageFileExecutionOptions)
STUB(LdrQueryProcessModuleInformation) STUB(LdrQueryProcessModuleInformation)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.6 2000/02/20 22:52:49 ea Exp $ # $Id: makefile,v 1.7 2000/08/11 12:37:11 ekohl Exp $
# #
# ReactOS psxdll.dll makefile # ReactOS psxdll.dll makefile
# #
@ -108,7 +108,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll install: $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll
$(FLOPPY_DIR)/dlls/$(TARGETNAME).dll: $(TARGETNAME).dll $(FLOPPY_DIR)/dlls/$(TARGETNAME).dll: $(TARGETNAME).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 2000/04/07 02:23:58 dwelch Exp $ # $Id: Makefile,v 1.2 2000/08/11 12:37:21 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -138,7 +138,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile_rex,v 1.9 2000/04/12 22:40:38 ariadne Exp $ # $Id: makefile_rex,v 1.10 2000/08/11 12:37:32 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -107,4 +107,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes)
$(CP) $(TARGET).dll $(FLOPPY_DIR)\dlls\$(TARGET).dll
else
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
endif
dist: $(DIST_DIR)/dlls/$(TARGET).dll
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes)
$(CP) $(TARGET).dll ..\..\$(DIST_DIR)\dlls\$(TARGET).dll
else
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
endif
# EOF # EOF

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.2 1999/08/29 13:44:58 dwelch Exp $ # $Id: makefile,v 1.3 2000/08/11 12:37:42 ekohl Exp $
# #
# Makefile for ReactOS version.dll # Makefile for ReactOS version.dll
# #
@ -77,7 +77,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -12,7 +12,7 @@ clean:
.PHONY: clean .PHONY: clean
floppy: $(FLOPPY_DIR)/loadros.com install: $(FLOPPY_DIR)/loadros.com
$(FLOPPY_DIR)/loadros.com: loadros.com $(FLOPPY_DIR)/loadros.com: loadros.com
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
/* $Id: registry.c,v 1.24 2000/08/11 08:17:41 jean Exp $ /* $Id: registry.c,v 1.25 2000/08/11 12:39:25 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -19,7 +19,7 @@
//#define NDEBUG //#define NDEBUG
#include <internal/debug.h> #include <internal/debug.h>
#define PROTO_REG 1 /* Comment out to disable */ //#define PROTO_REG 1 /* Comment out to disable */
/* ----------------------------------------------------- Typedefs */ /* ----------------------------------------------------- Typedefs */
@ -38,7 +38,7 @@
#define REG_ROOT_KEY_BLOCK_TYPE 0x2c #define REG_ROOT_KEY_BLOCK_TYPE 0x2c
#define REG_ROOT_KEY_NAME L"\\Registry" #define REG_ROOT_KEY_NAME L"\\Registry"
#define SYSTEM_REG_FILE L"\\SystemDir\\System32\\Config\\SYSTEM.DAT" #define SYSTEM_REG_FILE L"\\SystemRoot\\System32\\Config\\SYSTEM.DAT"
// BLOCK_OFFSET = offset in file after header block // BLOCK_OFFSET = offset in file after header block
@ -1220,7 +1220,8 @@ NtQueryMultipleValueKey (
IN ULONG NumberOfItems, IN ULONG NumberOfItems,
OUT PVOID MultipleValueInformation, OUT PVOID MultipleValueInformation,
IN ULONG Length, IN ULONG Length,
OUT PULONG ReturnLength) OUT PULONG ReturnLength
)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
} }
@ -1297,8 +1298,8 @@ NtInitializeRegistry (
NTSTATUS NTSTATUS
STDCALL STDCALL
RtlCheckRegistryKey ( RtlCheckRegistryKey (
ULONG RelativeTo, IN ULONG RelativeTo,
PWSTR Path IN PWSTR Path
) )
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
@ -1333,9 +1334,9 @@ STDCALL
RtlQueryRegistryValues ( RtlQueryRegistryValues (
IN ULONG RelativeTo, IN ULONG RelativeTo,
IN PWSTR Path, IN PWSTR Path,
PRTL_QUERY_REGISTRY_TABLE QueryTable, IN PRTL_QUERY_REGISTRY_TABLE QueryTable,
PVOID Context, IN PVOID Context,
PVOID Environment IN PVOID Environment
) )
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
@ -1345,12 +1346,12 @@ RtlQueryRegistryValues (
NTSTATUS NTSTATUS
STDCALL STDCALL
RtlWriteRegistryValue ( RtlWriteRegistryValue (
ULONG RelativeTo, IN ULONG RelativeTo,
PWSTR Path, IN PWSTR Path,
PWSTR ValueName, IN PWSTR ValueName,
ULONG ValueType, IN ULONG ValueType,
PVOID ValueData, IN PVOID ValueData,
ULONG ValueLength IN ULONG ValueLength
) )
{ {
UNIMPLEMENTED; UNIMPLEMENTED;

View file

@ -1,4 +1,4 @@
/* $Id: xhaldrv.c,v 1.1 2000/06/30 22:52:49 ekohl Exp $ /* $Id: xhaldrv.c,v 1.2 2000/08/11 12:41:06 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -169,8 +169,6 @@ xHalIoAssignDriveLetters (
NtClose (FileHandle); NtClose (FileHandle);
} }
} }
ExFreePool (Buffer2);
ExFreePool (Buffer1);
// Assign pre-assigned (registry) partitions // Assign pre-assigned (registry) partitions
@ -183,11 +181,52 @@ xHalIoAssignDriveLetters (
// Assign floppy drives // Assign floppy drives
DPRINT("Floppy drives: %d\n", ConfigInfo->FloppyCount); DPRINT("Floppy drives: %d\n", ConfigInfo->FloppyCount);
for (i = 0; i < ConfigInfo->FloppyCount; i++)
{
swprintf (Buffer1,
L"\\Device\\Floppy%d",
i);
RtlInitUnicodeString (&UnicodeString1,
Buffer1);
InitializeObjectAttributes (&ObjectAttributes,
&UnicodeString1,
0,
NULL,
NULL);
if (i < 2)
{
/* drives A: and B: */
swprintf (Buffer2,
L"\\??\\%C:",
L'A' + i);
}
else
{
/* FIXME: append other floppy drives */
break;
}
RtlInitUnicodeString (&UnicodeString2,
Buffer2);
DPRINT ("Creating link: %S ==> %S\n",
Buffer2,
Buffer1);
IoCreateSymbolicLink (&UnicodeString2,
&UnicodeString1);
}
// Assign cdrom drives // Assign cdrom drives
DPRINT("CD-Rom drives: %d\n", ConfigInfo->CDRomCount); DPRINT("CD-Rom drives: %d\n", ConfigInfo->CDRomCount);
// Any more ?? // Any more ??
ExFreePool (Buffer2);
ExFreePool (Buffer1);
} }
/* EOF */ /* EOF */

View file

@ -1,4 +1,4 @@
# $Id: makefile_rex,v 1.82 2000/07/10 21:47:36 ekohl Exp $ # $Id: makefile_rex,v 1.83 2000/08/11 12:38:45 ekohl Exp $
# #
# ReactOS Operating System # ReactOS Operating System
# #
@ -534,7 +534,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/$(TARGETNAME).exe install: $(FLOPPY_DIR)/$(TARGETNAME).exe
$(FLOPPY_DIR)/$(TARGETNAME).exe: $(TARGETNAME).exe $(FLOPPY_DIR)/$(TARGETNAME).exe: $(TARGETNAME).exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.def,v 1.84 2000/07/10 21:47:36 ekohl Exp $ ; $Id: ntoskrnl.def,v 1.85 2000/08/11 12:38:45 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -631,7 +631,7 @@ RtlAreBitsSet@12
RtlAssert@16 RtlAssert@16
;RtlCaptureStackBackTrace ;RtlCaptureStackBackTrace
RtlCharToInteger@12 RtlCharToInteger@12
;RtlCheckRegistryKey RtlCheckRegistryKey@8
RtlClearAllBits@4 RtlClearAllBits@4
RtlClearBits@12 RtlClearBits@12
RtlCompareMemory@12 RtlCompareMemory@12
@ -650,7 +650,7 @@ RtlCopyUnicodeString@8
RtlCreateAcl@12 RtlCreateAcl@12
;RtlCreateAtomTable ;RtlCreateAtomTable
;RtlCreateHeap ;RtlCreateHeap
;RtlCreateRegistryKey RtlCreateRegistryKey@8
RtlCreateSecurityDescriptor@8 RtlCreateSecurityDescriptor@8
RtlCreateUnicodeString@8 RtlCreateUnicodeString@8
RtlCustomCPToUnicodeN@24 RtlCustomCPToUnicodeN@24
@ -661,7 +661,7 @@ RtlCustomCPToUnicodeN@24
;RtlDeleteAtomFromAtomTable ;RtlDeleteAtomFromAtomTable
;RtlDeleteElementGenericTable ;RtlDeleteElementGenericTable
;RtlDeleteNoSplay ;RtlDeleteNoSplay
;RtlDeleteRegisterValue RtlDeleteRegistryValue@12
;RtlDescribeChunk ;RtlDescribeChunk
;RtlDestroyAtomTable ;RtlDestroyAtomTable
;RtlDestroyHeap ;RtlDestroyHeap
@ -748,7 +748,7 @@ RtlOemToUnicodeN@20
RtlPrefixString@12 RtlPrefixString@12
RtlPrefixUnicodeString@12 RtlPrefixUnicodeString@12
;RtlQueryAtomInAtomTable ;RtlQueryAtomInAtomTable
;RtlQueryRegistryValues RtlQueryRegistryValues=RtlQueryRegistryValues@20
;RtlQueryTimeZoneInformation ;RtlQueryTimeZoneInformation
;RtlRaiseException ;RtlRaiseException
;RtlRandom ;RtlRandom
@ -793,7 +793,7 @@ RtlUpperChar@4
RtlUpperString@8 RtlUpperString@8
RtlValidSecurityDescriptor@4 RtlValidSecurityDescriptor@4
RtlValidSid@4 RtlValidSid@4
;RtlWriteRegistryValue RtlWriteRegistryValue@24
;RtlZeroHeap ;RtlZeroHeap
RtlZeroMemory@8 RtlZeroMemory@8
RtlxAnsiStringToUnicodeSize@4 RtlxAnsiStringToUnicodeSize@4
@ -1016,13 +1016,13 @@ HalAllProcessorsStarted@0
HalAllocateCommonBuffer@16 HalAllocateCommonBuffer@16
;HalAllocateCrashDumpRegisters@8 ;HalAllocateCrashDumpRegisters@8
HalAssignSlotResources@32 HalAssignSlotResources@32
;HalBeginSystemInterrupt@12 HalBeginSystemInterrupt@12
;HalCalibratePerformanceCounter@4 ;HalCalibratePerformanceCounter@4
;@HalClearSoftwareInterrupt@4 ;@HalClearSoftwareInterrupt@4
;HalDisableSystemInterrupt@8 HalDisableSystemInterrupt@8
HalDisplayString@4 HalDisplayString@4
;HalEnableSystemInterrupt@12 HalEnableSystemInterrupt@12
;HalEndSystemInterrupt@8 HalEndSystemInterrupt@8
HalFlushCommonBuffer@32 HalFlushCommonBuffer@32
HalFreeCommonBuffer@24 HalFreeCommonBuffer@24
HalGetAdapter@8 HalGetAdapter@8

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.edf,v 1.71 2000/07/10 21:47:36 ekohl Exp $ ; $Id: ntoskrnl.edf,v 1.72 2000/08/11 12:38:45 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -630,7 +630,7 @@ RtlAreBitsSet=RtlAreBitsSet@12
RtlAssert=RtlAssert@16 RtlAssert=RtlAssert@16
;RtlCaptureStackBackTrace ;RtlCaptureStackBackTrace
RtlCharToInteger=RtlCharToInteger@12 RtlCharToInteger=RtlCharToInteger@12
;RtlCheckRegistryKey RtlCheckRegistryKey=RtlCheckRegistryKey@8
RtlClearAllBits=RtlClearAllBits@4 RtlClearAllBits=RtlClearAllBits@4
RtlClearBits=RtlClearBits@12 RtlClearBits=RtlClearBits@12
RtlCompareMemory=RtlCompareMemory@12 RtlCompareMemory=RtlCompareMemory@12
@ -649,7 +649,7 @@ RtlCopyUnicodeString=RtlCopyUnicodeString@8
RtlCreateAcl=RtlCreateAcl@12 RtlCreateAcl=RtlCreateAcl@12
;RtlCreateAtomTable ;RtlCreateAtomTable
;RtlCreateHeap ;RtlCreateHeap
;RtlCreateRegistryKey RtlCreateRegistryKey=RtlCreateRegistryKey@8
RtlCreateSecurityDescriptor=RtlCreateSecurityDescriptor@8 RtlCreateSecurityDescriptor=RtlCreateSecurityDescriptor@8
RtlCreateUnicodeString=RtlCreateUnicodeString@8 RtlCreateUnicodeString=RtlCreateUnicodeString@8
RtlCustomCPToUnicodeN=RtlCustomCPToUnicodeN@24 RtlCustomCPToUnicodeN=RtlCustomCPToUnicodeN@24
@ -660,7 +660,7 @@ RtlCustomCPToUnicodeN=RtlCustomCPToUnicodeN@24
;RtlDeleteAtomFromAtomTable ;RtlDeleteAtomFromAtomTable
;RtlDeleteElementGenericTable ;RtlDeleteElementGenericTable
;RtlDeleteNoSplay ;RtlDeleteNoSplay
;RtlDeleteRegisterValue RtlDeleteRegistryValue=RtlDeleteRegistryValue@12
;RtlDescribeChunk ;RtlDescribeChunk
;RtlDestroyAtomTable ;RtlDestroyAtomTable
;RtlDestroyHeap ;RtlDestroyHeap
@ -746,7 +746,7 @@ RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12
RtlPrefixString=RtlPrefixString@12 RtlPrefixString=RtlPrefixString@12
RtlPrefixUnicodeString=RtlPrefixUnicodeString@12 RtlPrefixUnicodeString=RtlPrefixUnicodeString@12
;RtlQueryAtomInAtomTable ;RtlQueryAtomInAtomTable
;RtlQueryRegistryValues RtlQueryRegistryValues=RtlQueryRegistryValues@20
;RtlQueryTimeZoneInformation ;RtlQueryTimeZoneInformation
;RtlRaiseException ;RtlRaiseException
;RtlRandom ;RtlRandom
@ -791,7 +791,7 @@ RtlUpperChar=RtlUpperChar@4
RtlUpperString=RtlUpperString@8 RtlUpperString=RtlUpperString@8
RtlValidSecurityDescriptor=RtlValidSecurityDescriptor@4 RtlValidSecurityDescriptor=RtlValidSecurityDescriptor@4
RtlValidSid=RtlValidSid@4 RtlValidSid=RtlValidSid@4
;RtlWriteRegistryValue RtlWriteRegistryValue=RtlWriteRegistryValue@24
;RtlZeroHeap ;RtlZeroHeap
RtlZeroMemory=RtlZeroMemory@8 RtlZeroMemory=RtlZeroMemory@8
RtlxAnsiStringToUnicodeSize=RtlxAnsiStringToUnicodeSize@4 RtlxAnsiStringToUnicodeSize=RtlxAnsiStringToUnicodeSize@4
@ -1014,14 +1014,14 @@ HalAllProcessorsStarted=HalAllProcessorsStarted@0
HalAllocateCommonBuffer=HalAllocateCommonBuffer@16 HalAllocateCommonBuffer=HalAllocateCommonBuffer@16
;HalAllocateCrashDumpRegisters=HalAllocateCrashDumpRegisters@8 ;HalAllocateCrashDumpRegisters=HalAllocateCrashDumpRegisters@8
HalAssignSlotResource=HalAssignSlotResources@32 HalAssignSlotResource=HalAssignSlotResources@32
;HalBeginSystemInterrupt=HalBeginSystemInterrupt@12 HalBeginSystemInterrupt=HalBeginSystemInterrupt@12
;HalCalibratePerformanceCounter=HalCalibratePerformanceCounter@4 ;HalCalibratePerformanceCounter=HalCalibratePerformanceCounter@4
;HalClearSoftwareInterrupt=@HalClearSoftwareInterrupt@4 ;HalClearSoftwareInterrupt=@HalClearSoftwareInterrupt@4
;HalClearSoftwareInterrupt=HalClearSoftwareInterrupt@4 ;HalClearSoftwareInterrupt=HalClearSoftwareInterrupt@4
;HalDisableSystemInterrupt=HalDisableSystemInterrupt@8 HalDisableSystemInterrupt=HalDisableSystemInterrupt@8
HalDisplayString=HalDisplayString@4 HalDisplayString=HalDisplayString@4
;HalEnableSystemInterrupt=HalEnableSystemInterrupt@12 HalEnableSystemInterrupt=HalEnableSystemInterrupt@12
;HalEndSystemInterrupt=HalEndSystemInterrupt@8 HalEndSystemInterrupt=HalEndSystemInterrupt@8
HalFlushCommonBuffer=HalFlushCommonBuffer@32 HalFlushCommonBuffer=HalFlushCommonBuffer@32
HalFreeCommonBuffer=HalFreeCommonBuffer@24 HalFreeCommonBuffer=HalFreeCommonBuffer@24
HalGetAdapter=HalGetAdapter@8 HalGetAdapter=HalGetAdapter@8

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.7 2000/08/05 18:01:57 dwelch Exp $ # $Id: makefile,v 1.8 2000/08/11 12:46:24 ekohl Exp $
# #
# CSRSS: Client/server runtime subsystem # CSRSS: Client/server runtime subsystem
# #
@ -44,7 +44,7 @@ $(TARGET).exe: $(OBJECTS) $(LIBS)
$(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
floppy: $(FLOPPY_DIR)/subsys/$(TARGET).exe install: $(FLOPPY_DIR)/subsys/$(TARGET).exe
$(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe $(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.3 1999/12/01 15:18:54 ekohl Exp $ # $Id: makefile,v 1.4 2000/08/11 12:46:37 ekohl Exp $
# #
# Session Manager # Session Manager
# #
@ -38,7 +38,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/subsys/$(TARGET).exe install: $(FLOPPY_DIR)/subsys/$(TARGET).exe
$(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe $(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.24 2000/06/29 23:35:51 dwelch Exp $ # $Id: makefile,v 1.25 2000/08/11 12:46:47 ekohl Exp $
# #
# WIN32K.SYS build spec # WIN32K.SYS build spec
# #
@ -101,7 +101,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.PHONY: clean $(CLEAN_FILES:%=%_clean) .PHONY: clean $(CLEAN_FILES:%=%_clean)
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys install: $(FLOPPY_DIR)/drivers/$(TARGET).sys
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)