a1346054
9660eead4e
Simple maintenance improvements ( #145 )
...
* Fix typos
* Add missing final newline
* Trim trailing whitespace
2022-08-15 17:51:48 +02:00
Martin Whitaker
f6da06b117
Work around the halt/wakeup race in barrier_halt_wait() (issue #13 )
...
There is an unavoidable race between one core halting after decrementing
the barrier count and another core sending it the wakeup NMI. This can
only occur if the core sending the wakeup is running at many times the
speed of the core halting, but it has been observed on an Intel Icelake
mobile processor.
2022-03-08 23:25:16 +00:00
Martin Whitaker
ed0fd7830f
Use IP instead of PC in interrupt display.
...
It's better to use the x86 terminology here.
2022-03-08 23:25:16 +00:00
Lionel Debroux
3ed9276eb0
Optimize the interrupt handler a bit by using compile-time string concatenation.
2022-02-22 11:00:02 +01:00
Martin Whitaker
2bf1623733
Halt CPU cores that are not active in a test.
...
This saves a lot of power when performing sequential tests.
2022-02-12 19:30:14 +00:00
Martin Whitaker
39d5715224
Fix interrupt handling when long mode is enabled in a 32-bit binary (part 2).
...
Handle passing the processor state to the application interrupt handler.
Update the 64-bit code to match the new trap state structure definition.
2022-02-12 09:39:09 +00:00
Martin Whitaker
16d55b7dad
Remove distinction between physical and virtual CPUs.
...
This is no longer needed, now we can display as many CPUs as we can
physically handle.
2022-01-31 22:59:14 +00:00
Martin Whitaker
fbd3376668
Initial commit.
2020-05-24 21:30:55 +01:00