Commit graph

47843 commits

Author SHA1 Message Date
Giannis Adamopoulos 24abf1b222 [win32k]
- Clean up win32k headers even more
- remove INTERNAL_CALL and use NTAPI instead
- remove several unneeded definitions
- remove several unneeded header inclusions

svn path=/trunk/; revision=53467
2011-08-27 12:38:23 +00:00
Thomas Faber a0213bada8 [NTDLL/LDR]
- Improve DPRINTs
- Fix some MSVC warnings 
[NTOSKRNL]
- Fix missing exports

svn path=/trunk/; revision=53466
2011-08-27 10:38:30 +00:00
Thomas Faber 3f6b691d08 [CRT]
- Do not skip calling DllMain on non-GCC builds

svn path=/trunk/; revision=53465
2011-08-27 09:14:57 +00:00
Cameron Gutman 7f089310e7 [ACPI]
- Provide a fallback when _BBN isn't implemented for a PCI root bus
- Fixes PCI on QEMU with ACPI enabled

svn path=/trunk/; revision=53463
2011-08-27 01:10:29 +00:00
Cameron Gutman b0c146ed0c [ACPI]
- Skip fixed feature buttons when reporting resources
- Terminate the hardware ID list with 2 NULL characters

svn path=/trunk/; revision=53461
2011-08-26 23:46:32 +00:00
Timo Kreuzer cb83086870 [NMIDEBUG]
Fix amd64 build

svn path=/trunk/; revision=53460
2011-08-26 20:05:58 +00:00
Timo Kreuzer 57b7866842 [FREELDR]
- fix a bug in x86 PnpBiosGetDeviceNodeCount
- enable pxe for amd64 (not yet implemented though)
- store boot drive and boot partition in shared memory isnetad of relying on a register, which seems to be erased on switch to long mode
64 bit freeldr is back on track!

svn path=/trunk/; revision=53459
2011-08-26 20:00:17 +00:00
Timo Kreuzer caabd6c3e9 [HAL]
Fix amd64 build

svn path=/trunk/; revision=53458
2011-08-26 19:45:21 +00:00
Timo Kreuzer 823c30ef1f [CMAKE]
Fix compilation with VS x64

svn path=/trunk/; revision=53456
2011-08-26 17:33:33 +00:00
Timo Kreuzer 79b52fa59a [NTOSKRNL]
Fix amd64 build

svn path=/trunk/; revision=53455
2011-08-26 15:06:25 +00:00
Timo Kreuzer 41523bb55f [FREELDR]
- implement the amd64 real mode entry point and callback mechanism
- implement PnpBiosSupported, PnpBiosGetDeviceNodeCount, PnpBiosGetDeviceNode for amd64
- delete outdated amd64 files

svn path=/trunk/; revision=53453
2011-08-26 13:10:18 +00:00
Timo Kreuzer 82454038b9 [FREELDR]
- Implement switching back to real mode
- use a symbolic name for the size of the REGGS structure

svn path=/trunk/; revision=53451
2011-08-26 09:15:38 +00:00
James Tabor b9ae58dc0d [Win32k]
- Move function out of the stub file.

svn path=/trunk/; revision=53450
2011-08-26 03:02:00 +00:00
James Tabor d18d487420 - This seems to happen alot...
svn path=/trunk/; revision=53449
2011-08-26 01:54:21 +00:00
James Tabor a72f93d594 - Hax Fix rBuild.
svn path=/trunk/; revision=53448
2011-08-25 23:57:24 +00:00
Thomas Faber 4b00accabe [CMAKE]
- Remove /nologo option from RC again - WDK's version doesn't support it
- Add /nologo to MIDL's flags
- Remove redundant IDL compiler declaration for GCC build

svn path=/trunk/; revision=53447
2011-08-25 22:32:57 +00:00
Aleksey Bragin 2d9edcdec1 [NTDLL/LDR]
- Fix wrong loop condition which would often lead to heap underread.
- Fix wrong subkey string length calculation, which would result in an incorrect string being used to open an image specific key.
- Don't close the key handle in LdrQueryImageFileKeyOption() because it's used more than once and closed after it's not needed anymore.
- Use Zw* functions instead of Nt* where necessary in LdrQueryImageFileKeyOption().
- Per-image execution options work now (e.g. enabling DPH).

svn path=/trunk/; revision=53446
2011-08-25 22:25:25 +00:00
Timo Kreuzer 0834f5fa79 [FREELDR]
- Implement real mode entry point for amd64 (amd64 freeldr starts but dies later, it cannot yet switch back to real mode, which is a bit more complicated)
- delete empty folders

svn path=/trunk/; revision=53443
2011-08-25 14:43:15 +00:00
Rafal Harabien 78a0d9fb21 [RAPPS/SOLITAIRE/MSPAINT]
- Resize controls so text fits in
- Improve Polish translations
[MSPAINT]
- Use GET_X/Y_LPARAM macros instead of LOWORD/HIWORD in mouse messages because coordinates can be negative

svn path=/trunk/; revision=53441
2011-08-25 11:28:32 +00:00
Timo Kreuzer 3f288f07ea [FREELDR]
- Use EFLAGS constants from NDK instead of defining them new
- Add addresses for amd64 startup page tables

svn path=/trunk/; revision=53440
2011-08-25 09:44:21 +00:00
Timo Kreuzer e4356aa258 [CRT]
Fix build

svn path=/trunk/; revision=53439
2011-08-25 09:34:26 +00:00
Timo Kreuzer 01e8867ed1 [CRT]
Add frame pointer omission info to strcpy and wcscpy

svn path=/trunk/; revision=53438
2011-08-25 09:25:26 +00:00
Rafal Harabien 7ac15bc029 [INF]
- Add Polish translation of device names

svn path=/trunk/; revision=53437
2011-08-25 09:18:43 +00:00
Giannis Adamopoulos 1c6b9c7b25 [user32/win32k]
- cleanup internal headers
- remove unused functions and definitions
- move shared definitions to ntuser.h

svn path=/trunk/; revision=53436
2011-08-25 08:51:26 +00:00
Timo Kreuzer eec01877b4 [FRAMEBUF_ACC]
Same fix as r53434

svn path=/trunk/; revision=53435
2011-08-25 08:03:15 +00:00
Timo Kreuzer 4f3fe47484 [FRAMEBUF_NEW]
- According to MSDN IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES doesn't have an in-parameter. This code was copied from MS sample code, but it doesn't make sense, since the size field doesn't even match the in-buffer size. VBox driver also doesn't use these parameters and we don't handle the ioctl anyway.

svn path=/trunk/; revision=53434
2011-08-25 07:58:53 +00:00
Thomas Faber 371eb3f33e [CMAKE]
- Do not spam MSVC build log with RC/nmake logo

svn path=/trunk/; revision=53433
2011-08-25 07:32:01 +00:00
Timo Kreuzer 9688c90346 [EVENTVWR]
- remove some unneccessary casts
- simplyfy code
- use sizeof(PVOID) instead of sizeof(PEVENTLOGRECORD)

svn path=/trunk/; revision=53432
2011-08-25 07:20:02 +00:00
Timo Kreuzer ef74f83550 [USETUP]
Use sizeof(WCHAR) instead of sizeof(PWCHAR) when calculating REG_SZ size for NtSetValueKey

svn path=/trunk/; revision=53431
2011-08-25 07:03:12 +00:00
Timo Kreuzer 4a306627d7 [KSPROXY/KS/SCSIPORT]
- Use sizeof(PVOID) instead of sizeof(PFOO) just for clarity that we really want a pointer size
[SCSIPORT]
- Don't initialize a pointer with RtlZeromemory

svn path=/trunk/; revision=53429
2011-08-24 22:09:04 +00:00
Timo Kreuzer 274262f440 [INTRIN] Fix _bittest64 prototype
[STLPORT] Fix amd64 build of modules using these headers

svn path=/trunk/; revision=53428
2011-08-24 22:02:41 +00:00
Thomas Faber 43b3df4799 [HAL]
- Fix CMake build

svn path=/trunk/; revision=53427
2011-08-24 21:43:06 +00:00
Aleksey Bragin c7c0124d0c - Slightly rearrange base addresses to get rid of DLL relocations during bootup.
svn path=/trunk/; revision=53426
2011-08-24 21:11:40 +00:00
Eric Kohl 600c28f087 [HAL]
Add PCI_HAL device for non-ACPI machines. Code taken from the ACPI-HAL. This is just a quick hack and needs some more improvements.

svn path=/trunk/; revision=53425
2011-08-24 21:08:42 +00:00
Timo Kreuzer 4bf9ea12bc [PORTCLS]
Fix MSVC warnings

svn path=/trunk/; revision=53424
2011-08-24 20:21:07 +00:00
Timo Kreuzer 84ae0a0fa7 [FREELDR]
- Move architecture specific files all into arch/*
- Rename setupldr2.c to setupldr.c
- cleanup the mess in bootmgr.c

svn path=/trunk/; revision=53422
2011-08-24 18:17:13 +00:00
Cameron Gutman e306e52267 [HAL]
- Handle IRP_MN_QUERY_CAPABILITIES for the ACPI_HAL device object
[PNPMGR]
- Don't bring up a device if a required IRP has failed
- Don't perform operations on a child if it is not ready yet

svn path=/trunk/; revision=53421
2011-08-24 17:05:58 +00:00
Cameron Gutman 1d3261d9fc [HAL/NTOSKRNL]
- Fix an off-by-one bug in the IDT table size

svn path=/trunk/; revision=53420
2011-08-24 15:57:18 +00:00
Thomas Faber c1d210b143 [DDK/XDK]
- Add function types, not only function pointers types for EXPAND_STACK_CALLOUT and KSYNCHRONIZE_ROUTINE

svn path=/trunk/; revision=53418
2011-08-24 14:07:13 +00:00
Thomas Faber 0564ac0f79 [NTOSKRNL]
- Fix return value of KeSynchronizeExecution again... the SynchronizeRoutine also returns BOOLEAN

svn path=/trunk/; revision=53417
2011-08-24 13:05:22 +00:00
Rafal Harabien cda612b67e [CALC]
- Reposition controls to match WinXP calculator
- Improve Polish translation

svn path=/trunk/; revision=53416
2011-08-24 12:35:28 +00:00
Rafal Harabien d9f67312a2 [3DTEXT]
- Don't assume reg key exists
- Make rotation independent of computer speed

svn path=/trunk/; revision=53415
2011-08-24 12:33:45 +00:00
Rafal Harabien 6005c9f9ca [SNDREC32]
- Fix about box icon
- Improve polish translation

svn path=/trunk/; revision=53414
2011-08-24 12:32:25 +00:00
Thomas Faber 59cbfbc34a [NTOSKRNL]
- Do not return an NTSTATUS from KeSynchronizeExecution, which returns BOOLEAN
[KERNEL32]
- Do not return an NTSTATUS from BasepGetModuleHandleExW
Found by MSVC.

svn path=/trunk/; revision=53413
2011-08-24 12:31:08 +00:00
Thomas Faber ca5f3d0740 [USETUP]
- Remove a circular header dependency to make it easier for the poor PCH compiler

svn path=/trunk/; revision=53412
2011-08-24 11:46:06 +00:00
Timo Kreuzer f3df919cee [FREELDR]
Don't use RtlZeroMemory to initialize a pointer

svn path=/trunk/; revision=53411
2011-08-24 09:59:35 +00:00
Thomas Faber a60b8c477c [EVENTLOG]
- Don't use sizeof for a variable-length structure
- Fix string buffer building

svn path=/trunk/; revision=53410
2011-08-24 09:45:50 +00:00
Timo Kreuzer 5c6935be69 [HAL/VIDEOPRT/EVENTLOG]
Really fix some of the sizeof issues

svn path=/trunk/; revision=53409
2011-08-24 09:41:16 +00:00
Timo Kreuzer 5f541ba1e2 [USER32_WINETEST]
Better fix by Tomas Faber
(increases the performance ;-))

svn path=/trunk/; revision=53408
2011-08-24 08:42:37 +00:00
Timo Kreuzer b442f5c902 [USER32_WINETEST]
Fix MSVC build

svn path=/trunk/; revision=53407
2011-08-24 08:36:18 +00:00