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