mirror of
https://github.com/tailix/kernel.git
synced 2024-11-20 11:16:10 -05:00
Move "include/kernelmq/multiboot.h" to "arch/multiboot.h"
This commit is contained in:
parent
ae38fb3fe2
commit
ec48a489be
5 changed files with 4 additions and 13 deletions
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ all: all-kernel all-iso
|
|||
clean: clean-iso clean-kernel
|
||||
|
||||
all-kernel:
|
||||
make all -C arch I=$(shell pwd)/include
|
||||
make all -C arch
|
||||
|
||||
clean-kernel:
|
||||
make clean -C arch
|
||||
|
|
|
@ -15,7 +15,7 @@ kernel: $(OBJS)
|
|||
grub-file --is-x86-multiboot2 $@
|
||||
|
||||
%.c.o: %.c
|
||||
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I "$(I)"
|
||||
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra
|
||||
|
||||
%.s.o: %.s
|
||||
$(AS) $< -o $@
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <kernelmq/multiboot.h>
|
||||
|
||||
#include "multiboot.h"
|
||||
#include "logger.h"
|
||||
#include "protected.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <kernelmq/multiboot.h>
|
||||
#include "multiboot.h"
|
||||
|
||||
#include "console.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
#ifndef KERNELMQ_INCLUDED_MULTIBOOT
|
||||
#define KERNELMQ_INCLUDED_MULTIBOOT 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct KernelMQ_Multiboot_Info {
|
||||
unsigned long magic;
|
||||
unsigned long addr;
|
||||
|
@ -12,8 +8,4 @@ struct KernelMQ_Multiboot_Info {
|
|||
|
||||
void print_multiboot_info(struct KernelMQ_Multiboot_Info info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue