#include "halxbox.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ HalpXboxPowerAction()
Definition at line 69 of file reboot.c.
70{
72
73
75
77}
VOID NTAPI SMBusWriteByte(UCHAR Address, UCHAR Register, UCHAR Data)
#define SMB_DEVICE_SMC_PIC16LC
__INTRIN_INLINE void __halt(void)
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
Referenced by HalReturnToFirmware().
◆ HalReturnToFirmware()
Definition at line 86 of file reboot.c.
87{
88
90 {
91
93 {
94
96 }
98 {
100 }
102 {
104 }
105
106 default:
107 {
108
111 }
112 }
113}
VOID DECLSPEC_NORETURN NTAPI HalpXboxPowerAction(IN UCHAR Action)
#define SMC_REG_POWER_CYCLE
#define SMC_REG_POWER_RESET
#define SMC_REG_POWER_SHUTDOWN
NTSYSAPI void WINAPI DbgBreakPoint(void)
◆ SMBusWriteByte()
Definition at line 25 of file reboot.c.
26{
28
29
31 {
33 }
34
35 while (Retries--)
36 {
38
41
43
44
46
47
49
51
53 {
55 }
56
58 {
59 return;
60 }
61
63 }
64}
VOID NTAPI KeStallExecutionProcessor(IN ULONG MicroSeconds)
GLboolean GLboolean GLboolean b
VOID NTAPI WRITE_PORT_USHORT(IN PUSHORT Port, IN USHORT Value)
USHORT NTAPI READ_PORT_USHORT(IN PUSHORT Port)
#define SMB_GLOBAL_ENABLE
#define SMB_GLOBAL_STATUS
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
Referenced by HalpXboxPowerAction().