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