mirror of
https://github.com/tailix/kernel.git
synced 2025-04-21 17:42:20 -04:00
Fix error
This commit is contained in:
parent
33c9e5c1e4
commit
f25e91524c
2 changed files with 3 additions and 4 deletions
|
@ -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 $@
|
||||
|
|
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue