Thomas Faber
fc9bc9390d
[HAL] Reset the stack pointer to the stack frame when calling second-entry interrupt handlers. CORE-14449
...
Because we can encounter pending interrupts repeatedly,
HalpEndSoftwareInterrupt and HalEndSystemInterrupt already clean up the stack
space for their arguments (done for CORE-11123/CORE-14076).
However these functions are called from C functions such as KiInterruptDispatch
and HalpDispatchInterrupt2[ndEntry]. These callers also use up stack space,
and it is unknown how much.
To fix this, we simply reset the stack pointer to the location of the trap
frame, which is where it points during a first-level dispatch. This cleans
up the stack usage of any callers higher up, and is okay because a return
will happen through the trap frame anyway.
Dedicated to Pierre.
2018-04-13 09:04:52 +02:00
Timo Kreuzer
6b1ca75899
[REACTOS] Fix 64 bit build ( #465 )
...
* [HAL] Simplify HalpReboot() and make it portable
* [NTOS:MM] Cast constant to PVOID
* [BINPATCH] Fix 64 bit build
* [VFDDRV] Fix 64 bit build and buffer overruns
* [USBOHCI] Fix structure alignment issues
* [ATL_APITEST] Fix 64 bit build
* [XDK] Update unwind structures in winnt.h
* [NTDLL_APITEST] Fix 64 bit build
* [NTDLL_WINETEST] Fix 64 bit build
* [TFTPD] Fix x64 build
* [USBPORT] Fix a C_ASSERT
* [DSOUND] Fix x64 build
* [HAL] Remove obsolete GetPteAddress() macro
2018-04-03 15:13:17 -06:00
Thomas Faber
888ace4397
[HAL] Eliminate tail calls from HalpHardwareInterruptLevel. CORE-14076
2018-02-18 13:06:44 +01:00
Thomas Faber
b4453242f7
[HAL] Eliminate tail calls from HalpDispatchInterrupt[2]. CORE-14076
2018-02-18 13:06:42 +01:00
Thomas Faber
ade345427f
[HAL] Eliminate tail calls from HalEndSystemInterrupt. CORE-14076
2018-02-18 13:06:41 +01:00
Thomas Faber
7a9474a6bb
[HAL] Create a macro for the HalpEndSoftwareInterrupt to allow reuse. CORE-14076
2018-02-18 13:06:39 +01:00
Thomas Faber
040d78354e
[HAL] Convert HalpEndSoftwareInterrupt2 to fastcall. CORE-14076
2018-02-18 13:06:37 +01:00
Ivan Labutin
5ae2750467
[HAL] Implement APIC-based profiling for x64.
2018-02-15 12:45:29 +01:00
Timo Kreuzer
5311c57b5f
[HAL] Use 64 bits for physical addresses.
2017-12-17 19:01:52 +01:00
Colin Finck
361b6e39e3
[HALX86] Deduplicate initialization of legacy PICs and remove EOI in I/O APIC initialization, which causes an unexpected interrupt
2017-12-17 09:51:37 +01:00
Amine Khaldi
0bae06fa5f
[HAL] Add some header guards.
2017-12-09 13:20:22 +01:00
Hermès Bélusca-Maïto
0436a4c73b
Add a small descriptive comment for the reason why the chosen files are specified in a .gitattributes file.
2017-10-08 15:48:07 +02:00
Colin Finck
950c86fb4c
Fix remaining text file line endings in the tree. ( #18 )
...
Based on https://stackoverflow.com/a/1511273
Also enforce CRLF for all *.xml files in our tree, because they are distributed with ReactOS.
2017-10-06 15:00:36 +02:00
Colin Finck
9ebf43567d
Add .gitattributes and .gitignore files and normalize line endings in the repository ( #10 )
2017-10-04 20:37:32 +02:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00