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