Skip to content

Commit

Permalink
Merge pull request #83 from bassaer/mouse
Browse files Browse the repository at this point in the history
PCI devices
  • Loading branch information
bassaer committed Mar 18, 2022
2 parents f7ffc97 + 805ffb2 commit 4013e27
Show file tree
Hide file tree
Showing 12 changed files with 223 additions and 340 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## ver 2.1.0
- find PCI devices

## ver 2.0.2
- fix qemu option
- fix dir name
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all: package
prepare:
sudo apt install -y mtools qemu gcc-mingw-w64-x86-64 ovmf qemu-system-x86

kernel/vmmyos: graphics
kernel/vmmyos: graphics drivers
@$(MAKE) build -C kernel

arch/x86/BOOTX64.EFI: lib
Expand All @@ -30,6 +30,9 @@ lib:
graphics:
@$(MAKE) -c graphics

drivers:
@$(MAKE) -c drivers

run: img
qemu-system-x86_64 -name myos \
-monitor stdio \
Expand Down Expand Up @@ -61,3 +64,4 @@ clean:
@$(MAKE) clean -C kernel
@$(MAKE) clean -C lib
@$(MAKE) clean -C graphics
@$(MAKE) clean -C drivers
15 changes: 15 additions & 0 deletions drivers/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CC = gcc
INCLUDE = -I../include -I../include/drivers
CFLAGS = -c -Wall -Wextra $(INCLUDE) -nostdlib -fno-builtin -fPIE

WIN_OBJ = xhci.o

.PHONY: build clean

build: $(WIN_OBJ)

%.o: %.c
${CC} $(CFLAGS) -o $@ $*.c

clean:
rm -rf *.o
190 changes: 0 additions & 190 deletions drivers/cursor.c

This file was deleted.

66 changes: 0 additions & 66 deletions drivers/palette.c

This file was deleted.

72 changes: 0 additions & 72 deletions drivers/screen.c

This file was deleted.

9 changes: 0 additions & 9 deletions drivers/vram.s

This file was deleted.

0 comments on commit 4013e27

Please sign in to comment.