Timo Kreuzer
ff2823e543
[HAL]
...
Remove hacks
svn path=/branches/ros-amd64-bringup/; revision=44936
2010-01-04 22:54:12 +00:00
Timo Kreuzer
77c52a8a4b
compile x86Bios functions only for amd64
...
svn path=/branches/ros-amd64-bringup/; revision=44935
2010-01-04 22:51:34 +00:00
Timo Kreuzer
1ee5ad30ab
[HAL]
...
Implement HalInitializeBios, x86BiosAllocateBuffer, x86BiosFreeBuffer, x86BiosReadMemory and x86BiosWriteMemory
Halfplement x86BiosCall (We don't have the necessary emulator yet)
svn path=/branches/ros-amd64-bringup/; revision=44934
2010-01-04 22:12:18 +00:00
Timo Kreuzer
3db737a298
[KE]
...
Add a comment to Kii386SpinOnSpinLock that it might be called from HAL with interrupts disabled
svn path=/branches/ros-amd64-bringup/; revision=44895
2010-01-02 20:07:14 +00:00
Timo Kreuzer
909e90aceb
[HAL]
...
- Use spinlock.h from ntoskrnl, instead of duplicating the definitions
- Use one spinlock.c, but compiled for 2 static libs (hal_generic_up and hal_generic_mp)
- Move HalpAcquireSystemHardwareSpinLock and HalpReleaseCmosSpinLock to spinlock.c and use the inline functions for the kernel to make Arch happy.
svn path=/branches/ros-amd64-bringup/; revision=44894
2010-01-02 20:03:49 +00:00
Timo Kreuzer
3a0ef6c524
[NTOS]
...
Move spinlock inline functions into their own header, so they can be shared with hal.
svn path=/branches/ros-amd64-bringup/; revision=44893
2010-01-02 19:41:03 +00:00
Timo Kreuzer
78490595ed
[KD64]
...
- Remove unused variable
svn path=/branches/ros-amd64-bringup/; revision=44888
2010-01-02 16:32:20 +00:00
Timo Kreuzer
d9cec98933
[KE]
...
Move the .text and .code64 tag before all functions in trap.S
svn path=/branches/ros-amd64-bringup/; revision=44887
2010-01-02 16:31:41 +00:00
Timo Kreuzer
27d2ac3ad6
[KE]
...
- KxAcquireSpinLock: check for already owned lock only on debug builds, fix check in inner loop, don't call Kii386SpinOnSpinLock inside the inner loop, but instead of it, simplify the code
- stubplement Kii386SpinOnSpinLock in C
svn path=/branches/ros-amd64-bringup/; revision=44886
2010-01-02 16:22:43 +00:00
Timo Kreuzer
d786ac57d2
[HAL]
...
Don't spin with an interlocked operation.
svn path=/branches/ros-amd64-bringup/; revision=44849
2010-01-01 12:17:24 +00:00
Timo Kreuzer
a1bc42e31a
[HAL]
...
Replace the asm implementations of HalpAcquireSystemHardwareSpinLock and HalpReleaseCmosSpinLock with C implementations. The old ones didn't work on SMP, as they were only compiled once as UP.
svn path=/branches/ros-amd64-bringup/; revision=44840
2009-12-31 23:45:36 +00:00
Timo Kreuzer
a4123875f0
fix build of halxbox
...
svn path=/branches/ros-amd64-bringup/; revision=44837
2009-12-31 21:43:20 +00:00
Timo Kreuzer
e609c18651
fix spec file for x86
...
svn path=/branches/ros-amd64-bringup/; revision=44836
2009-12-31 21:31:14 +00:00
Timo Kreuzer
5ec7192b66
[HAL]
...
- Move the rest from halamd64 to halx86
svn path=/branches/ros-amd64-bringup/; revision=44835
2009-12-31 21:23:01 +00:00
Timo Kreuzer
2a0c1bf649
[HAL]
...
- rename halmp to halmps
- remove hal_generic_pc
- remove some stuff from halamd64
svn path=/branches/ros-amd64-bringup/; revision=44834
2009-12-31 20:46:45 +00:00
Timo Kreuzer
b40509f919
use a directory.rbuild for halx86
...
svn path=/branches/ros-amd64-bringup/; revision=44833
2009-12-31 19:46:47 +00:00
Timo Kreuzer
bda3767dfb
[HAL]
...
some improvements
svn path=/branches/ros-amd64-bringup/; revision=44832
2009-12-31 19:26:37 +00:00
Timo Kreuzer
6d68ae384a
[HAL]
...
- begin integrating halamd64 into halx86
- Move some amd64 specific stuff into halx86
- use hal_generic for amd64, too
svn path=/branches/ros-amd64-bringup/; revision=44831
2009-12-31 16:51:05 +00:00
Timo Kreuzer
18534cb3b7
[HAL]
...
- fix indentation
- add HalDisableSystemInterrupt and HalEnableSystemInterrupt stubs
svn path=/branches/ros-amd64-bringup/; revision=44830
2009-12-31 16:47:09 +00:00
Timo Kreuzer
54dd2d3fd6
[HAL]
...
- fix pspec
- entrypoint should be HalInitSystem
svn path=/branches/ros-amd64-bringup/; revision=44829
2009-12-31 15:38:34 +00:00
Timo Kreuzer
773fab1b92
[HAL]
...
use the pspec for amd64, too
svn path=/branches/ros-amd64-bringup/; revision=44828
2009-12-31 15:31:20 +00:00
Timo Kreuzer
216f7788eb
[HAL]
...
- Raname each architecture's default hal (halup) to "hal" (Windows does that, too) and get rid of the duplicated stub hal.
svn path=/branches/ros-amd64-bringup/; revision=44827
2009-12-31 15:19:17 +00:00
Timo Kreuzer
7e2711ef2a
fix a typo
...
svn path=/branches/ros-amd64-bringup/; revision=44826
2009-12-31 15:12:16 +00:00
Timo Kreuzer
3d53481c23
[HAL]
...
- Move i386 specific code into i386 folder
- Move up specific code into up folder
svn path=/branches/ros-amd64-bringup/; revision=44825
2009-12-31 14:57:24 +00:00
Timo Kreuzer
2a7cba77ee
[HAL]
...
- Implement architecture specific HalpSetInterruptGate, replacing SetInterruptGate
svn path=/branches/ros-amd64-bringup/; revision=44823
2009-12-31 14:29:50 +00:00
Samuel Serapion
aebe86c109
Fix Property USERMODE on x86
...
svn path=/branches/ros-amd64-bringup/; revision=44821
2009-12-31 07:42:39 +00:00
Samuel Serapion
534bb7e966
Fix build after r44818
...
svn path=/branches/ros-amd64-bringup/; revision=44820
2009-12-31 07:26:46 +00:00
Timo Kreuzer
d457242a5d
- mciGetCreatorTask returns HTASK not HANDLE
...
- remove broken LargeInteger functions from wintrnl.h
svn path=/branches/ros-amd64-bringup/; revision=44818
2009-12-31 01:56:39 +00:00
Samuel Serapion
8403dd605f
Add definitions for the x86bios emulator.
...
http://www.geoffchappell.com/viewer.htm?doc=studies/windows/km/hal/api/x86bios/index.htm
svn path=/branches/ros-amd64-bringup/; revision=44807
2009-12-30 07:53:02 +00:00
Timo Kreuzer
1a46e2dfde
Add ksamd64.h. This is a temporary solution until it's autogenerated. Note to self: veryfy offsets before using them!
...
svn path=/branches/ros-amd64-bringup/; revision=44798
2009-12-28 20:03:17 +00:00
Timo Kreuzer
0752824a4b
Remove the totally broken asm implementation of KeQueryPerformanceCounter and replace it with a much simpler C version using __rdtsc().
...
svn path=/branches/ros-amd64-bringup/; revision=44795
2009-12-28 17:53:26 +00:00
Samuel Serapion
aea03eb5bf
Implement HalpInitPICs
...
svn path=/branches/ros-amd64-bringup/; revision=44791
2009-12-28 06:38:19 +00:00
Samuel Serapion
6d502c6def
Sync to trunk (r44789)
...
svn path=/branches/ros-amd64-bringup/; revision=44790
2009-12-28 04:55:58 +00:00
Samuel Serapion
11bbb46220
ignore some warnings by gcc 4.4.2
...
svn path=/branches/ros-amd64-bringup/; revision=44789
2009-12-28 04:46:04 +00:00
Timo Kreuzer
88449605d9
Implement KiGeneralProtectionFault a bit
...
svn path=/branches/ros-amd64-bringup/; revision=44788
2009-12-28 04:39:02 +00:00
Samuel Serapion
c48d677ecb
Fix Build.
...
svn path=/branches/ros-amd64-bringup/; revision=44787
2009-12-28 03:09:37 +00:00
Samuel Serapion
6fa94d46fb
Fix broken merge
...
svn path=/branches/ros-amd64-bringup/; revision=44786
2009-12-28 03:02:12 +00:00
Samuel Serapion
5327273136
Unhack ntoskrnl, fixes many x86 regressions.
...
svn path=/branches/ros-amd64-bringup/; revision=44785
2009-12-28 01:37:31 +00:00
Timo Kreuzer
648db9116c
remove unneded parameter
...
svn path=/branches/ros-amd64-bringup/; revision=44784
2009-12-28 01:28:29 +00:00
Samuel Serapion
214120100d
- Fix LPBLOCKINGCALLBACK
...
- Don't use size_t for string sizes.
- Fixes warnings.
svn path=/branches/ros-amd64-bringup/; revision=44783
2009-12-28 01:07:10 +00:00
Timo Kreuzer
c5a84e9af7
reduce diff to trunk
...
svn path=/branches/ros-amd64-bringup/; revision=44782
2009-12-28 00:51:53 +00:00
Timo Kreuzer
c8743e677e
[KE]
...
Make trap handling cleaner / simplify stack layout by using the P1Home ... P5 members of KTRAP_FRAME and KEXCEPTION_FRAME as save area for function parameters.
svn path=/branches/ros-amd64-bringup/; revision=44781
2009-12-28 00:37:29 +00:00
Timo Kreuzer
7781a0c84e
spaces -> tabs in rbuild file
...
svn path=/trunk/; revision=44780
2009-12-27 23:54:01 +00:00
Timo Kreuzer
ea9bdd25e8
reduce differences to trunk
...
svn path=/branches/ros-amd64-bringup/; revision=44779
2009-12-27 22:06:48 +00:00
Timo Kreuzer
5f039ce636
fix USERMODE=0 compilation
...
svn path=/branches/ros-amd64-bringup/; revision=44778
2009-12-27 21:30:36 +00:00
Benedikt Freisen
d90303c704
Tool box, color palette and status bar can be hidden and shown using menu entry and/or shortcut.
...
svn path=/trunk/; revision=44777
2009-12-27 21:15:08 +00:00
Eric Kohl
2db30d58d2
[lsalib]
...
Fix indentation. No code changes.
svn path=/trunk/; revision=44776
2009-12-27 19:46:13 +00:00
James Tabor
e50eff1409
[gdi32]
...
- Add notes, fix CombineRgn and cleanup.
svn path=/trunk/; revision=44775
2009-12-27 19:43:46 +00:00
Eric Kohl
fc5a89cd69
Move the client-side LSA functions from secur32.dll to the new static library lsalib because these functions will be shared between ntoskrnl.exe, advapi32.dll and secur32.dll.
...
svn path=/trunk/; revision=44774
2009-12-27 19:10:30 +00:00
Samuel Serapion
948f940cd9
Implement KeGetTrapFrame and KeGetExceptionFrame macros.
...
svn path=/branches/ros-amd64-bringup/; revision=44773
2009-12-27 18:19:20 +00:00