#include <hal.h>
Go to the source code of this file.
◆ HalpReboot()
Definition at line 25 of file reboot.c.
26{
29 PVOID ZeroPageMapping;
30
31
34
35
36 ((
PUSHORT)ZeroPageMapping)[0x239] = 0x1234;
37
38
40
41
44
45
49
50
53
54
58
59
62
63
66
67
70}
VOID NTAPI KeFlushWriteBuffer(VOID)
PVOID NTAPI HalpMapPhysicalMemory64(IN PHYSICAL_ADDRESS PhysicalAddress, IN PFN_COUNT PageCount)
VOID NTAPI HalpAcquireCmosSpinLock(VOID)
static VOID HalpWriteResetCommand(VOID)
__INTRIN_INLINE void __halt(void)
#define KeStallExecutionProcessor(MicroSeconds)
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Referenced by HalReturnToFirmware().
◆ HalpWriteResetCommand()
static VOID HalpWriteResetCommand |
( |
VOID |
| ) |
|
|
static |
◆ HalReturnToFirmware()
Definition at line 80 of file reboot.c.
82{
83
85 {
86
91 {
92
94
95
97 }
98
99
100 default:
101 {
102
103 DbgPrint(
"HalReturnToFirmware called!\n");
105 }
106 }
107}
DECLSPEC_NORETURN VOID HalpReboot(VOID)
VOID NTAPI InbvAcquireDisplayOwnership(VOID)
NTSYSAPI void WINAPI DbgBreakPoint(void)
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action