1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2025-04-21 17:42:20 -04:00

Fix error

This commit is contained in:
Braiden Vasco 2017-11-01 06:42:30 +00:00
parent 33c9e5c1e4
commit f25e91524c
2 changed files with 3 additions and 4 deletions

View file

@ -11,10 +11,10 @@ clean:
rm -f kernel $(OBJS)
kernel: $(OBJS)
$(CC) -T linker.ld -o $@ -ffreestanding -nostdlib -O2 -lgcc $(OBJS)
$(CC) -T linker.ld -o $@ -ffreestanding -nostdlib -lgcc $(OBJS)
%.c.o: %.c
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -O2 -Wall -Wextra
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -Wall -Wextra
%.s.o: %.s
$(AS) $< -o $@

View file

@ -7,8 +7,7 @@ struct IsrRegisters {
unsigned int eip, cs, eflags, useresp, ss; // Pushed by the processor automatically.
};
// void isr(struct IsrRegisters regs)
void isr()
void isr(struct IsrRegisters regs)
{
logger_warn("ISR.");
}