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