ReactOS 0.4.15-dev-8207-gd73a838
halinit.c File Reference
#include "halxbox.h"
#include <debug.h>
Include dependency graph for halinit.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID NTAPI HalpInitProcessor (IN ULONG ProcessorNumber, IN PLOADER_PARAMETER_BLOCK LoaderBlock)
 
VOID HalpInitPhase0 (IN PLOADER_PARAMETER_BLOCK LoaderBlock)
 
VOID HalpInitPhase1 (VOID)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file halinit.c.

Function Documentation

◆ HalpInitPhase0()

VOID HalpInitPhase0 ( IN PLOADER_PARAMETER_BLOCK  LoaderBlock)

Definition at line 28 of file halinit.c.

29{
30 /* Initialize Xbox-specific disk hacks */
32}
void HalpXboxInitPartIo(void)
Definition: part_xbox.c:331

◆ HalpInitPhase1()

VOID HalpInitPhase1 ( VOID  )

Definition at line 35 of file halinit.c.

36{
37 /* Enable timer interrupt handler */
39 0,
43 Latched);
44
45 /* Enable RTC interrupt handler */
47 0,
51 Latched);
52
53 /* Initialize DMA. NT does this in Phase 0 */
55}
#define CLOCK2_LEVEL
Definition: env_spec_w32.h:700
#define PROFILE_LEVEL
Definition: env_spec_w32.h:698
VOID HalpClockInterrupt(VOID)
Definition: timer.c:30
VOID NTAPI HalpEnableInterruptHandler(IN UCHAR Flags, IN ULONG BusVector, IN ULONG SystemVector, IN KIRQL Irql, IN PVOID Handler, IN KINTERRUPT_MODE Mode)
Definition: usage.c:49
VOID HalpInitDma(VOID)
Definition: dma.c:185
#define PRIMARY_VECTOR_BASE
Definition: halp.h:16
VOID HalpProfileInterrupt(VOID)
#define IDT_DEVICE
Definition: halp.h:22
#define PIC_RTC_IRQ
Definition: halhw.h:157
#define PIC_TIMER_IRQ
Definition: halhw.h:155
@ Latched
Definition: miniport.h:81

Referenced by HalInitSystem().

◆ HalpInitProcessor()

VOID NTAPI HalpInitProcessor ( IN ULONG  ProcessorNumber,
IN PLOADER_PARAMETER_BLOCK  LoaderBlock 
)

Definition at line 19 of file halinit.c.

22{
23 /* Set default IDR */
24 KeGetPcr()->IDR = 0xFFFFFFFF & ~(1 << PIC_CASCADE_IRQ);
25}
#define PIC_CASCADE_IRQ
Definition: halhw.h:156
#define KeGetPcr()
Definition: ketypes.h:81