scan acpi bus and create device tree

git-svn-id: svn://kolibrios.org@1625 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2010-09-26 07:30:13 +00:00
parent 6976fe6967
commit 2e0a186ba0
2 changed files with 1190 additions and 52 deletions

View File

@ -19,7 +19,7 @@ LDFLAGS = -nostdlib -shared -s -Map acpi.map --image-base 0\
LIBPATH:= -L$(DRV_DIR)/ddk -L./acpica LIBPATH:= -L$(DRV_DIR)/ddk -L./acpica
LIBS:= -lacpica -lgcc -ldrv -lcore LIBS:= -lacpica -lgcc -lddk -lcore
NAME= acpi NAME= acpi
@ -34,7 +34,8 @@ NAME_OBJS = $(patsubst %.S, %.o, $(patsubst %.asm, %.o,\
$(NAME).dll: $(NAME_OBJS) acpi.lds Makefile $(NAME).dll: $(NAME_OBJS) acpi.lds Makefile
ld $(LIBPATH) $(LDFLAGS) -T acpi.lds -o $@ $(NAME_OBJS) $(LIBS) ld $(LIBPATH) $(LDFLAGS) -T acpi.lds -o $@ $(NAME_OBJS) $(LIBS)
kpack $(NAME).dll
%.o : %.c $(HFILES) Makefile %.o : %.c $(HFILES) Makefile
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<

File diff suppressed because it is too large Load Diff