- Fix I/O APIC register access
- set APIC logical id based on Cpu (currently flat model with up to 8 cpus supported)
- In HalpInitializeTsc, setup the RTC clock, since the timer is initialized later
- in the TSC calibration ISR, send EOI and read RTC register C to get the next interrupt
svn path=/trunk/; revision=53634
- Initialize uninitialized variables.
- Add code to guard against potential NULL pointer dereferencing.
Thanks to Amine Khaldi for pointing out all these.
svn path=/branches/shell32_new-bringup/; revision=53633
- Don't use debug prints before the debugger is even initialized
- acquire cmos spinlock when accessing the cmos registers
- Fix amd64 build
svn path=/trunk/; revision=53631
- Take NetworkAddr into account when a named pipe client is opened.
- Return RPC_S_SERVER_UNAVAILABLE when an attempt to create a named pipe client fails with an ERROR_BAD_NETPATH error.
This fixes the first test failure in the advapi32 service winetest.
svn path=/trunk/; revision=53630
- More uninitialized value fixing. Again Amine Khaldi spotting them with his magical powers.
- I took the liberty to convert tabs I found to spaces. Normally I shouldn't mix formatting with coding changes but I forgot. Sorry.
svn path=/branches/shell32_new-bringup/; revision=53629
- Attempt at fixing bug 6315 (it doesn't completely work yet). Original patch by Edijs Kolesnikovics.
svn path=/branches/shell32_new-bringup/; revision=53628
- give apic hal its own halinit_apic
- give minihal an own halinit_mini.c containing function stubs
- move HalInitializeProcessor to halinit.c and add hal specific function HalpInitProcessor
- get rid of all the #ifndef _MINIHAL_ in halinit.c and move the file to lib_hal_generic
- improve the hal version/build check
- Update spec file for amd64
svn path=/trunk/; revision=53625
- Add a test case for SetActiveWindow that shows its behavior related to owner windows. It should point the bug observed in bug 1239
svn path=/trunk/; revision=53621
Move the internal headers below the redefinition of types, because gcc instantiates inline function where they are defined, using the original types. Fixes build.
svn path=/trunk/; revision=53620
Make KeNumberProcessors internally an UCHAR and move it into krnlinit.c instead of having it once per architecture. Fixes a bunch of MSVC warnings.
svn path=/trunk/; revision=53618
- No code changes. Make the code more readable in preparation for investigating some failing wine tests.
svn path=/branches/shell32_new-bringup/; revision=53617
- move v86 code out of trap.S into v86.S (APIC uses a different trap entry file), compile it directly in the dll instead of a lib to be able to silence linker warnings
- Group files in HAL_PIC_SOURCE and HAL_APIC_SOURCE, you just need to replace PIC with APIC to build the hal with APIC support (we can later use it to build the other hals: halapic, halaacpi, halmacpi, halmps)
- use apic on amd64 builds
- give halacpi its own resource file
- silence MSVC linker warnings
svn path=/trunk/; revision=53616
- Fix max key name length, max value name length, max value data length properties of registry key not being set correctly
- Fixes#6042 - regedit on LiveCD shows keys and values now
svn path=/trunk/; revision=53614
Start implementing APIC support, which is needed for both SMP and x64. It will use the local APIC + I/O APIC for interrupt control, the RTC instead of the PIT for the timer interrupt (PIT doesn't always work with I/O APIC), the APIC timer for profiling and finally the TSC for the performance counter and KeStallExecutionProcessor.
The code is incomplete and doesn't work yet
svn path=/trunk/; revision=53611
- Add missing initialization. Fixes the problem where explorer fails to show the child window at the first attempt to open a folder
svn path=/branches/shell32_new-bringup/; revision=53610
- Any attempt to open or create a file on a remote machine will return STATUS_BAD_NETWORK_PATH. This means the server is not available. Trying to create \\testserver\testshare\testdir\test.txt fails just like on Windows XP.
- Add service key and values for the MUP driver. Add the driver to the File System group because adding it to the Network group, like on Windows XP, does not load the driver.
svn path=/trunk/; revision=53609
- Use functions instead of macros for irq<->vector<->irql translation, this will be neccessary, once apic support is there
- Disable mp hal in rbuild for now, its broken anyway
svn path=/trunk/; revision=53600
- Remove unnecessary assignments. Spotted by PVS and Dmitry Chapyshev. This may change the behaviour of that codepath, so test results are going to be observed.
svn path=/trunk/; revision=53596
- Fixed over check conditions for deleting regions in set window region.
- Disabled offsets with window region. Fixes wine tests..
svn path=/trunk/; revision=53595