Commit graph

2729 commits

Author SHA1 Message Date
Steven Edwards
81345fd691 Still working on making dflat32 a dll. Alot of this will be cleaned up in the
next few weeks. I'm going through the DFLAT api doc and fixing the export
names and then going to try to build a simple hello dflat application.

svn path=/trunk/; revision=2844
2002-04-14 10:15:06 +00:00
Eugene Ingerman
531d8f275d Fixed potential zero pointer reference.
svn path=/trunk/; revision=2843
2002-04-12 17:54:07 +00:00
Eric Kohl
c423031b39 Added basic iso-9660 file system driver. Thanks to Art Yerkes.
svn path=/trunk/; revision=2842
2002-04-12 15:43:38 +00:00
Emanuele Aliberti
bb24d01a48 PSX: early code for the PSXSS server program. Currently it is a W32 console application,
therefore it is not a proper subsystem, but it will be converted to native as soon as
it begins working. It probably does NOT work under ROS. I tested it under NT 4.0 SP 6a.
To see what it creates in the system name sapce, run WinObj, and HandleEx. If you
run csrterm.exe, it tries to connect to psxss.exe, but then dies because the API to
tell psxss to create a PSX process it not implemented yet. PSXDLL.DLL will connect
to \POSIX+\ApiPort (initial code in psx/lib/psxdll/misc/init.c is mute).

svn path=/trunk/; revision=2841
2002-04-10 21:30:22 +00:00
Emanuele Aliberti
f6c21b1a91 PSX: updated internal PSXSS system calls table generator.
svn path=/trunk/; revision=2840
2002-04-10 21:13:30 +00:00
Emanuele Aliberti
b9b1d40823 PSX: more work on the terminal emulator that runs in the W32 subsystem.
svn path=/trunk/; revision=2839
2002-04-10 21:12:41 +00:00
Eric Kohl
f1bc2201f0 Implemented IOCTL_CDROM_GET_DRIVE_GEOMETRY.
Some fixes to enable mounting of cdroms.

svn path=/trunk/; revision=2838
2002-04-10 17:02:22 +00:00
Eric Kohl
62b86daaf8 Moved IoVerifyVolume().
Made CDROM and TAPE devices mountable.

svn path=/trunk/; revision=2837
2002-04-10 09:58:45 +00:00
Steven Edwards
b6a1093b95 Disregard this, I hit remove by mistake and am adding it back
svn path=/trunk/; revision=2836
2002-04-10 07:47:56 +00:00
Steven Edwards
80bd55a9d0 Disregard this, I hit remove by mistake and am adding it back
svn path=/trunk/; revision=2835
2002-04-10 07:44:09 +00:00
Steven Edwards
1e8b9112f0 fix some warnings in the makefile and added a time_t test
svn path=/trunk/; revision=2834
2002-04-10 07:18:40 +00:00
Steven Edwards
5a5caf8ad5 A even more simple windowing test.
This should be our first goal before winhello

svn path=/trunk/; revision=2833
2002-04-10 03:52:30 +00:00
Phillip Susi
b1caf2b5e9 Reworked quite a bit of IO manager code to fix several bugs:
1) fixed create.c to use a null file name when opening the raw device, instead of a file name with a single null terminator char

2) fixed cleanup.c create.c dir.c file.c fs.c page.c rw.c to use the KEVENT object in the FILE_OBJECT when it needs one to wait on, or if there is no FILE_OBJECT, the KEVENT MUST be allocated from non paged pool, NOT the stack.

svn path=/trunk/; revision=2832
2002-04-07 18:36:13 +00:00
Phillip Susi
6ce277b452 MAJOR BUGFIX: ide.sys was not returning iostatus information when it completed requests ( error code, and length transfered )
svn path=/trunk/; revision=2831
2002-04-07 18:28:49 +00:00
Emanuele Aliberti
5a81c98a15 Fixed makefile for building import libraries for the PSX subsystem DK.
svn path=/trunk/; revision=2830
2002-04-07 14:21:13 +00:00
Emanuele Aliberti
2888319d30 Wrong port: CSRTERM.EXE will connect to \POSIX+\SessionPort not to
\POSIX+\ApiPort.

svn path=/trunk/; revision=2829
2002-04-07 14:06:46 +00:00
Emanuele Aliberti
6bdcbd1bb7 Minor change.
svn path=/trunk/; revision=2828
2002-04-07 13:56:16 +00:00
Emanuele Aliberti
8c130e007e Version info script added.
Modified to link against /dk/psx/lib/psxdll.a

svn path=/trunk/; revision=2827
2002-04-07 13:53:51 +00:00
Steven Edwards
80362e4ed7 added Hartmuts KeDetachProcess(); and attach patch for GCC.
svn path=/trunk/; revision=2826
2002-04-07 09:24:36 +00:00
Emanuele Aliberti
3cbf8c1de6 PSX: The tool to build internal system calls tables and auxiliary C files.
svn path=/trunk/; revision=2825
2002-04-06 16:07:34 +00:00
Emanuele Aliberti
0c3dba541d Minor fixes: some more code needed to make it work.
This one actually connects to the PSXSS.EXE process.

svn path=/trunk/; revision=2824
2002-04-06 16:00:46 +00:00
Eric Kohl
c19d6a953f Fixed crash in environment variable evaluation.
svn path=/trunk/; revision=2822
2002-04-05 12:53:21 +00:00
Steven Edwards
2c38da05a1 Added BSD touch utillity.
svn path=/trunk/; revision=2821
2002-04-03 03:57:56 +00:00
Hartmut Birr
224bb37961 Fixed a bug in RtlDestroyHeap, that will cause a page fault, if more than one subheap exist.
svn path=/trunk/; revision=2820
2002-04-03 00:04:01 +00:00
Eric Kohl
bcde238ede Added mapping of scsi error codes to status codes.
Retries are still disabled.

svn path=/trunk/; revision=2816
2002-04-01 23:51:09 +00:00
Hartmut Birr
6c88e069c4 Fixed a typo.
svn path=/trunk/; revision=2815
2002-04-01 22:18:01 +00:00
Hartmut Birr
9e6b238365 Fixed a wrong length check in RtlAnsiStringToUnicodeString()/RtlOemStringToUnicodeString().
svn path=/trunk/; revision=2814
2002-04-01 22:13:15 +00:00
Hartmut Birr
0bdd211873 Fixed the length calculation in RtlCreateProcessParameters().
svn path=/trunk/; revision=2813
2002-04-01 22:11:52 +00:00
Hartmut Birr
b17ab99f15 Fixed a wrong parameter for a call to ZwFreeVirtualMemory(). This fixes a page fault at address 0 (cr2 = 0).
Fixed the calculation of the maximum heap count in RtlInitializeHeapManager().

svn path=/trunk/; revision=2812
2002-04-01 22:11:12 +00:00
Hartmut Birr
c75ecda469 Added ansi to unicode translation for the environment in CreateProcessA().
Changed handling for current directory in CreateProcessAW().
Changed size calculation for the environment in KlInitPeb().
Changed determaining of program name and command line in CreateProcessW().
Added conversion for some handles in CreateProcessW().

svn path=/trunk/; revision=2811
2002-04-01 22:09:59 +00:00
Hartmut Birr
de299abd9a Fixed some wrong size calculations in GetEnvironmentStringsA().
Fixed a wrong return value in GetEnvironmentVariableA().

svn path=/trunk/; revision=2810
2002-04-01 22:08:20 +00:00
Hartmut Birr
6c10b3528a Rewrote OpenFile().
svn path=/trunk/; revision=2809
2002-04-01 22:06:51 +00:00
Hartmut Birr
e806f90b71 Fixed handling for non existing files.
svn path=/trunk/; revision=2808
2002-04-01 22:05:43 +00:00
Hartmut Birr
ea5f41e8a5 Added handling for std handles.
svn path=/trunk/; revision=2807
2002-04-01 22:03:56 +00:00
Hartmut Birr
7497838509 Changed to a separat heap for malloc/calloc/realloc/free.
svn path=/trunk/; revision=2806
2002-04-01 22:03:13 +00:00
Hartmut Birr
ae374594ce Removed fixed size of environment vars.
svn path=/trunk/; revision=2805
2002-04-01 22:01:33 +00:00
Hartmut Birr
2cda2c03b3 Fixed error handling in _filebuf().
svn path=/trunk/; revision=2804
2002-04-01 22:00:02 +00:00
Hartmut Birr
3005268105 Removed fixed size of args and envblock in go32_exec() (gcc uses a very large cmd line).
Added closing of thread and/or process handle at exit in _spawnve().
Added debug messages.

svn path=/trunk/; revision=2803
2002-04-01 21:58:45 +00:00
Hartmut Birr
4d142d61ac Added closing of process handle at exit.
svn path=/trunk/; revision=2802
2002-04-01 21:56:56 +00:00
Hartmut Birr
aaeb01a3e1 Changed heap validation.
svn path=/trunk/; revision=2801
2002-04-01 21:55:50 +00:00
Hartmut Birr
0ea281268b Added heap initialization for malloc/calloc/realloc/free.
Added debug messages.
Removed fixed count for environment.

svn path=/trunk/; revision=2800
2002-04-01 21:55:09 +00:00
Hartmut Birr
e129158330 Added debug messages.
Added LN to CR/LN translation for text files.

svn path=/trunk/; revision=2799
2002-04-01 21:52:45 +00:00
Hartmut Birr
5cd1300eac Added debug messages.
Added special handling for std file descriptors.

svn path=/trunk/; revision=2798
2002-04-01 21:51:59 +00:00
Hartmut Birr
e8b5ff7de0 Added CR-removing for text files.
Added debug messages.

svn path=/trunk/; revision=2797
2002-04-01 21:50:56 +00:00
Hartmut Birr
db69b4ae79 Fixed initialization of new fileno_modes in __fileno_alloc().
Added setting of errno in _open().
Added debug messages.

svn path=/trunk/; revision=2796
2002-04-01 21:47:31 +00:00
Hartmut Birr
50c7ca2780 Added debug messages.
svn path=/trunk/; revision=2795
2002-04-01 21:38:50 +00:00
Hartmut Birr
a45170ea27 Added ntdll.a to TARGET_SDKLIBS
svn path=/trunk/; revision=2794
2002-04-01 21:33:27 +00:00
Steven Edwards
3a6f36f512 typedef int key_t; was defined twice
svn path=/trunk/; revision=2793
2002-03-31 04:37:19 +00:00
Steven Edwards
e158da64af Minor cosmetic cleanup....sorry I'm a little obsessive compulsive
svn path=/trunk/; revision=2792
2002-03-31 04:25:15 +00:00
Steven Edwards
7c813ceacd added bootc.lst to aboot.bat. I dont know if the ACPI driver is
still working like this.

svn path=/trunk/; revision=2791
2002-03-31 04:23:35 +00:00