2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / ChangeLog
1 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
2
3 * lib/kernel32/debug/break.c: Add @implemented and @unimplemented
4 to APIs.
5 * lib/kernel32/debug/debugger.c: Ditto.
6 * lib/kernel32/debug/output.c: Ditto.
7 * lib/kernel32/except/except.c: Ditto.
8 * lib/kernel32/file/backup.c: Ditto.
9 * lib/kernel32/file/cnotify.c: Ditto.
10 * lib/kernel32/file/copy.c: Ditto.
11 * lib/kernel32/file/create.c: Ditto.
12 * lib/kernel32/file/curdir.c: Ditto.
13 * lib/kernel32/file/delete.c: Ditto.
14 * lib/kernel32/file/deviceio.c: Ditto.
15 * lib/kernel32/file/dir.c: Ditto.
16 * lib/kernel32/file/dosdev.c: Ditto.
17 * lib/kernel32/file/file.c: Ditto.
18 * lib/kernel32/file/find.c: Ditto.
19 * lib/kernel32/file/iocompl.c: Ditto.
20 * lib/kernel32/file/lfile.c: Ditto.
21 * lib/kernel32/file/lock.c: Ditto.
22 * lib/kernel32/file/mailslot.c: Ditto.
23 * lib/kernel32/file/move.c: Ditto.
24 * lib/kernel32/file/npipe.c: Ditto.
25 * lib/kernel32/file/pipe.c: Ditto.
26 * lib/kernel32/file/rw.c: Ditto.
27 * lib/kernel32/file/tape.c: Ditto.
28 * lib/kernel32/file/volume.c: Ditto.
29 * lib/kernel32/mem/global.c: Ditto.
30 * lib/kernel32/mem/heap.c: Ditto.
31 * lib/kernel32/mem/isbad.c: Ditto.
32 * lib/kernel32/mem/local.c: Ditto.
33 * lib/kernel32/mem/procmem.c: Ditto.
34 * lib/kernel32/mem/section.c: Ditto.
35 * lib/kernel32/mem/virtual.c: Ditto.
36 * lib/kernel32/misc/atom.c: Ditto.
37 * lib/kernel32/misc/comm.c: Ditto.
38 * lib/kernel32/misc/computername.c: Ditto.
39 * lib/kernel32/misc/console.c: Ditto.
40 * lib/kernel32/misc/env.c: Ditto.
41 * lib/kernel32/misc/error.c: Ditto.
42 * lib/kernel32/misc/errormsg.c: Ditto.
43 * lib/kernel32/misc/handle.c: Ditto.
44 * lib/kernel32/misc/ldr.c: Ditto.
45 * lib/kernel32/misc/mbchars.c: Ditto.
46 * lib/kernel32/misc/muldiv.c: Ditto.
47 * lib/kernel32/misc/perfcnt.c: Ditto.
48 * lib/kernel32/misc/profile.c: Ditto.
49 * lib/kernel32/misc/res.c: Ditto.
50 * lib/kernel32/misc/stubs.c: Ditto.
51 * lib/kernel32/misc/sysinfo.c: Ditto.
52 * lib/kernel32/misc/time.c: Ditto.
53 * lib/kernel32/misc/toolhelp.c: Ditto.
54 * lib/kernel32/process/cmdline.c: Ditto.
55 * lib/kernel32/process/create.c: Ditto.
56 * lib/kernel32/process/proc.c: Ditto.
57 * lib/kernel32/process/session.c: Ditto.
58 * lib/kernel32/string/lstring.c: Ditto.
59 * lib/kernel32/synch/critical.c: Ditto.
60 * lib/kernel32/synch/event.c: Ditto.
61 * lib/kernel32/synch/intrlck.c: Ditto.
62 * lib/kernel32/synch/mutex.c: Ditto.
63 * lib/kernel32/synch/sem.c: Ditto.
64 * lib/kernel32/synch/timer.c: Ditto.
65 * lib/kernel32/synch/wait.c: Ditto.
66 * lib/kernel32/thread/fiber.c: Ditto.
67 * lib/kernel32/thread/fls.c: Ditto.
68 * lib/kernel32/thread/thread.c: Ditto.
69 * lib/kernel32/thread/tls.c: Ditto.
70
71 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
72
73 * lib/iphlpapi/iphlpapi.c: Add @implemented and @unimplemented
74 to APIs.
75
76 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
77
78 * lib/gdi32/main/dllmain.c: Add @implemented and @unimplemented
79 to APIs.
80 * lib/gdi32/misc/stubs.c: Ditto.
81 * lib/gdi32/misc/stubsa.c: Ditto.
82 * lib/gdi32/misc/stubsw.c: Ditto.
83 * lib/gdi32/objects/bitblt.c: Ditto.
84 * lib/gdi32/objects/brush.c: Ditto.
85 * lib/gdi32/objects/clip.c: Ditto.
86 * lib/gdi32/objects/dc.c: Ditto.
87 * lib/gdi32/objects/fillshap.c: Ditto.
88 * lib/gdi32/objects/line.c: Ditto.
89 * lib/gdi32/objects/pen.c: Ditto.
90 * lib/gdi32/objects/region.c: Ditto.
91 * lib/gdi32/objects/text.c: Ditto.
92
93 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
94
95 * drivers/storage/class2/class2.c: Add @implemented and @unimplemented
96 to APIs.
97
98 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
99
100 * lib/advapi32/misc/shutdown.c: Add @implemented and @unimplemented
101 to APIs.
102 * lib/advapi32/misc/stubs.c: Ditto.
103 * lib/advapi32/misc/sysfunc.c: Ditto.
104 * lib/advapi32/reg/reg.c: Ditto.
105 * lib/advapi32/sec/ac.c: Ditto.
106 * lib/advapi32/sec/misc.c: Ditto.
107 * lib/advapi32/sec/sec.c: Ditto.
108 * lib/advapi32/sec/sid.c: Ditto.
109 * lib/advapi32/service/scm.c: Ditto.
110 * lib/advapi32/service/sctrl.c: Ditto.
111 * lib/advapi32/token/privilege.c: Ditto.
112 * lib/advapi32/token/token.c: Ditto.
113
114 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
115
116 * tools/rgenstat/rgenstat.c (parse_file): Be silent.
117
118 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
119
120 * rules.mak (XSLTPROC): Add.
121 * tools/Makefile: Add rgenstat.
122 * apistatus.lst: New file.
123 * tools/rgenstat: New directory.
124 * tools/rgenstat/.cvsignore: New file.
125 * tools/rgenstat/llmosrt.c: Ditto.
126 * tools/rgenstat/Makefile: Ditto.
127 * tools/rgenstat/rgenstat.c: Ditto.
128 * tools/rgenstat/web: New directory.
129 * tools/rgenstat/web/*.gif: New files.
130 * tools/rgenstat/web/.cvsignore: New file.
131 * tools/rgenstat/web/rapistatus.css: Ditto.
132 * tools/rgenstat/web/rapistatus.js: Ditto.
133 * tools/rgenstat/web/rapistatus.xsl: Ditto.
134
135 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
136
137 * drivers/fs/vfat/misc.c (VfatLockControl): Move it so it is placed
138 before it is referenced.
139 * include/win32k/ntuser.h (NtUserQueryWindow): Correct prototype.
140 * lib/winedbgc/debug.c (default_dbg_vlog): Use wine_dbg_vprintf, not
141 __wine_dbg_vprintf.
142 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Work around GCC 3.4 trying to be
143 smart.
144
145 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
146
147 * lib/user32/windows/defwnd.c (DefWndHandleLButtonUpNC,
148 User32DefWindowProc): Only send WM_SYSCOMMAND message, not WM_CLOSE.
149 (DefWndHandleSysCommand): Handle SC_CLOSE message.
150
151 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
152
153 * include/win32k/ntuser.h (NtUserSetFocus): Correct prototype.
154 * lib/user32/misc/stubs.c (SetFocus): Remove.
155 * lib/user32/windows/defwnd.c (KEYDATA_ALT): New.
156 (User32DefWindowProc): Handle WM_SYSKEYDOWN.
157 * lib/user32/windows/input.c (SetFocus): New.
158 * subsys/win32k/include/msgqueue.h (USER_MESSAGE_QUEUE): Document
159 FocusWindow field.
160 * subsys/win32k/include/window.h (W32kSetFocusWindow): Change return type
161 to HWND.
162 * subsys/win32k/include/winsta.h (W32kGetFocusMessageQueue): New.
163 * subsys/win32k/ntuser/input.c (KeyboardThreadMain): Handle system keys.
164 * subsys/win32k/ntuser/keyboard.c (NtUserSetFocus): New.
165 * subsys/win32k/ntuser/msgqueue.c (MsqPostKeyboardMessage): Implement.
166 * subsys/win32k/ntuser/stubs.c (NtUserSetFocus): Remove.
167 * subsys/win32k/ntuser/window.c (W32kSetFocusWindow): Implement.
168 (NtUserGetClientRect, W32kGetWindowProc, NtUserCreateWindowEx): Release
169 window reference on error.
170 (W32kDestroyWindow): Remove focus from window tree before destroying it
171 if needed.
172 * subsys/win32k/ntuser/winpos.c (WinPosChangeActiveWindow): Implement.
173 (WinPosShowWindow): Activate window if needed.
174 * subsys/win32k/ntuser/winsta.c (W32kGetFocusMessageQueue): New.
175
176 2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
177
178 * lib/user32/controls/button.c (ButtonWndProc_common): Fix unsigned/signed
179 warning.
180
181 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
182
183 * include/ddk/dbgfuncs.h: Move ...
184 * include/ntos/dbgfuncs.h: ... here.
185 * include/basetsd.h (LONG32): Make it a long.
186 * include/ntos.h: Include ntos/dbgfuncs.h.
187 * include/ddk/dbgfuncs.h (DBG_STATUS_*, DBG_GET_SHOW_*): Move to
188 include/ntos/dbgfuncs.h.
189 * include/ddk/exfuncs.h (ExNotifyCallback): Match w32api prototype.
190 (*BinaryTree, *SplayTree, *HashTable): Move to include/ntos/zw.h.
191 * include/ddk/extypes.h (TRAVERSE_METHOD, PKEY_COMPARATOR,
192 PTRAVERSE_ROUTINE, _BINARY_TREE_NODE, BINARY_TREE, SPLAY_TREE_NODE,
193 SPLAY_TREE, HASH_TABLE): Move to include/ntos/zwtypes.h.
194 * include/ddk/status.h (STATUS_PATH_SYNTAX_BAD): Rename to
195 STATUS_OBJECT_PATH_SYNTAX_BAD.
196 * apps/utils/objdir/objdir.c (StatusToName): Change
197 STATUS_PATH_SYNTAX_BAD to STATUS_OBJECT_PATH_SYNTAX_BAD.
198 * ntoskrnl/dbg/errinfo.c: Use STATUS_OBJECT_PATH_SYNTAX_BAD.
199 * include/ntos/rtl.h (RtlQueryRegistryValues, RtlWriteRegistryValue,
200 RtlDeleteRegistryValue): Match w32api prototypes.
201 * include/ntos/zw.h (ZwQuerySystemTime): Ditto.
202 * lib/kernel32/file/cnotify.c (FindFirstChangeNotificationW): Use
203 STATUS_OBJECT_PATH_SYNTAX_BAD.
204 * lib/ntdll/rtl/registry.c (RtlDeleteRegistryValue,
205 RtlQueryRegistryValues, RtlWriteRegistryValue): Match w32api prototypes.
206 * ntoskrnl/cm/cm.h, ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/regfile.c: Change
207 FILETIME to LARGE_INTEGER.
208 * ntoskrnl/cm/rtlfunc.c (RtlDeleteRegistryValue, RtlQueryRegistryValues,
209 RtlWriteRegistryValue): Match w32api prototypes.
210 * ntoskrnl/ex/callback.c (ExNotifyCallback): Ditto.
211 * ntoskrnl/ex/time.c (NtQuerySystemTime): Ditto.
212
213 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
214
215 * hal/halx86/dma.c (AdapterObjects): Don't put braces on scalar
216 initializers.
217
218 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
219
220 Changes for compiling with w32api
221
222 * include/ddk/obfuncs.h (ObCreateObject): Remove.
223 * include/ntos/zwtypes.h (ObRosCreateObject): Add.
224 * ntoskrnl/ntoskrnl.def, ntoskrnl/ntoskrnl.edf: Export ObCreateObject@36
225 and ObRosCreateObject@20.
226 * ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/registry.c, ntoskrnl/cm/regobj.c,
227 ntoskrnl/io/create.c, ntoskrnl/io/device.c, ntoskrnl/io/iocomp.c,
228 ntoskrnl/lpc/connect.c, ntoskrnl/lpc/create.c, ntoskrnl/mm/section.c,
229 ntoskrnl/nt/evtpair.c, ntoskrnl/nt/mutant.c, ntoskrnl/nt/ntevent.c,
230 ntoskrnl/nt/ntsem.c, ntoskrnl/nt/nttimer.c, ntoskrnl/nt/profile.c,
231 ntoskrnl/ob/dirobj.c, ntoskrnl/ob/namespc.c, ntoskrnl/ob/symlink.c,
232 ntoskrnl/ps/create.c, ntoskrnl/ps/process.c, ntoskrnl/se/token.c,
233 subsys/win32k/ntuser/winsta.c: Use ObRosCreateObject, not ObCreateObject.
234 * ntoskrnl/ob/object.c (ObRosCreateObject): Rename from ObCreateObject.
235 (ObCreateObject): Add stub.
236
237 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
238
239 Changes for compiling with w32api
240
241 * include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
242 (FSRTL_COMMON_FCB_HEADER): Add.
243 * include/ddk/iotypes.h (FILE_OBJECT): Rename field
244 SectionObjectPointers to SectionObjectPointer.
245 * ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
246 ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
247 drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
248 drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
249 drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
250 drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
251 Use new FILE_OBJECT structure.
252 * drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
253 Use new FSRTL_COMMON_FCB_HEADER structure.
254 * drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
255 * include/ddk/ketypes.h (KQUEUE): Match w32api structure.
256 * ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
257 * ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
258 KeReleaseSpinLockFromDpcLevel): Undefine before declaring.
259
260 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
261
262 Changes for compiling with w32api
263
264 * include/ddk/ketypes.h (KSPIN_LOCK, PKSPIN_LOCK): Match w32api
265 structures.
266 * ntoskrnl/ke/spinlock.c: Use new structures.
267
268 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
269
270 Changes for compiling with w32api
271
272 * include/ddk/service.h: Move ...
273 * include/ntos/service.h: ... here.
274 * include/ddk/kdfuncs.h: Move ...
275 * include/ntos/kdfuncs.h: ... here.
276 * include/ntos/halfuncs.h: New file.
277 * ntoskrnl/include/internal/hal/hal.h,
278 ntoskrnl/include/internal/hal/bus.h,
279 ntoskrnl/include/internal/hal/mps.h: Remove.
280 * hal/halx86/include/hal.h: Remove disabled code.
281 * include/ntos.h: Include ntos/service.h, ntos/halfuncs.h, and
282 ntos/kdfuncs.h.
283 * include/ddk/fstypes.h (FILE_LOCK_TOC): Move ...
284 * include/ntos/file.h: ... here.
285 * include/ddk/halfuncs.h (HalAllProcessorsStarted,
286 HalBeginSystemInterrupt, HalDisableSystemInterrupt,
287 HalEnableSystemInterrupt, HalEndSystemInterrupt,
288 HalInitializeProcessor, HalInitSystem, HalReportResourceUsage): Move to
289 include/ntos/halfuncs.h.
290 * include/ddk/iofuncs.h (IoAssignDriveLetters): Ditto.
291 * include/ddk/kefuncs.h (KeInitializeApc): Match w32api prototype.
292 (KeRaiseIrqlToSynchLevel): Move to include/ntos/halfuncs.h.
293 * include/ddk/ketypes.h (KAPC_ENVIRONMENT): Move to include/ntos/types.h.
294 (KDEVICE_QUEUE, KDEVICE_QUEUE_ENTRY): Match w32api prototype.
295 (KINTERRUPT): Move to include/ntos/zwtypes.h.
296 * include/ddk/mmtypes.h (PAGE_ROUND_UP, PAGE_ROUND_DOWN): Move ...
297 * include/ntos/mm.h: ... here.
298 * include/ddk/ntddk.h: Don't include ddk/kdfuncs.h.
299 * include/ddk/pstypes.h (PKTHREAD, PRKTHREAD): Add.
300 (PsInitialSystemProcess, PsProcessType, PsThreadType): Move ...
301 include/ntos/ps.h: ... here.
302 * lib/ntdll/rtl/i386/exception.c (SehpContinue): New.
303 * ntoskrnl/rtl/i386/exception.c (SehpContinue): Ditto.
304 * ntoskrnl/include/internal/ke.h: Include <ddk/ntifs.h>.
305 * ntoskrnl/include/internal/ntoskrnl.h: Include internal/ke.h.
306 * ntoskrnl/ex/napi.c: Use new structure SSDT_ENTRY.
307 * ntoskrnl/ke/apc.c (KeInitializeApc): Match w32api prototype.
308 * ntoskrnl/ke/kqueue.c: Use fields of new structures KDEVICE_QUEUE
309 and KDEVICE_QUEUE_ENTRY.
310
311 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
312
313 * ntoskrnl/cm/regfile.c (CmiCopyKey): Fix unsigned/signed warning.
314
315 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
316
317 * lib/user32/windows/icon.c (CURSORICON_FindBestCursor,
318 CURSORICON_FindBestIcon): Fix unsigned/signed warning.
319
320 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
321
322 Changes for compiling with w32api
323
324 * ntoskrnl/include/internal/i386/ps.h (KPCR_TSS): Redefine as 0x3C.
325 (KPCR_TIB): New structure.
326 (IKPCR): Ditto.
327 (KPCR): Match w32api structure fieldnames.
328 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Adjust for changes to KPCR.
329 * ntoskrnl/ke/i386/kernel.c: Ditto.
330 * ntoskrnl/ps/thread.c: Ditto.
331
332 2003-06-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
333
334 Changes for compiling with w32api
335
336 * include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
337 SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
338 (SYSTEM_MODULE_INFORMATION): Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
339 Match w32api structure fieldnames.
340 * include/epsapi.h: Include <ntos.h>.
341 (PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
342 PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
343 SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
344 * lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
345 SYSTEM_MODULE_INFORMATION structures.
346 * lib/psapi/misc/win32.c: Ditto.
347 * ntoskrnl/ldr/loader.c: Ditto.
348 * lib/epsapi/enum/modules.c: Include <ntos.h>.
349 * lib/ntdll/rtl/thread.c: Ditto.
350 * lib/rosrtl/thread/context.c: Ditto.
351 * lib/rosrtl/thread/create.c: Ditto.
352 * lib/rosrtl/thread/stack.c: Ditto.
353 * include/ntos.h: Include "rosrtl/thread.h".
354 * include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
355 * include/winsock2.h: Ditto.
356 * include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
357 _OBJECT_TYPE.
358 (PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
359 * ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
360 struct _SECTION_OBJECT.
361 * ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
362 _KPCR.
363
364 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
365
366 * Makefile: Update bootcd target.
367
368 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
369
370 * subsys/system/usetup/progress.c (ProgressNextStep): Check if NewPos
371 is odd.
372
373 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
374
375 Changes for compiling with w32api
376
377 * include/ddk/haltypes.h: Move ...
378 * include/ntos/haltypes.h: ... here.
379 * include/ddk/obtypes.h: Move ...
380 * include/ntos/obtypes.h: ... here.
381 * include/ddk/i386/tss.h: Move ...
382 * include/ntos/tss.h: ... here.
383 * include/errors.h, include/windows.h: #include_next <windows.h>.
384 * include/ntos.h: Include "ntos/haltypes.h", "ntos/obtypes.h", and
385 "ntos/tss.h".
386 * include/ddk/defines.h (EXPORTED, IMPORTED): Move to
387 include/ntos/types.h.
388 * include/ddk/exfuncs.h, include/ddk/mmtypes.h, include/ntos/except.h,
389 include/ntos/file.h, include/ole32/guiddef.h, include/win32k/color.h,
390 lib/msafd/include/debug.h, lib/user32/include/debug.h,
391 lib/ws2_32/include/debug.h, lib/ws2help/debug.h,
392 ntoskrnl/include/internal/debug.h, ntoskrnl/ke/i386/bthread.S,
393 ntoskrnl/rtl/error.c: Don't define macros if previously defined.
394 * include/ddk/halfuncs.h: Include <ntos/haltypes.h>.
395 * include/ddk/iotypes.h: Include <ntos/obtypes.h>.
396 * include/ddk/ketypes.h (MB_FLAGS_*, LOADER_MODULE, ADDRESS_RANGE,
397 LOADER_PARAMETER_BLOCK): Move to include/ntos/types.h.
398 * include/ddk/ntddk.h: #include_next <ddk/ntddk.h>.
399 * include/ddk/ntifs.h: #include_next <ddk/ntifs.h>.
400 * include/napi/shared_data.h (SharedUserData): Undefine before defining.
401 * include/ntos/rtl.h (RtlUpcaseUnicodeString): Correct prototype.
402 * include/ntos/zwtypes.h (THREAD_STATE): Add.
403 * lib/ntdll/rtl/unicode.c (RtlUpcaseUnicodeString): Match new prototype.
404 * ntoskrnl/rtl/unicode.c (RtlUpcaseUnicodeString): Ditto.
405 * lib/string/Makefile: Include Makefile.$(ARCH). Don't include
406 makefile.$(ARCH).
407 * ntoskrnl/ex/sysinfo.c, ntoskrnl/include/internal/ntoskrnl.h,
408 * ntoskrnl/include/internal/ob.h, ntoskrnl/ob/handle.c: Include <ntos.h>.
409 * ntoskrnl/ke/i386/syscall.S: Don't include <ddk/defines.h>.
410 (KernelMode, UserMode): Define.
411 * ntoskrnl/ke/i386/stkswitch.S, ntoskrnl/ke/i386/tskswitch.S,
412 ntoskrnl/ke/i386/v86m_sup.S: Include <ntos/tss.h>
413
414 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
415
416 * Makefile: Fix typo.
417
418 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
419
420 * Makefile: Don't install system.hiv. Install fonts and nls directory.
421 * tools/rcopy.c (copy_file, copy_directory, is_directory): New functions.
422
423 2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
424
425 * ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
426
427 2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
428
429 * ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
430 Don't dereference Irp->UserEvent here.
431 * ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
432 * ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
433 * (NtReadFile, NtWriteFile): Set I/O completion routine if using an
434 event that is under object manager control.
435
436 2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
437
438 * ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
439 * ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
440 * ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
441 RawFsDriverEntry): Add prototypes.
442 * ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
443 * ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
444 * ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
445 (IoRegisterFileSystem): Add registered filesystem device objects at the
446 head of the list.
447 * ntoskrnl/io/iomgr.c (IoInit2): New function.
448 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
449 * ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
450 to MmFindRegion().
451 * ntoskrnl/io/rawfs.c: New file.
452
453 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
454
455 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
456 * ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
457 for primary partitions.
458 * subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
459 hidden sectors.
460 * subsys/system/usetup/usetup.c (SelectPartitionPage,
461 DrawFileSystemList, FormatPartitionPage): Don't use conditional define
462 ENABLE_FORMAT.
463 (CreateFileSystemList): Don't draw "Keep current file system" option if
464 formatting is needed.
465 (SelectFileSystemPage): Figure out if partition must be formatted.
466 * subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
467 (FILE_SYSTEM_LIST): Add ForceFormat field.
468
469 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
470
471 * lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
472 unsigned/signed warning.
473 * ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
474 NtCreatePagingFile): Ditto.
475
476 2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
477
478 * tools/helper.mk: Kill implicit rule ".o".
479
480 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
481
482 * Makefile (DLLS): Add epsapi, psapi and wsock32.
483 * lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
484 relocation crosses a page boundary.
485 (LdrFixupImports): Use image load address in calculatation of import
486 address list.
487
488 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
489
490 * lib/fslib/vfatlib/vfatlib.h: New file.
491 * subsys/system/usetup/format.c: Ditto.
492 * subsys/system/usetup/format.h: Ditto.
493 * lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
494 (VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
495 VfatWriteRootDirectory): New function.
496 (VfatFormat): Implement.
497 * subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
498 0x0000 as marker to disable backup boot sector.
499 (InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
500 Also treat 0x0000 as no backup boot sector is available.
501 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
502 (TARGET_OBJECTS): Add format.o.
503 * subsys/system/usetup/partlist.c (AddPartitionList): Initialize
504 PartNumber field.
505 (GetSelectedPartition): Set PartEntryNumber correctly.
506 (CreateSelectedPartition): Write partition information to disk.
507 (DeleteSelectedPartition): New function.
508 * subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
509 (DeleteSelectedPartition): Prototype.
510 * subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
511 (SelectPartitionPage): Support deletion of partition.
512 (FormatPartitionPage): Support formatting of partition.
513
514 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
515
516 * tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
517 * lib/ntdll/makefile (TARGET_ASFLAGS): Define as
518 "-I $(PATH_TO_TOP)/include".
519 (TARGET_OBJECTS): Add ldr/entry.o.
520 * lib/ntdll/ldr/startup.c: Move inline assembly code...
521 * lib/ntdll/ldr/entry.S: ...here. New file.
522
523 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
524
525 * include/kernel32/kernel32.h (assert): Define.
526 * tools/mkhive/.cvsignore: New file.
527
528 2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
529
530 * subsys/system/usetup/partlist.c (AddPartitionList): Create
531 unpartitioned areas.
532 (CreatePartitionListNoGUI): Save disk geometry.
533 (PrintDiskData): Do not print hidden partition list entries.
534 (ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
535 list entries.
536 (GetActiveBootPartition): Use CurrentDisk as index.
537 (CreateSelectedPartition): New function.
538 * subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
539 (PARTENTRY): Add fields StartingOffset and HidePartEntry.
540 (DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
541 and BytesPerSector;
542 (CreateSelectedPartition): Add Prototype.
543 * subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
544 and FORMAT_PARTITION_PAGE
545 (CurrentPartitionList, CurrentFileSystemList): New globals.
546 (SelectPartitionPage): Set CurrentPartitionList.
547 (PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
548 (DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
549 CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
550 ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
551 New functions.
552 (SelectFileSystemPage): Draw partition screen.
553 (CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
554 FORMAT_PARTITION_PAGE.
555 * subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.
556
557 2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
558
559 * tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
560 InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
561 InfGetLineCount): Change call to stricmp() to strcasecmp().
562 * tools/mkhive/reginf.c (GetRootKey): Ditto.
563 * tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.
564
565 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
566
567 * ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
568 comparison warning.
569 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
570 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
571 * tools/helper.mk: Do not install static libraries.
572
573 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
574
575 * tools/Makefile: Fix rule for mkflpimg.
576
577 2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
578
579 * tools/cdmake/Makefile: Use HOST_CC.
580 * tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
581 DIR_SEPARATOR_STRING): Define.
582 (directory_record): Add fields name_on_cd and extension_on_cd.
583 (error_exit): Make a macro. Avoid using vfprintf and fprintf.
584 (write_directory_record, new_directory_record, compare_directory_order,
585 pass): Use name_on_cd and extension_on_cd.
586 (make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
587 (new_directory_record, make_directory_records): Linux implementations.
588 (main): Use DIR_SEPARATOR_CHAR.
589
590 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
591
592 * lib/freetype/.cvsignore: Ignore nul.
593
594 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
595
596 * drivers/storage/atapi/atapi.c (AtapiReadWrite): Expect an interrupt a
597 bit sooner.
598 * hal/halx86/isa.c (HalpGetIsaInterruptVector): Compute vector for MP.
599 * hal/halx86/pci.c (HalpGetPciInterruptVector): Ditto.
600 * hal/halx86/sysbus.c (HalpGetSystemInterruptVector): Ditto.
601 * hal/halx86/mp.c (AssignIrqVector): Rewrite.
602 (MpsTimerHandler): Disable for now.
603 (MpsSpuriousHandler): Do not acknowledge interrupt.
604 (HalAllProcessorsStarted): Only boot 1 CPU for now.
605 (RescheduleDpcRoutine): New function.
606 (RescheduleDpc): New variable.
607 (HalpInitMPS): Initialize RescheduleDpc. Fix bug in call to memset.
608 * hal/halx86/mpsirql.c: Rewrite.
609 * hal/halx86/include/mps.h (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL,
610 IRQL2VECTOR): New macros.
611 * ntoskrnl/ntoskrnl.def: Add KeRescheduleThread@0.
612 * ntoskrnl/ntoskrnl.edf: Ditto.
613 * ntoskrnl/include/internal/ke.h (KeRescheduleThread): Prototype.
614 * ntoskrnl/ke/kthread.c (KeRescheduleThread): New function.
615 * ntoskrnl/ke/i386/exp.c (KeInitExceptions): Remove unneeded call to
616 set_trap_gate().
617 * ntoskrnl/ke/i386/irq.c (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL): Correct.
618 (IRQ_BASE): Define as FIRST_DEVICE_VECTOR.
619 (NR_IRQS): Define using IRQ_BASE.
620 (KeInitInterrupts): Use IRQ_BASE.
621 (KiInterruptDispatch2): Rewrite.
622 (KiInterruptDispatch): Ditto.
623 (KeConnectInterrupt): Pass Vector to HalEnableSystemInterrupt() for MP.
624 (KeDisconnectInterrupt): Pass Vector to HalDisableSystemInterrupt() for MP.
625 * ntoskrnl/ke/i386/trap.s (_KiTrapProlog): Change 0x124 to KPCR_CURRENT_THREAD.
626
627 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
628
629 * Makefile: Add format.
630 * include/fslib/vfatlib.h (VfatFormat): Prototype.
631 * lib/fmifs/format.c (VfatFormat): Add stub.
632 * lib/fmifs/makefile (TARGET_LIBS): Add vfatlib.a.
633 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Add stub.
634 * tools/helper.mk: Do not install .sym files for static libraries.
635 * subsys/system/format: New directory.
636 * subsys/system/format/makefile: New file.
637 * subsys/system/format/format.c: Ditto.
638
639 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
640
641 * include/fslib: New directory.
642 * lib/fslib: Ditto.
643 * lib/fslib/vfatlib: Ditto.
644 * include/fslib/vfatlib.h: New file.
645 * lib/fslib/vfatlib/.cvsignore: Ditto.
646 * lib/fslib/vfatlib/Makefile: Ditto.
647 * lib/fslib/vfatlib/vfatlib.c: Ditto.
648 * Makefile: Support file system libraries
649 * lib/zlib/Makefile: Remove nostrip target.
650 * tools/helper.mk: Add nostrip target.
651
652 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
653
654 * tools/.cvsignore: Ignore rline.
655
656 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
657
658 * bootcd.bat: Install dosmbr.bin.
659 * drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical
660 device object to IoWritePartitionTable().
661 * ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function.
662 (xHalWriteMBR): Ditto.
663 (xHalExamineMBR): Use xHalReadMBR() to read MBR.
664 (xHalIoWritePartitionTable): Partial implement.
665 * subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function.
666 * subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype.
667 * subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function.
668 (CreatePartitionList): Use CreatePartitionListNoGUI() to create partition
669 list.
670 (GetPartitionInformation): New function.
671 (MarkPartitionActive): Ditto.
672 * subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype.
673 * subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath
674 point to the selected partition if no partitions are active.
675 (BootLoaderPage): If no partitions are active, then install a DOS MBR and
676 mark the selected partition active.
677
678 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
679
680 * Makefile: Add bootcd target.
681 (BOOTCD_INSTALL): Set for bootcd install.
682 * rules.mak (TOPDIR): Define on windows.
683 (BOOTCD_DIR): Define.
684 (RLINE): Define.
685 * apps/tests/lpc/makefile: Handle BOOTCD_INSTALL.
686 * apps/tests/mstest/Makefile: Ditto.
687 * apps/tests/nptest/Makefile: Ditto.
688 * apps/tests/shm/makefile: Ditto.
689 * ntoskrnl/Makefile: Handle BOOTCD_INSTALL. Add bootcd target.
690 * drivers/dd/vga/makefile: Add bootcd target.
691 * drivers/dd/blue/makefile (TARGET_BOOTSTRAP): Define as yes.
692 * drivers/dd/floppy/Makefile: Ditto.
693 * drivers/fs/cdfs/makefile: Ditto.
694 * drivers/fs/ntfs/makefile: Ditto.
695 * drivers/fs/vfat/makefile: Ditto.
696 * drivers/input/keyboard/makefile: Ditto.
697 * drivers/storage/atapi/makefile: Ditto.
698 * drivers/storage/cdrom/makefile: Ditto.
699 * drivers/storage/class2/makefile: Ditto.
700 * drivers/storage/disk/makefile: Ditto.
701 * drivers/storage/scsiport/makefile: Ditto.
702 * hal/halx86/Makefile: Ditto.
703 * lib/ntdll/makefile: Ditto.
704 * subsys/system/usetup/makefile (TARGET_BOOTSTRAP): Define as yes.
705 (TARGET_BOOTSTRAP_NAME): Define as smss.exe.
706 * tools/Makefile: Add rline executable.
707 * tools/helper.mk: Support bootcd targets.
708 * tools/rline.c: New file.
709
710 2003-04-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
711
712 * lib/freetype/builds/compiler/gcc.mk (CC): Comment out; use CC from
713 rules.mak instead.
714 * lib/freetype/README.ROS: Note this in porting guide.
715
716 2003-03-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
717
718 * ntoskrnl/ex/sysinfo.c (SystemProcessInformation): Fix warning.
719
720 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
721
722 * include/ntos/rtltypes.h (PRTL_BASE_PROCESS_START_ROUTINE): Define.
723 * lib/kernel32/process/create.c (RtlBaseProcessStartRoutine): Import.
724 (KlCreateFirstThread): Support images with native subsystem ID.
725 * lib/ntdll/def/ntdll.def (RtlBaseProcessStartRoutine): Export.
726 * lib/ntdll/def/ntdll.edf (RtlBaseProcessStartRoutine): Ditto.
727 * lib/ntdll/rtl/exception.c (RtlBaseProcessStart): Forward declare.
728 (RtlBaseProcessStartRoutine, RtlBaseProcessStart): Add.
729
730 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
731
732 * include/defines.h (VS_FFI_SIGNATURE, VS_FFI_STRUCVERSION): Define.
733
734 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
735
736 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
737 STATUS_ACCESS_VIOLATION for exception 14.
738
739 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
740
741 * ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.
742
743 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
744
745 * lib/ntdll/rtl/nls.c (RtlCustomCPToUnicodeN, RtlMultiByteToUnicodeN,
746 RtlOemToUnicodeN, RtlUnicodeToCustomCPN, RtlUnicodeToMultiByteN,
747 RtlUnicodeToMultiByteSize, RtlUnicodeToOemN,
748 RtlUpcaseUnicodeToCustomCPN, RtlUpcaseUnicodeToMultiByteN,
749 RtlUpcaseUnicodeToOemN): Assert when unimplemented code is reached.
750
751 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
752
753 * include/ntos/zwtypes.h (FILE_BASIC_INFORMATION): Use LARGE_INTEGER,
754 not TIME type for time fields.
755 * lib/kernel32/file/copy.c (SetLastWriteTime): Adjust for new type.
756 (CopyFileExW): Ditto.
757
758 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
759
760 * include/ntos/types.h (FALSE): Protect with #ifndef FALSE.
761 (TRUE): Protect with #ifndef TRUE.
762
763 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
764
765 * include/napi/i386/segment.h (put_user, get_user,
766 bad_user_access_length, __segment_dummy, __sd, __const_sd, __put_user,
767 __get_user, __generic_memcpy_tofs, __constant_memcpy_tofs, COMMON,
768 __generic_memcpy_fromfs, __constant_memcpy_fromfs, memcpy_fromfs,
769 memcpy_tofs, get_fs_byte, get_fs_word, get_fs_long, put_fs_byte,
770 put_fs_word, put_fs_long, get_user_word, get_user_byte, get_user_long,
771 put_user_byte, put_user_word, put_user_long, get_fs, get_ds, set_fs,
772 set_ds): Remove.
773
774 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
775
776 * include/ddk/pstypes.h (TLS_OUT_OF_INDEXES): Define.
777
778 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
779
780 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): Treat a write attempt with
781 a return value of STATUS_END_OF_FILE as a successful write.
782 * ntoskrnl/cc/copy.c (WriteCacheSegment): Ditto.
783
784 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
785
786 * ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
787 (CmiMergeFree): Ditto.
788
789 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
790
791 * include/structs.h (OSVERSIONINFOEXA): Expand definition of
792 OSVERSIONINFOA.
793 (OSVERSIONINFOEXW): Expand definition of OSVERSIONINFOW.
794 * lib/msafd/misc/helpers.c (LocateHelperDLL): Cast AddressFamily,
795 SocketType, and Protocol to INT.
796 * lib/ws2_32/misc/catalog.c (LocateProvider): Ditto.
797
798 2003-01-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
799
800 * ntoskrnl/dbg/profile.c (KdbProfilerThreadMain): Make STDCALL.
801
802 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
803
804 * drivers/net/tcpip/makefile (TCP_OBJECTS): Add transport/tcp/tcpcore.o,
805 transport/tcp/tcp_input.o, transport/tcp/tcp_ipv4.o,
806 transport/tcp/tcp_output.o, and transport/tcp/tcp_timer.o.
807 * drivers/net/tcpip/transport/tcp/tcp.c (TCPStartup): Call tcp_init().
808 * drivers/net/tcpip/include/linux.h: New file.
809 * drivers/net/tcpip/include/tcpcore.h: Ditto.
810 * drivers/net/tcpip/include/tcpdef.h: Ditto.
811 * drivers/net/tcpip/transport/tcp/tcp_input.c: Ditto.
812 * drivers/net/tcpip/transport/tcp/tcp_ipv4.c: Ditto.
813 * drivers/net/tcpip/transport/tcp/tcp_output.c: Ditto.
814 * drivers/net/tcpip/transport/tcp/tcp_timer.c: Ditto.
815 * drivers/net/tcpip/transport/tcp/tcpcore.c: Ditto.
816
817 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
818
819 * lib/kernel32/k32.h: New file.
820 * lib/kernel32/makefile (TARGET_CFLAGS): Add -I./.
821 (TARGET_PCH): Set to k32.h.
822 * lib/kernel32/except/except.c: Use <k32.h>.
823 * lib/kernel32/file/backup.c: Ditto.
824 * lib/kernel32/file/cnotify.c: Ditto.
825 * lib/kernel32/file/copy.c: Ditto.
826 * lib/kernel32/file/create.c: Ditto.
827 * lib/kernel32/file/curdir.c: Ditto.
828 * lib/kernel32/file/delete.c: Ditto.
829 * lib/kernel32/file/deviceio.c: Ditto.
830 * lib/kernel32/file/dir.c: Ditto.
831 * lib/kernel32/file/dosdev.c: Ditto.
832 * lib/kernel32/file/file.c: Ditto.
833 * lib/kernel32/file/find.c: Ditto.
834 * lib/kernel32/file/iocompl.c: Ditto.
835 * lib/kernel32/file/lfile.c: Ditto.
836 * lib/kernel32/file/lock.c: Ditto.
837 * lib/kernel32/file/mailslot.c: Ditto.
838 * lib/kernel32/file/move.c: Ditto.
839 * lib/kernel32/file/npipe.c: Ditto.
840 * lib/kernel32/file/pipe.c: Ditto.
841 * lib/kernel32/file/rw.c: Ditto.
842 * lib/kernel32/file/tape.c: Ditto.
843 * lib/kernel32/file/volume.c: Ditto.
844 * lib/kernel32/mem/global.c: Ditto.
845 * lib/kernel32/mem/heap.c: Ditto.
846 * lib/kernel32/mem/isbad.c: Ditto.
847 * lib/kernel32/mem/local.c: Ditto.
848 * lib/kernel32/mem/procmem.c: Ditto.
849 * lib/kernel32/mem/section.c: Ditto.
850 * lib/kernel32/mem/virtual.c: Ditto.
851 * lib/kernel32/misc/atom.c: Ditto.
852 * lib/kernel32/misc/comm.c: Ditto.
853 * lib/kernel32/misc/console.c: Ditto.
854 * lib/kernel32/misc/debug.c: Ditto.
855 * lib/kernel32/misc/dllmain.c: Ditto.
856 * lib/kernel32/misc/env.c: Ditto.
857 * lib/kernel32/misc/error.c: Ditto.
858 * lib/kernel32/misc/handle.c: Ditto.
859 * lib/kernel32/misc/ldr.c: Ditto.
860 * lib/kernel32/misc/profile.c: Ditto.
861 * lib/kernel32/misc/res.c: Ditto.
862 * lib/kernel32/misc/stubs.c: Ditto.
863 * lib/kernel32/misc/sysinfo.c: Ditto.
864 * lib/kernel32/misc/time.c: Ditto.
865 * lib/kernel32/process/cmdline.c: Ditto.
866 * lib/kernel32/process/create.c: Ditto.
867 * lib/kernel32/process/proc.c: Ditto.
868 * lib/kernel32/process/session.c: Ditto.
869 * lib/kernel32/string/lstring.c: Ditto.
870 * lib/kernel32/synch/critical.c: Ditto.
871 * lib/kernel32/synch/event.c: Ditto.
872 * lib/kernel32/synch/intrlck.c: Ditto.
873 * lib/kernel32/synch/mutex.c: Ditto.
874 * lib/kernel32/synch/sem.c: Ditto.
875 * lib/kernel32/synch/timer.c: Ditto.
876 * lib/kernel32/synch/wait.c: Ditto.
877 * lib/kernel32/thread/fiber.c: Ditto.
878 * lib/kernel32/thread/thread.c: Ditto.
879 * lib/kernel32/thread/tls.c: Ditto.
880
881 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
882
883 * apps/testsets/Makefile (TEST_SETS): Remove ldr.
884 * include/msvcrt/ctype.h (towupper): Make returntype wchar_t.
885
886 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
887
888 * tools/rtouch.c: Include <sys/utime.h>, not <utime.h>.
889
890 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
891
892 * tools/rtouch.c: New file.
893 * rules.mak (ROS_USE_PCH): Default to no.
894 (RTOUCH): Define.
895 * tools/Makefile: Add rtouch utility.
896 * tools/helper.mk: Support precompiled headers.
897
898 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
899
900 * ntoskrnl/dbg/profile.c: New file.
901 * ntoskrnl/Makefile (OBJECTS_KDBG): Add dbg/profile.o.
902 * ntoskrnl/dbg/kdb.h: Define NTOS_MODE_KERNEL. Include <ntos.h>.
903 (LdrGetAddressInformation, KdbInitProfiling, KdbInitProfiling2,
904 KdbDisableProfiling, KdbEnableProfiling, KdbProfileInterrupt) Prototype.
905 * ntoskrnl/kd/kdebug.c (KdInitSystem): Add /PROFILE option if KDBG=1.
906 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call KdbInitProfiling2()
907 if KDBG=1.
908 * ntoskrnl/ke/i386/irq.c: Include <../dbg/kdb.h> if KDBG=1.
909 (KiInterruptDispatch): Call KdbProfileInterrupt() on timer interrupt
910 if KDBG=1.
911
912 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
913
914 * drivers/fs/vfat/create.c (VfatSupersedeFile): Only notify cache manager
915 about change in file size if caching is initiated on the file stream.
916
917 2003-01-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
918
919 * boot.bat: Use DOS end-of-line characters.
920
921 2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
922
923 * ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
924 warning.
925 * lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
926 at end.
927
928 2002-12-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
929
930 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
931 when initialized.
932 * drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
933 * lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
934 MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
935 are both 0.
936 * ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
937 * ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
938 CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
939 CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
940 CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
941 CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
942 CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
943 * ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
944 (MmCreateDataFileSection): Make sure caching is initialized for the file
945 stream.
946
947 2002-11-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
948
949 * include/ddk/ldrtypes.h: Move ...
950 * include/ntos/ldrtypes.h: ... here.
951 * include/ddk/ntddk.h: Include ldrtypes.h at new location.
952
953 2002-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
954
955 * drivers/bus/acpi/ospm/osl.c (acpi_os_readable, acpi_os_writable):
956 Match prototypes.
957 * include/ascii.h (AbortSystemShutdownA): Correct prototype.
958 * include/debug.h (assert): Wrap in #ifndef assert.
959 * include/funcs.h (AbortSystemShutdown): Remove duplicate prototype.
960 * include/ddk/rtltypes.h: Move ...
961 * include/ntos/rtltypes.h: ... here.
962 * include/ddk/rtl.h: Move ...
963 * include/ntos/rtl.h: ... here.
964 * include/ddk/zwtypes.h: Move ...
965 * include/ntos/zwtypes.h: ... here.
966 * include/ddk/zw.h: Move ...
967 * include/ntos/zw.h: ... here.
968 | include/ddk/cmfuncs.h: Remove file; Move NtCreateKey to ntos/zw.h.
969 * include/ntos.h: #include ntos/rtltypes.h, ntos/rtl.h, ntos/zwtypes.h,
970 and ntos/zw.h.
971 * include/unicode.h: (AbortSystemShutdownW): Correct prototype.
972 * include/ddk/ntddk.h: Include headers at new location; Don't include
973 removed files.
974 * include/defines.h: Wrap definitions in w32api in #ifndef __USE_W32API.
975 * include/ntos/zwtypes.h: Ditto.
976 * include/napi/lpc.h: Ditto.
977 * include/napi/shared_data.h: Ditto.
978 * include/napi/teb.h: Ditto.
979 * include/napi/types.h: Ditto.
980 * include/ntdll/ldr.h: Ditto.
981 * include/ntdll/rtl.h: Ditto.
982 * include/ntos/console.h: Ditto.
983 * include/ntos/disk.h: Ditto.
984 * include/ntos/except.h: Ditto.
985 * include/ntos/file.h: Ditto.
986 * include/ntos/gditypes.h: Ditto.
987 * include/ntos/heap.h: Ditto.
988 * include/ntos/keyboard.h: Ditto.
989 * include/ntos/mm.h: Ditto.
990 * include/ntos/ntdef.h: Ditto.
991 * include/ntos/ps.h: Ditto.
992 * include/ntos/registry.h: Ditto.
993 * include/ntos/security.h: Ditto.
994 * include/ntos/synch.h: Ditto.
995 * include/ntos/time.h: Ditto.
996 * include/ntos/types.h: Ditto.
997 * include/ntos/port.h: Ditto.
998 * lib/advapi32/misc/shutdown.c (AbortSystemShutdownW,
999 AbortSystemShutdownA): Correct prototype.
1000 * lib/advapi32/reg/reg.c: #include ntos.h.
1001 * lib/advapi32/sec/misc.c: Ditto.
1002 * lib/advapi32/sec/sid.c: Ditto.
1003 * lib/advapi32/service/sctrl.c: Ditto.
1004 * lib/advapi32/token/token.c: Ditto.
1005 * lib/kernel32/misc/dllmain.c: Ditto.
1006 * ntoskrnl/ex/napi.c: Ditto.
1007 * ntoskrnl/rtl/i386/exception.c: Ditto.
1008 * lib/advapi32/sec/ac.c: Ditto.
1009 (FindFirstFreeAce, GetAce): Change PACE* to PACE_HEADER*.
1010 * lib/advapi32/service/scm.c (EnumServicesStatusExA,
1011 EnumServicesStatusExW, QueryServiceStatusEx): Correct prototype.
1012 * lib/ntdll/rtl/ppb.c (RtlDestroyProcessParameters): Match prototype.
1013 * ntoskrnl/dbg/errinfo.c (DbgGetErrorText): Use %08x, not %08lx.
1014 * ntoskrnl/io/arcname.c (IoCreateSystemRootLink): Use %u, not %lu.
1015 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Ditto.
1016 * (_main): Use %d, not %ld.
1017 * ntoskrnl/include/internal/i386/ke.h: Add #pragma GCC system_header.
1018 * include/ddk/ntdef.h (NTSYSAPI, NTAPI, NTKERNELAPI): Define to STDCALL;
1019 Check if already defined.
1020 * include/base.h (STDCALL, CDECL, CALLBACK, PASCAL): Move to ntos/types.h.
1021
1022 2002-11-13 Rick Gaiser <RickG81@Wanadoo.nl>
1023
1024 * drivers/bus/isapnp/isapnp.c (FindNextReadPort): Increment Port before
1025 checking wether port address is in NE2000 address space range and returning
1026 port address value.
1027
1028 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1029
1030 * drivers/bus/acpi/include/acpi.h: Include platform/types.h.
1031 * drivers/bus/acpi/include/actypes.h: (UINT8, BOOLEAN, UCHAR, UINT16,
1032 INT32, UINT32, UINT64): Disable, use the OS defined types instead.
1033 * drivers/bus/acpi/include/platform/types.h: Remove all types,
1034 include ntos.h instead.
1035 * drivers/bus/acpi/ospm/include/acpisys.h: Don't include
1036 platform/types.h.
1037
1038 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1039
1040 * include/defines.h: Fix warnings when bulding with gcc 3.3.
1041 * include/ddk/status.h: Ditto.
1042 * include/freetype/internal/ftdebug.h: Ditto.
1043 * include/net/ndis.h: Ditto.
1044 * lib/msafd/misc/helpers.c: Ditto.
1045 * lib/user32/windows/defwnd.c: Ditto.
1046 * lib/user32/windows/window.c: Ditto.
1047 * ntoskrnl/cm/ntfunc.c: Ditto.
1048 * ntoskrnl/cm/regfile.c: Ditto.
1049 * ntoskrnl/cm/regobj.c: Ditto.
1050 * ntoskrnl/dbg/errinfo.c: Ditto.
1051 * ntoskrnl/ex/hashtab.c: Ditto.
1052 * ntoskrnl/include/internal/mm.h: Ditto.
1053 * ntoskrnl/io/irp.c: Ditto.
1054 * ntoskrnl/kd/gdbstub.c: Ditto.
1055 * ntoskrnl/ke/queue.c: Ditto.
1056 * ntoskrnl/ke/sem.c: Ditto.
1057 * ntoskrnl/ldr/resource.c: Ditto.
1058 * ntoskrnl/mm/balance.c: Ditto.
1059 * ntoskrnl/mm/freelist.c: Ditto.
1060 * ntoskrnl/mm/mdl.c: Ditto.
1061 * ntoskrnl/mm/npool.c: Ditto.
1062 * ntoskrnl/mm/section.c: Ditto.
1063 * ntoskrnl/rtl/error.c: Ditto.
1064 * ntoskrnl/rtl/mem.c: Ditto.
1065 * ntoskrnl/rtl/string.c: Ditto.
1066 * ntoskrnl/rtl/time.c: Ditto.
1067 * ntoskrnl/rtl/unicode.c: Ditto.
1068 * ntoskrnl/rtl/wstring.c: Ditto.
1069 * ntoskrnl/rtl/i386/exception.c: Ditto.
1070 * subsys/win32k/freetype/src/base/ftinit.c: Ditto.
1071
1072 2002-11-03 Casper S. Hornstrup <chorns@users.sourceforge.net>
1073
1074 * apps/tests/lpc/lpcclt.c: Change LPC_MESSAGE_HEADER to LPC_MESSAGE.
1075 * include/csrss/csrss.h: Ditto.
1076 * include/lsass/lsass.h: Ditto.
1077 * include/napi/dbg.h: Ditto.
1078 * include/napi/lpc.h: Ditto.
1079 * lib/kernel32/misc/console.c: Ditto.
1080 * lib/ntdll/csr/lpc.c: Ditto.
1081 * lib/ntdll/dbg/debug.c: Ditto.
1082 * lib/secur32/lsa.c: Ditto.
1083 * ntoskrnl/dbg/user.c: Ditto.
1084 * ntoskrnl/include/internal/port.h: Ditto.
1085 * ntoskrnl/lpc/connect.c: Ditto.
1086 * ntoskrnl/lpc/reply.c: Ditto.
1087 * ntoskrnl/ps/process.c: Ditto.
1088 * subsys/csrss/api/conio.c: Ditto.
1089 * subsys/csrss/api/process.c: Ditto.
1090 * subsys/csrss/api/user.c: Ditto.
1091
1092 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
1093
1094 * lib/msvcrt/except/seh.s: Fix end-of-line formatting.
1095 * lib/ntdll/rtl/i386/exception.c: Ditto.
1096 * lib/ntdll/rtl/i386/except.s: Ditto.
1097 * ntoskrnl/rtl/i386/except.s: Ditto.
1098 * ntoskrnl/rtl/i386/seh.s: Ditto.
1099
1100 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
1101
1102 * lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
1103 except/exhand3.o.
1104 * lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
1105 * lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
1106 (_global_unwind2): Correct prototype.
1107 * lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
1108 (TARGET_OBJECTS): Add ARCH_OBJECTS group.
1109 * lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
1110 NumberParameters in exception record.
1111 (RtlRaiseStatus): Remove.
1112 * ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
1113 (OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
1114 rtl/i386/seh.o.
1115 * ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
1116 RtlpDumpExceptionRegistrations, RtlpDispatchException,
1117 RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
1118 RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
1119 RtlUnwind): Remove.
1120 (RtlpDispatchException): Add prototype.
1121 * ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
1122 * ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
1123 registration list.
1124 * tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
1125 * lib/msvcrt/except/exhand3.c: Remove.
1126 * ntoskrnl/rtl/seh.c: Ditto.
1127 * lib/msvcrt/except/seh.s: New file.
1128 * lib/ntdll/rtl/i386/except.s: Ditto.
1129 * lib/ntdll/rtl/i386/exception.c: Ditto.
1130 * ntoskrnl/rtl/i386/except.s: Ditto.
1131 * ntoskrnl/rtl/i386/exception.c: Ditto.
1132 * ntoskrnl/rtl/i386/seh.s: Ditto.
1133
1134 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
1135
1136 * lib/kernel32/process/create.c (_except_handler): New function.
1137 (BaseProcessStart): Ditto.
1138 (KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
1139 BaseProcessStart() before process entry point.
1140 * lib/kernel32/thread/thread.c (_except_handler): New function.
1141 (ThreadStartup): Protect thread using SEH constructs.
1142
1143 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
1144
1145 * include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
1146 * subsys/csrss/csrss.c (NtProcessStartup): Ditto.
1147 * subsys/smss/smss.c (NtProcessStartup): Ditto.
1148 * subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
1149 * subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.
1150
1151 2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1152
1153 * apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
1154 AccessMask ...
1155 (ROS_ACE): ... here.
1156 (DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
1157 sizeof(ACE) instead of sizeof(ACE_HEADER).
1158 * include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
1159 (ACE): ... here.
1160 * lib/ntdll/rtl/acl.c: Use new path for AccessMask.
1161 * ntoskrnl/se/semgr.c: Ditto.
1162 * ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
1163 sizeof(ACE) instead of sizeof(ACE_HEADER).
1164 * ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
1165 instead of sizeof(ACE_HEADER).
1166
1167 2002-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
1168
1169 * include/napi/teb.h (RTL_USER_PROCESS_PARAMETERS): Use field names
1170 as described in Windows NT/2000 Native API Reference.
1171 * lib/kernel32/file/file.c: Use new field names.
1172 * lib/kernel32/misc/console.c: Ditto.
1173 * lib/kernel32/process/create.c: Ditto.
1174 * lib/kernel32/process/proc.c: Ditto.
1175 * lib/ntdll/rtl/path.c: Ditto.
1176 * lib/ntdll/rtl/ppb.c: Ditto.
1177 * lib/ntdll/rtl/process.c: Ditto.
1178
1179 2002-10-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
1180
1181 * include/ntos.h: Include relevant files.
1182 * include/internal/ke.h: Include files relative to
1183 ntoskrnl/include.
1184 * include/internal/arch/ke.h: Ditto.
1185
1186 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
1187
1188 * drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
1189 * drivers/fs/cdfs/fcb.c: Ditto.
1190 * drivers/fs/cdfs/fsctl.c: Ditto.
1191 * drivers/fs/cdfs/rw.c: Ditto.
1192 * drivers/fs/ext2/dir.c: Ditto.
1193 * drivers/fs/ext2/inode.c: Ditto.
1194 * drivers/fs/ext2/rw.c: Ditto.
1195 * drivers/fs/ext2/super.c: Ditto.
1196 * drivers/fs/minix/blockdev.c: Ditto.
1197 * drivers/fs/minix/cache.c: Ditto.
1198 * drivers/fs/minix/inode.c: Ditto.
1199 * drivers/fs/minix/rw.c: Ditto.
1200 * drivers/fs/ntfs/fcb.c: Ditto.
1201 * drivers/fs/ntfs/ntfs.h: Ditto.
1202 * drivers/fs/vfat/create.c: Ditto.
1203 * drivers/fs/vfat/direntry.c: Ditto.
1204 * drivers/fs/vfat/dirwr.c: Ditto.
1205 * drivers/fs/vfat/fat.c: Ditto.
1206 * drivers/fs/vfat/fcb.c: Ditto.
1207 * drivers/fs/vfat/fsctl.c: Ditto.
1208 * drivers/fs/vfat/rw.c: Ditto.
1209 * drivers/storage/class2/class2.c: Ditto.
1210 * drivers/storage/scsiport/scsiport.c: Ditto.
1211 * hal/halx86/adapter.c: Ditto.
1212 * hal/halx86/mp.c: Ditto.
1213 * include/ddk/mmfuncs.h: Ditto.
1214 * include/ddk/mmtypes.h: Ditto.
1215 * include/ddk/i386/pagesize.h: Ditto.
1216 * include/ntdll/pagesize.h: Ditto.
1217 * lib/kernel32/process/create.c: Ditto.
1218 * lib/kernel32/thread/thread.c: Ditto.
1219 * lib/ntdll/ldr/utils.c: Ditto.
1220 * lib/ntdll/rtl/env.c: Ditto.
1221 * lib/ntdll/rtl/heap.c: Ditto.
1222 * lib/ntdll/rtl/ppb.c: Ditto.
1223 * lib/ntdll/rtl/process.c: Ditto.
1224 * lib/ntdll/rtl/thread.c: Ditto.
1225 * ntoskrnl/cc/copy.c: Ditto.
1226 * ntoskrnl/cc/view.c: Ditto.
1227 * ntoskrnl/ex/sysinfo.c: Ditto.
1228 * ntoskrnl/include/internal/i386/mm.h: Ditto.
1229 * ntoskrnl/io/mdl.c: Ditto.
1230 * ntoskrnl/ke/kthread.c: Ditto.
1231 * ntoskrnl/ke/i386/kernel.c: Ditto.
1232 * ntoskrnl/ldr/init.c: Ditto.
1233 * ntoskrnl/ldr/loader.c: Ditto.
1234 * ntoskrnl/mm/anonmem.c: Ditto.
1235 * ntoskrnl/mm/cont.c: Ditto.
1236 * ntoskrnl/mm/freelist.c: Ditto.
1237 * ntoskrnl/mm/iospace.c: Ditto.
1238 * ntoskrnl/mm/kmap.c: Ditto.
1239 * ntoskrnl/mm/marea.c: Ditto.
1240 * ntoskrnl/mm/mdl.c: Ditto.
1241 * ntoskrnl/mm/mminit.c: Ditto.
1242 * ntoskrnl/mm/ncache.c: Ditto.
1243 * ntoskrnl/mm/npool.c: Ditto.
1244 * ntoskrnl/mm/pagefile.c: Ditto.
1245 * ntoskrnl/mm/pageop.c: Ditto.
1246 * ntoskrnl/mm/section.c: Ditto.
1247 * ntoskrnl/mm/slab.c: Ditto.
1248 * ntoskrnl/mm/i386/page.c: Ditto.
1249 * ntoskrnl/ob/handle.c: Ditto.
1250 * ntoskrnl/ps/create.c: Ditto.
1251 * ntoskrnl/ps/process.c: Ditto.
1252 * ntoskrnl/ps/w32call.c: Ditto.
1253 * subsys/win32k/include/object.h: Ditto.
1254
1255 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
1256
1257 * lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
1258 runtime import _pctype.
1259
1260 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
1261
1262 * lib/user32/misc/desktop.c (string.h): Include.
1263 * lib/user32/misc/resources.c: Ditto.
1264 * lib/user32/misc/winhelp.c: Ditto.
1265 * lib/user32/windows/accel.c: Ditto.
1266 * lib/user32/windows/bitmap.c: Ditto.
1267 * subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
1268 have mingw runtime import _pctype.
1269
1270 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
1271
1272 * ntoskrnl/cc/view.c (alloca): Prototype.
1273 * ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
1274 import _pctype.
1275
1276 2002-08-26 David Welch <welch@computer2.darkstar.org>
1277
1278 * lib/gdi32/misc/dllmain.c (GdiDllInitialize): Don't initialize
1279 win32k.sys for each process.
1280 * subsys/csrss/init.c (CsrServerInitialization): Initialize
1281 win32k.sys as well.
1282
1283 2002-08-26 David Welch <welch@computer2.darkstar.org>
1284
1285 * ntoskrnl/ps/process.c (NtCreateProcess): Reference the
1286 parent process's handle using ExGetPreviousMode.
1287
1288 2002-08-26 David Welch <welch@computer2.darkstar.org>
1289
1290 * lib/user32/misc/dllmain.c (Init): Initialize gdi32 as well.
1291
1292 2002-08-26 David Welch <welch@computer2.darkstar.org>
1293
1294 * iface/addsys/genw32k.c (main, process): Generate a set of
1295 stubs for csrss as well.
1296
1297 2002-08-26 David Welch <welch@computer2.darkstar.org>
1298
1299 * lib/kernel32/process/create.c (CreateProcessW): Initialize
1300 all the members of the new process's PPB.
1301
1302 2002-08-17 David Welch <welch@computer2.darkstar.org>
1303
1304 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
1305 process isn't freed in the middle of our operations.
1306
1307 2002-08-17 David Welch <welch@computer2.darkstar.org>
1308
1309 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.
1310
1311 2002-08-17 David Welch <welch@computer2.darkstar.org>
1312
1313 * ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
1314 the thread's process while holding the thread list lock.
1315
1316 2002-08-17 David Welch <welch@computer2.darkstar.org>
1317
1318 * ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
1319 enough space for all parts of an image before mapping it; if
1320 there isn't enough space free at the preferred base address
1321 then try to choose a different one.
1322
1323 2002-08-17 David Welch <welch@computer2.darkstar.org>
1324
1325 * ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
1326 idle priority.
1327
1328 2002-08-17 David Welch <welch@computer2.darkstar.org>
1329
1330 * ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
1331 MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
1332 a hint of the next free page; makes running with whole page
1333 allocation more bearable.
1334
1335 2002-08-17 David Welch <welch@computer2.darkstar.org>
1336
1337 * ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
1338 out of swap space message if we are out of swap space.
1339 * ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
1340 out of swap space message if we are out of swap space.
1341 * ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
1342 show an out of swap space message on failure.
1343 * ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
1344 function to notify the user that the pagefile is full.
1345
1346 2002-08-17 David Welch <welch@computer2.darkstar.org>
1347
1348 * drivers/lib/zlib/Makefile: Create a dummy zlib.sym
1349
1350 2002-08-16 David Welch <welch@computer2.darkstar.org>
1351
1352 * ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
1353 to use PHYSICAL_ADDRESS type for page address.
1354
1355 2002-08-16 David Welch <welch@computer2.darkstar.org>
1356
1357 * subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
1358 typo when calculating the offset into the class object to
1359 put the class name string.
1360
1361 2002-08-16 David Welch <welch@computer2.darkstar.org>
1362
1363 * ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
1364 the reaper function directly; set an event to wake up a seperate
1365 reaper thread.
1366 * ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
1367 waits for a notification and then calls PsReapThreads.
1368 * ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
1369 reaper thread.
1370
1371 2002-08-15 David Welch <welch@computer2.darkstar.org>
1372
1373 * lib/advapi32/misc/dllmain.c (DllMain): Removed debug message.
1374
1375 2002-08-14 David Welch <welch@computer2.darkstar.org>
1376
1377 * subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
1378 take the size of the paging file from the registry.
1379
1380 2002-08-14 David Welch <welch@computer2.darkstar.org>
1381
1382 * ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
1383 section if necessary.
1384
1385 2002-08-14 David Welch <welch@computer2.darkstar.org>
1386
1387 * ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
1388 size using the FileAllocationInformation class.
1389
1390 2002-08-14 David Welch <welch@computer2.darkstar.org>
1391
1392 * ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
1393 function to write anonymous memory pages to the swap file.
1394 * ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
1395 swap page associated with the page.
1396 * ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
1397 pages to write to disk.
1398 * ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
1399 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
1400 to write a single page back to disk.
1401 * ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
1402 MmIsDirtyPageRmap): New rmap function to support the MPW thread.
1403 * ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
1404 function to write back section pages.
1405 * ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
1406 entry associated with the page; mark pages shared with
1407 the cache as dirty if necessary.
1408
1409 2002-08-14 David Welch <welch@computer2.darkstar.org>
1410
1411 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
1412 the module into the module text structure.
1413
1414 2002-08-14 David Welch <welch@computer2.darkstar.org>
1415
1416 * ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
1417 test for whether to wait for the completion of i/o.
1418
1419 2002-08-14 David Welch <welch@computer2.darkstar.org>
1420
1421 * ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
1422 from NtOpenFile.
1423 * ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
1424 synchronous i/o from NtCreateFile.
1425 * ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
1426 synchronous i/o from NtOpenFile.
1427 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
1428 from NtOpenFile.
1429
1430 2002-08-14 David Welch <welch@computer2.darkstar.org>
1431
1432 * ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
1433 correct reference count.
1434
1435 2002-08-14 David Welch <welch@computer2.darkstar.org>
1436
1437 * ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
1438 write back a modified cache segment.
1439 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
1440 flush some dirty pages from the cache.
1441 * ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
1442 mark a cache segment modified while mapped into memory as dirty.
1443
1444 2002-08-14 David Welch <welch@computer2.darkstar.org>
1445
1446 * ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
1447 Store the dirty status in the BCB; don't write back dirty data
1448 immediately.
1449
1450 2002-08-14 David Welch <welch@computer2.darkstar.org>
1451
1452 * include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
1453 Native API Reference'
1454
1455 2002-08-14 David Welch <welch@computer2.darkstar.org>
1456
1457 * drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
1458 placeholder for extended attribute functions.
1459
1460 2002-08-14 David Welch <welch@computer2.darkstar.org>
1461
1462 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
1463 Added function to set allocation size.
1464
1465 2002-08-14 David Welch <welch@computer2.darkstar.org>
1466
1467 * drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
1468 to vfatFCBInitializeCacheFromVolume.
1469 * drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
1470 initialise the cache with a file object representing the
1471 volume unless the FCB is for a directory.
1472
1473 2002-08-14 David Welch <welch@computer2.darkstar.org>
1474
1475 * drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
1476 new function for handling paging file only code.
1477 * drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
1478 new function for doing a file supersede.
1479 * drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
1480 adjusted control flow. Set allocation size and extended attributes
1481 on create.
1482 * drivers/fs/vfat/create.c (VfatCreate): Removed goto.
1483
1484 2002-08-14 David Welch <welch@computer2.darkstar.org>
1485
1486 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
1487 updEntry to VfatUpdateEntry.
1488 * drivers/fs/vfat/close.c (VfatCloseFile): Renamed
1489 updEntry to VfatUpdateEntry.
1490 * drivers/fs/vfat/dirwr.c (updEntry): Renamed to
1491 VfatUpdateEntry.
1492 * drivers/fs/vfat/dirwr.c (addEntry): Renamed to
1493 VfatAddEntry.
1494
1495 2002-08-14 David Welch <welch@computer2.darkstar.org>
1496
1497 * apps/tests/sectest/sectest.c (main): Fixed formatting.
1498
1499 2002-08-10 David Welch <welch@computer2.darkstar.org>
1500
1501 * ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
1502 behaviour when called on the system address space.
1503
1504 2002-08-10 David Welch <welch@computer2.darkstar.org>
1505
1506 * ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
1507 NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
1508 segments to regions; moved region code to seperate file.
1509 Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
1510 for anonymous memory areas.
1511
1512 2002-08-10 David Welch <welch@computer2.darkstar.org>
1513
1514 * ntoskrnl/mm/anonmem.c: Moved functions relating to
1515 areas created with NtAllocateVirtualMemory to a
1516 seperate file.
1517
1518 2002-08-10 David Welch <welch@computer2.darkstar.org>
1519
1520 * ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
1521 NtQueryVirtualMemory for section views.
1522
1523 2002-08-10 David Welch <welch@computer2.darkstar.org>
1524
1525 * ntoskrnl/mm/section.c (MmAccessFaultSectionView,
1526 MmNotPresentFaultSectionView, MmProtectSectionView,
1527 MmMapViewOfSegment, MmAlterViewAttributes): Implemented
1528 NtProtectVirtualMemory for section views.
1529
1530 2002-08-10 David Welch <welch@computer2.darkstar.org>
1531
1532 * ntoskrnl/ke/main.c: Removed SEH test code.
1533
1534 2002-08-10 David Welch <welch@computer2.darkstar.org>
1535
1536 * lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
1537 protection from the IAT before writing to it.
1538
1539 2002-08-10 David Welch <welch@computer2.darkstar.org>
1540
1541 * lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
1542 the base name of the DLL.
1543
1544 2002-08-10 David Welch <welch@computer2.darkstar.org>
1545
1546 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
1547 of modules to readonly after loading.
1548
1549 2002-08-09 David Welch <welch@computer2.darkstar.org>
1550
1551 * ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
1552 if NtCreateThread has CreateSuspended as TRUE.
1553 * ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
1554 PiSuspendThreadKernelRoutine): Fixed suspend functionality.
1555
1556 2002-08-09 David Welch <welch@computer2.darkstar.org>
1557
1558 * ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
1559 the LDR variable from the right address.
1560
1561 2002-08-09 David Welch <welch@computer2.darkstar.org>
1562
1563 * ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
1564 kernel APCs pending on exit from the kernel.
1565 * ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
1566 KiDeliverApc): Set the APC's inserted flag to FALSE after
1567 removing it from the thread's queue.
1568
1569 2002-08-09 David Welch <welch@computer2.darkstar.org>
1570
1571 * lib/kernel32/thread/thread.c (ThreadStartup): Don't
1572 call DLL entrypoints; this is done by LdrInitializeThunk.
1573 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
1574 DLLs in initialization order; take the loader lock before
1575 calling.
1576
1577 2002-08-09 David Welch <welch@computer2.darkstar.org>
1578
1579 * apps/tests/thread/thread.c (main): Test suspend and
1580 resume functionality.
1581
1582 2002-08-08 David Welch <welch@computer2.darkstar.org>
1583
1584 * ntoskrnl/mm/section (NtQuerySection): Return the
1585 right result length.
1586
1587 2002-08-08 David Welch <welch@computer2.darkstar.org>
1588
1589 * ntoskrnl/ke/usertrap.c (print_user_address): Check for
1590 a NULL LDR structure in the PEB; copy the LDR pointer in
1591 safely.
1592
1593 2002-08-08 David Welch <welch@computer2.darkstar.org>
1594
1595 * ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
1596 APCs; release the APC spinlock while acccessing user memory.
1597
1598 2002-08-08 David Welch <welch@computer2.darkstar.org>
1599
1600 * include/internal/ps.h: Adjusted offsets into the ETHREAD
1601 structure.
1602 * include/internal/ps.h: Removed redundant members from the
1603 KTHREAD structure.
1604 * ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
1605 redundant members from the KTHREAD structure.
1606
1607 2002-08-08 David Welch <welch@computer2.darkstar.org>
1608
1609 * ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
1610 function to enter the debugger on an exception.
1611 * ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
1612 local kernel debugger if enabled.
1613 * ntoskrnl/ke/catch.c (KiDispatchException): Enter the
1614 local kernel debugger on an exception.
1615
1616 2002-08-08 David Welch <welch@computer2.darkstar.org>
1617
1618 * include/ntdll/ldr.h: Added definition for a DLL entrypoint.
1619 * lib/kernel32/process/create.c (KlCreateFirstThread): Put
1620 the argument to the NtProcessStartup function on the stack.
1621 * lib/kernel32/process/create.c (KlInitPeb): Read the
1622 base address of the new image from the PEB.
1623 * lib/kernel32/process/create.c (CreateProcessW): Start the
1624 first thread at the entrypoint of the new image.
1625 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
1626 function is called after the initial startup then just call the
1627 entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
1628 call the entrypoint of the image.
1629 * lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
1630 argument to the NtProcessStartup function on the stack.
1631 * lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
1632 the new image from the PEB.
1633 * lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
1634 first thread at the entrypoint of the new image.
1635 * ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
1636 Use the system call path to begin a usermode thread.
1637 * ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
1638 the supplied context into a trap frame.
1639 * ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
1640 to the NtProcessStartup function on the new stack; start the
1641 first thread at the entrypoint of the image.
1642 * ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
1643 LdrInitializeThunk in the context of a new thread before its
1644 entrypoint.
1645
1646 2002-08-08 David Welch <welch@computer2.darkstar.org>
1647
1648 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
1649 the cache on file cleanup.
1650 * drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
1651 the cache on file close.
1652 * ntoskrnl/cc/copy.c: Renamed zero page global variable.
1653 * ntoskrnl/cc/view.c: Added cache delete function.
1654
1655 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1656
1657 * rules.mak (RSYM): Define.
1658 * include/ddk/zwtypes.h (DebugDbgLoadSymbols): Add to enum
1659 _DEBUG_CONTROL_CODE.
1660 * include/ntdll/ldr.h (LDR_SYMBOL_INFO, LdrpLoadUserModuleSymbols): Add.
1661 (LdrLoadModuleSymbols): Remove.
1662 * include/ntos/kdbgsyms.h (ST_FILENAME, ST_FUNCTION,
1663 ST_LINENUMBER): Add.
1664 (SYMBOL). Make Name an ANSI_STRING.
1665 (IMAGE_SYMBOL_INFO, AreSymbolsParsed): Add.
1666 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
1667 LdrpLoadUserModuleSymbols() not LdrLoadModuleSymbols().
1668 * lib/ntdll/ldr/utils.c (LdrLoadModuleSymbols): Rename to
1669 LdrpLoadUserModuleSymbols.
1670 (LdrpLoadUserModuleSymbols): Use DebugDbgLoadSymbols debug control code.
1671 (LdrLoadDll): assert if out of memory.
1672 (LdrLoadDll): Call
1673 LdrpLoadUserModuleSymbols(), not LdrLoadModuleSymbols().
1674 * lib/ntdll/string/ctype.c (_pctype): #undef.
1675 * ntoskrnl/dbg/dbgctrl.c (NtSystemDebugControl): Call
1676 LdrLoadUserModuleSymbols on DebugDbgLoadSymbols.
1677 * ntoskrnl/include/internal/ldr.h (LdrGetAddressInformation): Add.
1678 * ntoskrnl/include/internal/module.h (MODULE_TEXT_SECTION): Make SymbolInfo
1679 an IMAGE_SYMBOL_INFO.
1680 * ntoskrnl/ke/i386/exp.c (LdrGetAddressInformation): Add prototype.
1681 (print_address): Change #ifdef KDBG to #ifdef DBG.
1682 (KiDoubleFaultHandler, KiDumpTrapFrame, KeDumpStackFrames): Dump
1683 one stack frame per line.
1684 * ntoskrnl/ke/i386/multiboot.S: Create pagetables for more kernel
1685 address space so larger modules can be passed from the boot loader.
1686 * ntoskrnl/ke/i386/usertrap.c (LdrGetAddressInformation): Add prototype.
1687 (print_user_address): Print symbols using LdrGetAddressInformation().
1688 * ntoskrnl/ldr/loader.c (SYMBOLFILE_HEADER, IMAGE_SYMBOL_INFO_CACHE,
1689 STAB_ENTRY, N_FUN, N_SLINE, N_SO, SymbolListHead): Add.
1690 (TAG_SYM_BUF): Remove.
1691 (LdrInitDebug): Remove unneeded code.
1692 (LdrInit1): Prepare for loading symbols.
1693 (LdrpReadLine, HexL, LdrpParseLine, LdrpLoadModuleSymbolsFromBuffer,
1694 LdrpLoadUserModuleSymbolsFromBuffer): Remove.
1695 (LdrpParseImageSymbols, LdrpGetFileName, LdrpGetFunctionName,
1696 LdrpGetLineNumber, LdrGetAddressInformation, LdrpLookupUserSymbolInfo): Add.
1697 (LdrpLoadModuleSymbols, LdrInitializeBootStartDriver): Change to use new
1698 symbol structures.
1699 (LdrLoadUserModuleSymbols): Cache symbol buffers.
1700 (LdrUnloadModuleSymbols): Implement.
1701 (LdrLoadModule, LdrUnloadModule): Change #ifdef KDBG to #ifdef DBG.
1702 (LdrPEProcessModule): Split a line into two lines.
1703 (LdrPEProcessModule): Setup for loading symbols.
1704 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Open with FILE_SHARE_READ.
1705 * ntoskrnl/ps/process.c (PiFreeSymbols): Call LdrUnloadModuleSymbols() to
1706 free symbols.
1707 (PiDeleteProcess): Change #ifdef KDBG to #ifdef DBG.
1708 * ntoskrnl/rtl/ctype.c (_pctype): #undef.
1709 * ntoskrnl/rtl/string.c (strncpy): Terminate destination string.
1710 * tools/Makefile (rsym): Add target.
1711 * tools/helper.mk: Include config and use -g if DBG = 1.
1712
1713 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1714
1715 * Makefile (install_before): Install system.hiv to correct location.
1716
1717 2002-07-04 David Welch <welch@computer2.darkstar.org>
1718
1719 * subsys/win32k/include/callback.h: Fixed callback argument
1720 definitions.
1721 * subsys/win32k/ntuser/winpos.c: Implemented some more of the windows
1722 sizing/moving code.
1723 * subsys/win32k/ntuser/painting.c: Implemented some more of the
1724 window painting code.
1725 * subsys/win32k/objects/coord.c: Implemented LPtoDP and DPtoLP.
1726 * subsys/win32k/objects/region.c: Added stubs for some more
1727 region functions.
1728
1729 2002-07-04 David Welch <welch@computer2.darkstar.org>
1730
1731 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the
1732 process desktop handle as well.
1733
1734 2002-07-04 David Welch <welch@computer2.darkstar.org>
1735
1736 * ntoskrnl/se/token.c: Don't call the ZwXXX variant of
1737 system calls when in system context.
1738
1739 2002-07-04 David Welch <welch@computer2.darkstar.org>
1740
1741 * ntoskrnl/Makefile: Added file with MDA output code.
1742 * ntoskrnl/kd/kdebug.c: Recognize MDA as a destination for
1743 debug output.
1744
1745 2002-07-04 David Welch <welch@computer2.darkstar.org>
1746
1747 * lib/user32/windows/defwnd.c: Implemented some more of the
1748 default window handler.
1749
1750 2002-07-04 David Welch <welch@computer2.darkstar.org>
1751
1752 * lib/user32/misc/stubs.c: Removed some stubs to seperate files.
1753
1754 2002-07-04 David Welch <welch@computer2.darkstar.org>
1755
1756 * lib/user32/user32.def: Export ScreenToClient otherwise we
1757 get problems when code in user32 tries to call it.
1758
1759 2002-07-04 David Welch <welch@computer2.darkstar.org>
1760
1761 * include/win32k/region.h: Added prototypes for some missing
1762 region functions.
1763
1764 2002-07-04 David Welch <welch@computer2.darkstar.org>
1765
1766 * include/win32k/ntuser.h: Added prototypes for some missing
1767 NtUserXXX functions.
1768
1769 2002-07-04 David Welch <welch@computer2.darkstar.org>
1770
1771 * include/user32/wininternal.h: Added some constants for
1772 private GetDCEx styles that WINE needs.
1773
1774 2002-07-04 David Welch <welch@computer2.darkstar.org>
1775
1776 * include/user32/callback.h: Fixed callbacks for messages with
1777 parameters.
1778
1779 2002-07-04 David Welch <welch@computer2.darkstar.org>
1780
1781 * include/napi/win32.h (W32THREAD): Added pointer to the
1782 thread's desktop.
1783 * include/napi/win32.h (W32PROCESS): Removed handle table,
1784 added a pointer to the process's window station.
1785 * subsys/win32k/ntuser/guicheck.c (W32kGuiCheck): Reference
1786 a process's window station on the first win32k system call. Reference
1787 a thread's desktop on the first win32k system call.
1788
1789 2002-07-04 David Welch <welch@computer2.darkstar.org>
1790
1791 * include/messages.h: Added some missing WM_XXX constants.
1792
1793 2002-07-04 David Welch <welch@computer2.darkstar.org>
1794
1795 * drivers/dd/ide/makefile: Compiling with debugging messages
1796 needs libgcc to be linked in.
1797
1798 2002-07-04 David Welch <welch@computer2.darkstar.org>
1799
1800 * iface/addsys/genw32k.c: Generate a variable with the
1801 number of system calls.
1802 * iface/native/genntdll.c: Generate a proper stack frame for
1803 the user system call stubs.
1804 * ntoskrnl/ke/i386/syscall.S: Generate a proper stack frame for
1805 the handler for system calls.
1806
1807 2002-07-04 David Welch <welch@computer2.darkstar.org>
1808
1809 * Makefile: Build the GUI startup application.
1810 * subsys/system/gstart/gstart.c: Application to start up
1811 the GUI.
1812
1813 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1814
1815 * tools/helper.mk: Make an import library a proper target
1816 depending on the .def file.
1817
1818 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1819
1820 * subsys/win32k/ntuser/window.c (NtUserGetWindowLong): Began
1821 implementation.
1822
1823 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1824
1825 * subsys/win32k/misc/object.c (ObmCreateHandle): Return the
1826 correct handle value.
1827
1828 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1829
1830 * subsys/win32k/makefile: Make win32k depend on the file containing
1831 the service table.
1832
1833 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1834
1835 * ntoskrnl/ke/i386/stkswitch.S (KeSwitchStackAndRet,
1836 KePushAndStackSwitchAndSysRet): Push one value only.
1837 * ntoskrnl/ps/w32call.c (NtCallbackReturn, NtW32Call): Moved
1838 these functions to a new file. Restore the old trap frame after
1839 returning from a callback.
1840
1841 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1842
1843 * lib/user32/windows/message.c (CallWindowProcA, CallWindowProcW):
1844 Convert message to Unicode or ASCII if necessary.
1845
1846 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1847
1848 * include/user32/callback.h: Added WM_CREATE and WM_NCCALCSIZE
1849 callbacks.
1850 * lib/user32/windows/window.c (User32SendCREATEMessageForKernel,
1851 User32SendNCCREATEMessageForKernel): Implemented.
1852 * subsys/win32k/ntuser/callback.c (W32kSendCREATEMessage):
1853 Implemented.
1854
1855 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1856
1857 * include/structs.h: Added Unicode and ASCII versions of
1858 CREATESTRUCT.
1859
1860 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1861
1862 * tools/helper.mk: Make the install target depend on all the
1863 files to be installed.
1864
1865 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1866
1867 * ntoskrnl/ps/thread.c (NtCallbackReturn): Set TSS.Esp0 to the
1868 top of the old stack.
1869 * ntoskrnl/ps/thread.c (NtW32Call): Set TSS.Esp0 to the top of
1870 the new stack. Free the callback stack correctly. Don't copy
1871 portion of the trap frame that doesn't exist in non-v86-mode
1872 interrupts.
1873 * ntoskrnl/ps/thread.c (PsFreeCallbackStack): New function to
1874 free a stack allocated with PsAllocateCallbackStack.
1875
1876 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1877
1878 * drivers/dd/null/makefile: Commented out local LDFLAGS as
1879 these cause bad relocations in the stripped image.
1880
1881 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1882
1883 * config: Corrected spelling error.
1884
1885 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1886
1887 * subsys/system/winlogon/winlogon.c (WinMain): Check for
1888 failure when creating a window system.
1889
1890 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1891
1892 * ntoskrnl/ob/handle.c (ObDuplicateObject): Added this internal
1893 function for duplicating objects.
1894 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the parent
1895 process's window station to the child process.
1896 * ntoskrnl/ps/process.c (PsInitProcessManagement): Initialize the
1897 first process's window station.
1898
1899 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1900
1901 * ntoskrnl/mm/marea.c (MmCreateMemoryArea): Initialise
1902 page operation structure members.
1903 * ntoskrnl/mm/pageop.c (MmReleasePageOp, MmGetPageOp): Increment
1904 or decrement the page operation count in the memory area.
1905 * ntoskrnl/mm/virtual.c (MmNotPresentFaultVirtualMemory,
1906 MmPageOutVirtualMemory): Check for a deleted memory area before
1907 handling the fault.
1908 * ntoskrnl/mm/virtual.c (MmFreeVirtualMemory): Wait for all
1909 page operations to finish before freeing the memory area.
1910
1911 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1912
1913 * ntoskrnl/ke/i386/syscall.S (interrupt_handler2e): Corrected
1914 test for previous mode, upper 16-bit of CS on the stack after an
1915 interrupt are arbitary.
1916
1917 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1918
1919 * lib/user32/misc/winsta.c: Cleaned up indentation.
1920
1921 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1922
1923 * apps/tests/winhello/winhello.c (WinMain, MainWndProc):
1924 Cleaned up formatting, some more error checks.
1925
1926 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1927
1928 * ntoskrnl/mm/virtual.c (MmSecureVirtualMemory,
1929 MmUnsecureVirtualMemory, NtQueryVirtualMemory): Corrected indentation.
1930
1931 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1932
1933 * ntoskrnl/ke/i386/exp.c (KiDoubleFaultHandler): Print CR3
1934 correctly.
1935
1936 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
1937
1938 * ntoskrnl/include/internal/ps.h: Added KTHREAD_STACK_LIMIT definition.
1939 * ntoskrnl/ke/i386/tskswitch.S (Ki386ContextSwitch): Force all the
1940 pages of the kernel stack to be accessible from this process.
1941
1942 2002-06-04 David Welch <welch@cwcom.net>
1943
1944 * ntoskrnl/cc/view.c (ReadCacheSegmentChain): Changes to use
1945 PHYSICAL_ADDRESS type for physical addresses.
1946 * ntoskrnl/cc/copy.c (CcRosCreateCacheSegment): Changes to use
1947 PHYSICAL_ADDRESS type for physical addresses.
1948 * ntoskrnl/cc/copy.c (CcFreeCachePage): Changes to use
1949 PHYSICAL_ADDRESS type for physical addresses.
1950 * ntoskrnl/include/internal/mm.h: Changed prototypes to use
1951 PHYSICAL_ADDRESS type for physical addresses.
1952 * ntoskrnl/include/internal/ps.h (KPROCESS): Changed type of
1953 page directory base to PHYSICAL_ADDRESS.
1954 * ntoskrnl/include/internal/i386/mm.h: Changed prototypes to use
1955 PHYSICAL_ADDRESS type for physical addresses.
1956 * ntoskrnl/ke/kthread.c (KeFreeStackPage): Changes to use
1957 PHYSICAL_ADDRESS type for physical addresses.
1958 * ntoskrnl/ke/kthread.c (KeInitializeThread): Changes to use
1959 PHYSICAL_ADDRESS type for physical addresses.
1960 * ntoskrnl/ke/process.c (KeAttachProcess, KeDetachProcess): Changes
1961 to use PHYSICAL_ADDRESS type for physical addresses.
1962 * ntoskrnl/ke/kernel.c (PcrPages, KeApplicationProcessorInit): Changes
1963 to use PHYSICAL_ADDRESS type for physical addresses.
1964 * ntoskrnl/mm/balance.c (MM_ALLOCATION_REQUEST): Changes to use
1965 PHYSICAL_ADDRESS type for physical addresses.
1966 * ntoskrnl/mm/balance.c (MmReleasePageMemoryConsumer): Changes to use
1967 PHYSICAL_ADDRESS type for physical addresses.
1968 * ntoskrnl/mm/balance.c (MmRequestPageMemoryConsumer): Changes to use
1969 PHYSICAL_ADDRESS type for physical addresses.
1970 * ntoskrnl/mm/cont.c (MmFreeContinuousPage): Changes to use
1971 PHYSICAL_ADDRESS type for physical addresses.
1972 * ntoskrnl/mm/cont.c (MmAllocateContinuousAlignedMemory): Changes to
1973 use PHYSICAL_ADDRESS type for physical addresses.
1974 * ntoskrnl/mm/freelist.c (MmTransferOwnershipPage,
1975 MmGetLRUFirstUserPage, MmGetLRUNextUserPage, MmGetContinuousPages,
1976 MmInitializePageList, MmSetFlagsPage, MmSetRmapListHeadPage,
1977 MmGetRmapListHeadPage, MmMarkPageMapped, MmMarkPageUnmapped,
1978 MmGetFlagsPage, MmSetSavedSwapEntryPage, MmGetSavedSwapEntryPage,
1979 MmReferencePage, MmGetReferenceCountPage, MmIsUsablePage,
1980 MmDereferencePage, MmGetLockCountPage, MmLockPage, MmUnlockPage,
1981 MmAllocPage): Changes to use PHYSICAL_ADDRESS type for physical
1982 addresses.
1983 * ntoskrnl/mm/iospace.c (MmMapIoSpace): Changes to use
1984 PHYSICAL_ADDRESS type for physical addresses.
1985 * ntoskrnl/mm/kmap.c (ExAllocatePage, MiZeroPage, MiCopyFromUserPage,
1986 ExAllocatePageWithPhysPage): Changes to use PHYSICAL_ADDRESS type for
1987 physical addresses.
1988 * ntoskrnl/mm/marea.c (MmFreeMemoryArea): Changes to use
1989 PHYSICAL_ADDRESS type for physical addresses.
1990 * ntoskrnl/mm/mdl.c (MmUnlockPages, MmMapLockedPages,
1991 MmProbeAndLockPages): Changes to use PHYSICAL_ADDRESS type for
1992 physical addresses.
1993 * ntoskrnl/mm/mm.c (MmSharedDataPagePhysicalAddress,
1994 MmCommitPagedPoolAddress, MmNotPresentFault): Changes to use
1995 PHYSICAL_ADDRESS type for physical addresses.
1996 * ntoskrnl/mm/mminit.c (MmInitVirtualMemory): Changes to use
1997 PHYSICAL_ADDRESS type for physical addresses.
1998 * ntoskrnl/mm/ncache.c (MmAllocateNonCachedMemory,
1999 MmFreeNonCachedPage): Changes to use PHYSICAL_ADDRESS type for
2000 physical addresses.
2001 * ntoskrnl/mm/npool.c (grow_kernel_pool): Changes to use
2002 PHYSICAL_ADDRESS type for physical addresses.
2003 * ntoskrnl/mm/rmap.c (MmPageOutPhysicalAddress, MmInsertRmap,
2004 MmDeleteAllRmaps, MmDeleteRmap): Changes to use
2005 PHYSICAL_ADDRESS type for physical addresses.
2006 * ntoskrnl/mm/section.c (MiReadPage, MmNotPresentFaultSectionView,
2007 MmAccessFaultSectionView, MmPageOutDeleteMapping,
2008 MmPageOutSectionView, MmFreeSectionPage): Changes to use
2009 PHYSICAL_ADDRESS type for physical addresses.
2010 * ntoskrnl/mm/slab.c (ExGrowSlabCache): Changes to use
2011 PHYSICAL_ADDRESS type for physical address.
2012 * ntoskrnl/mm/virtual.c (MmPageOutVirtualMemory,
2013 MmNotPresentFaultVirtualMemory, MmFreeVirtualMemoryPage): Changes to
2014 use PHYSICAL_ADDRESS type for physical address.
2015 * ntoskrnl/mm/wset.c (MmTrimUserMemory): Changes to use
2016 PHYSICAL_ADDRESS type for physical address.
2017 * ntoskrnl/mm/page.c (Mmi386ReleaseMmInfo, MmCopyMmInfo,
2018 MmGetPhysicalAddressForProcess, MmCreateVirtualMapping,
2019 MmCreateVirtualMappingUnsafe, MmCreateVirtualMappingForProcess,
2020 MmDeleteVirtualMapping): Changes to use PHYSICAL_ADDRESS type for
2021 physical address.
2022 * ntoskrnl/ps/process (PsInitProcessManagment): Changes to use
2023 PHYSICAL_ADDRESS type for physical address.
2024 * ntoskrnl/ps/thread.c (PsAllocateCallbackStack): Changes to use
2025 PHYSICAL_ADDRESS type for physical address.
2026
2027 2002-06-04 David Welch <welch@cwcom.net>
2028
2029 * Lots of change since the ChangeLog was last updated.
2030
2031 2001-03-18 David Welch <welch@cwcom.net>
2032
2033 * ntoskrnl/ke/apc.c (KiDeliverApc): Bug fix.
2034 * ntoskrnl/ke/apc.c (KeInsertQueueApc): More comments.
2035 * ntoskrnl/ke/catch.c (KiDispatchException): Bug fix.
2036 * ntoskrnl/ke/timer.c (KeDelayExecutionThread): Don't use removed
2037 function KeAddTimeoutThread.
2038 * ntoskrnl/ke/timer.c (KeAddTimeoutThread): Removed.
2039 * ntoskrnl/ke/wait.c (KeWaitForSingleObject, KeWaitForMultipleObjects):
2040 Don't use KeAddTimeoutThread.
2041 * ntoskrnl/mm/freelist.c (MmAllocateContiguousAlignedMemory): Bug fix
2042 * ntoskrnl/mm/freelist.c (MmAllocatePage): Allocate from the top
2043 memory.
2044
2045 2001-03-17 David Welch <welch@cwcom.net>
2046
2047 * ntoskrnl/ke/catch.c (KiDispatchException): Implementation of
2048 exception handling, user-mode only.
2049
2050 2001-03-16 David Welch <welch@cwcom.net>
2051
2052 * include/ddk/zw.h: Corrected declarations of NtCreateProfile,
2053 NtQueryIntervalProfile, NtSetIntervalProfile.
2054 * include/ddk/zwtypes.h: Added definitions of KPROFILE_SOURCE.
2055 * ntoskrnl/include/internal/ke.h: Added the interrupted EIP as a
2056 parameter to KiUpdateSystemTime for profiling purposes.
2057 * ntoskrnl/include/internal/nt: Added declaration for profiling
2058 support initialization.
2059 * ntoskrnl/ke/timer.c (KiUpdateSystemTime, KeExpireTimers): Call
2060 the profiling code on a timer interrupt with the interrupt EIP.
2061 * ntoskrnl/ke/i386/irq.c (KiDispatchInterrupt): Pass the interrupted
2062 EIP to KiUpdateSystemTime.
2063 * ntoskrnl/mm/virtual.c (NtReadVirtualMemory, NtWriteVirtualMemory):
2064 Release the MDLs used properly.
2065 * ntoskrnl/nt/nt.c: Call the profiling support initialization.
2066 * ntoskrnl/nt/ntevent.c (NtCreateEvent): Don't try copying the
2067 ObjectAttributes parameter if it is NULL.
2068 * ntoskrnl/nt/profile.c: Implemented profiling.
2069
2070 2001-03-16 David Welch <welch@cwcom.net>
2071
2072 * ntoskrnl/include/internal/safe.h: Corrected typo.
2073 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtQueryEvent):
2074 Corrected typos.
2075 * ntoskrnl/rtl/mem.c: Missing header file.
2076
2077 2001-03-16 David Welch <welch@cwcom.net>
2078
2079 * ntoskrnl/include/internal/safe.h: Add definitions for handling
2080 potentially unsafe pointers.
2081
2082 2001-03-16 David Welch <welch@cwcom.net>
2083
2084 * ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
2085 MmSafeCopyFromUser as source files need these but don't want internal
2086 mm definitions.
2087 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtPulseEvent,
2088 NtQueryEvent, NtResetEvent, NtSetEvent): Copy data to and from
2089 user mode safely.
2090 * ntoskrnl/rtl/mem.c (MmCopyToCaller, MmCopyFromCaller): Helper
2091 functions for copying data to and from potentially unsafe pointers.
2092
2093 2000-12-23 David Welch <welch@cwcom.net>
2094
2095 * All task switching is done in software.
2096 * Beginnings of v86 mode support.
2097
2098 2000-12-22 David Welch <welch@cwcom.net>
2099
2100 * ntoskrnl/ps/kill.c (PiTerminateProcessThreads): Drop
2101 PiThreadListLock before calling PsTerminateOtherThread
2102
2103 2000-12-16 David Welch <welch@cwcom.net>
2104
2105 * ntoskrnl/ex/fmutex.c (ExReleaseFastMutexUnsafe): Only set the
2106 fast mutex's owner back to NULL if it is being released
2107
2108 2000-12-10 David Welch <welch@cwcom.net>
2109
2110 * ntoskrnl/ke/i386/vm86_sup.S (Ki386RetToV86Mode): Added function
2111 to do the raw switch to v86 mode.
2112 * ntoskrnl/include/internal/vm86.h: Definitions for the v86 mode
2113 support.
2114
2115 2000-12-10 David Welch <welch@cwcom.net>
2116
2117 * ntoskrnl/ke/i386/trap.s (PsBeginThreadWithContextInternal): Moved
2118 to ntoskrnl/ke/i386/bswitch.S.
2119 * ntoskrnl/ke/i386/trap.s (interrupt_handler2e): Moved to
2120 ntoskrnl/ke/i386/syscall.S.
2121 * ntoskrnl/ke/i386/trap.s (old_interrupt_handler2e): Removed.
2122
2123 2000-12-04 David Welch <welch@cwcom.net>
2124
2125 * ntoskrnl/ke/i386/irq.c (KiInterruptDispatch): Record the last PC
2126 value for a rescheduled thread.
2127 * ntoskrnl/ke/i386/irqhand.s: Construct a primitive trap frame
2128 in interrupt handlers.
2129
2130 2000-08-30 David Welch <welch@cwcom.net>
2131
2132 * Added calibration of KeStallExecutionProcessor timing
2133 (code from linux 2.2.16).
2134
2135 * Corrected compilation bugs in user32 library.
2136
2137 * Corrected compilation bugs related to anonymous structs
2138 in ndis code.
2139
2140 * Pass command line to kernel from loadros.
2141
2142 * Corrected PIC mask calculation.
2143
2144 2000-05-27 David Welch <welch@cwcom.net>
2145
2146 * Fixed issue with closing non-existent or already closed
2147 handle.
2148
2149 2000-01-26 David Welch <welch@cwcom.net>
2150
2151 * ZwCreateProcess now maps ntdll rather than the user-mode
2152 code.
2153
2154 1999-09-06 David Welch <welch@cwcom.net>
2155
2156 * Implemented ZwOpenProcess.
2157
2158 * Partially implemented killing other threads (possible memory
2159 leaks).
2160
2161 * Made a start on a proper implemention of APCs (based on
2162 article in NT insider).
2163
2164 1998-12-08 David Welch <welch@cwcom.net>
2165
2166 * Corrected bug in shell (Read two keypresses and assumed they
2167 where the key going up and down respectively).
2168
2169 * Corrected race in dpc handling.
2170
2171 * Took out cleanup sections in ZwReadFile (now handled by the
2172 APC).
2173
2174 * Disabled broken code in kernel32.
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184