Skip to content

Commit

Permalink
Add beginnings of HAL for Xbox
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=11926
  • Loading branch information
Gé van Geldorp committed Dec 4, 2004
1 parent a0422cb commit 6352c03
Show file tree
Hide file tree
Showing 7 changed files with 757 additions and 0 deletions.
7 changes: 7 additions & 0 deletions reactos/hal/halx86/xbox/.cvsignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.d
*.dll
*.coff
*.a
*.o
*.sym
*.map
88 changes: 88 additions & 0 deletions reactos/hal/halx86/xbox/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# $Id: Makefile,v 1.1 2004/12/04 21:43:37 gvg Exp $

PATH_TO_TOP = ../../..

VPATH = ../generic

default: all

#
# Build configuration
#
include $(PATH_TO_TOP)/rules.mak

#
# Global configuration
#
include $(TOOLS_PATH)/config.mk

TARGET_BOOTSTRAP = yes

TARGET_TYPE = hal

TARGET_DEFNAME = ../../hal/hal

TARGET_ASFLAGS = -I$(PATH_TO_TOP)/include -I$(PATH_TO_TOP)/ntoskrnl/include -D__ASM__ -DUP

TARGET_CFLAGS = -I../include -I$(PATH_TO_TOP)/ntoskrnl/include -Wall -Werror -DUP

# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -D_DISABLE_TIDENTS

TARGET_NAME = halxbox

TARGET_INSTALL = no
TARGET_BOOTSTRAP = no

GENERIC_OBJECTS = \
adapter.o \
beep.o \
bus.o \
dma.o \
drive.o \
enum.o \
fmutex.o \
halinit.o \
ipi.o \
irql.o \
isa.o \
kdbg.o \
mca.o \
misc.o \
pci.o \
portio.o \
processor.o \
reboot.o \
resource.o \
spinlock.o \
sysbus.o \
sysinfo.o \
time.o \
timer.o

XBOX_OBJECTS = \
flashleds.o \
display_xbox.o \
font.o \
halinit_xbox.o

HAL_OBJECTS = $(GENERIC_OBJECTS) $(XBOX_OBJECTS)

DEP_OBJECTS := $(HAL_OBJECTS)

TARGET_OBJECTS := $(DEP_OBJECTS) $(PATH_TO_TOP)/include/roscfg.h

# Note: Must be = and not := since $(DEP_FILES) is assigned a value below
TARGET_CLEAN = $(DEP_FILES) *.o *.dll

#
# Helper makefile
#
include $(TOOLS_PATH)/helper.mk

#
# Include automatic dependancy tracking
#
include $(TOOLS_PATH)/depend.mk

# EOF
Loading

0 comments on commit 6352c03

Please sign in to comment.