Commit graph

2358 commits

Author SHA1 Message Date
Eric Kohl
1b9adb989a Don't use msvcrt as default runtime library for console apps. Let the linker use its default runtime library.
svn path=/trunk/; revision=2190
2001-08-23 15:34:00 +00:00
Eric Kohl
356f44b7de Forward exports to HAL.DLL after splitting HAL.
svn path=/trunk/; revision=2189
2001-08-23 15:26:57 +00:00
Rex Jolliff
d6107fdbb1 DriverEntry is now called with correct parameters
Minor Fix to new build logic

svn path=/trunk/; revision=2188
2001-08-22 03:53:53 +00:00
Casper Hornstrup
be1ee02554 Global configuration moved to include/roscfg.h
svn path=/trunk/; revision=2187
2001-08-21 21:51:43 +00:00
Casper Hornstrup
36402e5aa4 Module wide .cvsignore for:
*.sys, *.exe, *.dll, *.a, *.o, *.coff

Seperated the HALs from ntoskrnl.exe

Added template HAL

svn path=/trunk/; revision=2186
2001-08-21 20:18:27 +00:00
Casper Hornstrup
3f69ca4cc4 Major update of the build system:
- Created helper makefile for all targets
- Made most makefiles simpler by using the helper makefile
- Moved build tools into ./tools

Updated installation instructions

svn path=/trunk/; revision=2185
2001-08-21 20:13:17 +00:00
Emanuele Aliberti
aaada25107 Preliminary directory tree for the "development kits".
svn path=/trunk/; revision=2184
2001-08-21 18:06:43 +00:00
Jason Filby
ec838a6880 Win32 GUI Hello World
svn path=/trunk/; revision=2183
2001-08-20 19:50:21 +00:00
Emanuele Aliberti
a004822e63 Definition of LPC_DEBUG_MESSAGE added in napi/lpc.h.
svn path=/trunk/; revision=2182
2001-08-16 20:56:05 +00:00
Jason Filby
5b66798cd7 Change versioning infor for 0.0.18
svn path=/trunk/; revision=2181
2001-08-16 19:42:15 +00:00
Eric Kohl
bf4cedbfce Removed useless file.
This one caused too much trouble.

svn path=/trunk/; revision=2180
2001-08-16 15:11:02 +00:00
Eric Kohl
55000d5cf0 Fixed compiler warnings.
svn path=/trunk/; revision=2179
2001-08-16 15:09:35 +00:00
Hartmut Birr
73cbc9cc37 There was the wrong file handle in a call to FindClose().
svn path=/trunk/; revision=2178
2001-08-16 10:07:42 +00:00
Emanuele Aliberti
3869ce90e5 Minor fixes in KERNEL32.TerminateThread() and in
KERNEL32.TerminateProcess().

svn path=/trunk/; revision=2177
2001-08-15 20:35:39 +00:00
Emanuele Aliberti
5a9b7bebbc Minor fix in CSR.GetTitle().
svn path=/trunk/; revision=2176
2001-08-14 22:00:21 +00:00
Hartmut Birr
f293bda38a Restoring 1.1
There was a mistake by commiting share.c.

svn path=/trunk/; revision=2175
2001-08-14 21:14:05 +00:00
Hartmut Birr
7ee896cad1 ReadAccess and DeleteAcces was initialized with wrong values (in IoCheckShareAccess() and IoSetShareAccess()). share.c
svn path=/trunk/; revision=2174
2001-08-14 21:05:10 +00:00
Hartmut Birr
41e8ef1540 Change the attribute from FILE_DIRECTORY_FILE to
FILE_NON_DIRECTORY_FILE in DeleteFileW().

svn path=/trunk/; revision=2173
2001-08-14 20:50:47 +00:00
Hartmut Birr
d0f2100e07 Enabled the call to ObDereferenceObject for some
IRP_MJ_xxx functions in IoSecondStageCompletion().

svn path=/trunk/; revision=2172
2001-08-14 20:49:05 +00:00
Hartmut Birr
cc2e3f0806 Added support for directory/file removing/deleting.
Fixed the overwriting bug between addEntry() and updEntry().
Change FindFile() from serach with a sector and index to search with a single index.

svn path=/trunk/; revision=2171
2001-08-14 20:47:30 +00:00
Emanuele Aliberti
52a23385a1 CSR.GetTitle implemented.
Some cleanup in the csrss.exe code.

svn path=/trunk/; revision=2170
2001-08-14 12:57:16 +00:00
Hartmut Birr
1f36dc8a8a Fixed the return value in Fat12GetNextCluster().
svn path=/trunk/; revision=2169
2001-08-14 08:06:26 +00:00
Eric Kohl
b0c7df1b9a Implemented IOCTL_DISK_GET_DRIVE_LAYOUT.
svn path=/trunk/; revision=2168
2001-08-13 16:43:36 +00:00
Eric Kohl
25f3f80f1e Fixed interpretation of BIOS memory map.
Patch by Hartmut Birr.

svn path=/trunk/; revision=2167
2001-08-13 16:39:01 +00:00
Brian Palmer
9dd23174c8 Fixed nasm calling bug.
svn path=/trunk/; revision=2166
2001-08-10 06:44:31 +00:00
Hartmut Birr
8eeb1a96b8 VfatReadBigCluster()/VfatReadSmallCluster()/
VfatWriteBigCluster()/VfatWriteSmallCluster():
- Fixed a bug, that will read data over the end
  of the given buffer or write wrong data to
  the disk, when there is a read without caching
  and the start is on the cluster boundery and
  the end not.
VfatReadSmallCluster()/VfatWriteSmallCluster():
- A cache segment is set to valid, when all clusters
  in the segment are readed or written.
VfatWriteSmallCluster():
- The Parameter Extend is set to TRUE (overwritten),
  when the data need a new cluster.
VfatReadFile()/VfatWriteFile():
- Added special handling for the root directory on
  fat12/fat16, so that a read or write operation
  does not touche the cluster area.
- Added some error handling.

svn path=/trunk/; revision=2165
2001-08-08 19:04:13 +00:00
Eric Kohl
c0cbc28359 Fixed incorrect calling conventions.
svn path=/trunk/; revision=2164
2001-08-07 15:44:40 +00:00
Hartmut Birr
0af72b1ead Fixed a bug in VfatWriteFile().
For partitions with clusters < 4k,
there was calculated the wrong start cluster.

svn path=/trunk/; revision=2163
2001-08-07 15:38:04 +00:00
Eric Kohl
65d55d8863 Changed stack allocation.
Fixed bugs in NtAllocateVirtualMemory().
Disabled NtProtectVirtualMemory().

svn path=/trunk/; revision=2162
2001-08-07 14:13:45 +00:00
Eric Kohl
2e249e1b26 Changed stack allocation.
Fixed bugs in NtAllocateVirtualMemory().
Disabled NtProtectVirtualMemory().

svn path=/trunk/; revision=2161
2001-08-07 14:01:42 +00:00
Eric Kohl
cc7a62391e Fixed nasm calling bug.
svn path=/trunk/; revision=2160
2001-08-07 07:15:24 +00:00
Brian Palmer
d32f7b5e5b Added support for debug prints over a RS232 line.
svn path=/trunk/; revision=2159
2001-08-07 06:19:43 +00:00
Brian Palmer
1b761836a3 Simple Win32 boot sector installer. Will not work under Win9x.
svn path=/trunk/; revision=2158
2001-08-07 05:37:13 +00:00
Hartmut Birr
e163d9c89c Fixed a bug in FindCloseFile().
The return value was allways FALSE.
Cmd's 'dir /s' will now work.

svn path=/trunk/; revision=2157
2001-08-06 18:37:23 +00:00
Hartmut Birr
6167160a26 Fixed a bug in SetFilePointer(),
when the starting point is the end of the file.
test-fseek will now work.

svn path=/trunk/; revision=2156
2001-08-06 18:35:15 +00:00
Eric Kohl
6d07d7107b Fixed stupid typo.
svn path=/trunk/; revision=2155
2001-08-05 21:48:25 +00:00
Hartmut Birr
8fa2bb273a Removed changes 1.26/1.27
svn path=/trunk/; revision=2154
2001-08-05 16:35:52 +00:00
Hartmut Birr
ae35912b3a Disabled debug message in VfatReadFile()/VfatWriteFile().
svn path=/trunk/; revision=2153
2001-08-04 11:10:36 +00:00
Hartmut Birr
34b4c8f40b Added updating of FileObject->CurrentByteOffset in VfatRead()/VfatWrite.
svn path=/trunk/; revision=2152
2001-08-04 11:02:47 +00:00
Hartmut Birr
b4a4e5c0be Fixed a bug in CopyFileExW().
The write count is set to the previous returned read length.

svn path=/trunk/; revision=2151
2001-08-04 10:40:38 +00:00
Emanuele Aliberti
4073da2472 Minor fix.
svn path=/trunk/; revision=2149
2001-08-03 21:49:14 +00:00
Eric Kohl
4b420ec7f6 Fixed stack allocation for initial process (smss.exe).
svn path=/trunk/; revision=2148
2001-08-03 19:52:12 +00:00
Hartmut Birr
27346f997d Fixed a bug in addEntry().
The short names are generated and validated correctly.

svn path=/trunk/; revision=2147
2001-08-03 19:01:17 +00:00
Hartmut Birr
de97756973 Added support for file/directory finding by short names.
svn path=/trunk/; revision=2146
2001-08-03 19:00:41 +00:00
Emanuele Aliberti
6fc5560247 I implemented KERNEL32.RaiseException().
svn path=/trunk/; revision=2145
2001-08-03 17:39:09 +00:00
Eric Kohl
e183b6028f Rewrote stack allocation.
svn path=/trunk/; revision=2144
2001-08-03 17:21:38 +00:00
Eugene Ingerman
e2e13b71ce Lock address space before calling MmCreateMemoryArea.
svn path=/trunk/; revision=2143
2001-08-03 09:36:19 +00:00
Phillip Susi
3208a93c26 Some more simple etags make rules
svn path=/trunk/; revision=2142
2001-08-02 20:25:17 +00:00
Phillip Susi
10b469cbd4 Added missing ascii/unicode defines for GetDiskFreeSpaceEx
svn path=/trunk/; revision=2141
2001-08-02 20:24:13 +00:00
Phillip Susi
933eb642dd Added rule to make etags files... cheap hack right now, should be cleaned up later
svn path=/trunk/; revision=2140
2001-08-02 20:22:24 +00:00