mirror of
https://github.com/tailix/kernel.git
synced 2024-11-27 11:24:34 -05:00
Remove directory "include"
This commit is contained in:
parent
6741306e58
commit
8527152156
21 changed files with 21 additions and 22 deletions
5
Makefile
5
Makefile
|
@ -4,10 +4,9 @@ AR = $(CCPREFIX)ar
|
|||
AS = $(CCPREFIX)as
|
||||
CC = $(CCPREFIX)gcc
|
||||
|
||||
INCLUDE = include
|
||||
KERNEL = rootfs/boot/kernelmq.multiboot2
|
||||
KERNEL = rootfs/boot/kernelmq.multiboot2
|
||||
|
||||
CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I $(INCLUDE)
|
||||
CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra
|
||||
|
||||
IMAGE = image.iso
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "console.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
static unsigned short *const console_buffer = (unsigned short*)0xB8000;
|
||||
|
||||
|
|
2
info.c
2
info.c
|
@ -1,4 +1,4 @@
|
|||
#include <kernelmq/info.h>
|
||||
#include "info.h"
|
||||
|
||||
static unsigned char cmdline_terminated(const char *s);
|
||||
|
||||
|
|
6
init.c
6
init.c
|
@ -4,9 +4,9 @@
|
|||
#include "protected.h"
|
||||
#include "paging.h"
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include <kernelmq/module.h>
|
||||
#include "info.h"
|
||||
#include "stdlib.h"
|
||||
#include "module.h"
|
||||
|
||||
static struct KernelMQ_Info kinfo;
|
||||
|
||||
|
|
2
logger.c
2
logger.c
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "console.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
#define LEVELS_COUNT 4
|
||||
|
||||
|
|
4
main.c
4
main.c
|
@ -1,8 +1,8 @@
|
|||
#include "multiboot.h"
|
||||
#include "paging.h"
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "info.h"
|
||||
#include "stdlib.h"
|
||||
|
||||
// Defined in linker script
|
||||
extern char _kernel_offset;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "multiboot.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
#define MULTIBOOT_TAG_TYPE_END 0
|
||||
#define MULTIBOOT_TAG_TYPE_CMDLINE 1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef KERNELMQ_INCLUDED_MULTIBOOT
|
||||
#define KERNELMQ_INCLUDED_MULTIBOOT 1
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include "info.h"
|
||||
|
||||
#define MULTIBOOT_MAGIC 0x36d76289
|
||||
|
||||
|
|
2
paging.c
2
paging.c
|
@ -3,7 +3,7 @@
|
|||
#include "pagedir.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
// CR0 bits
|
||||
#define I386_CR0_PE 0x00000001 // Protected mode
|
||||
|
|
2
paging.h
2
paging.h
|
@ -1,7 +1,7 @@
|
|||
#ifndef KERNELMQ_INCLUDED_PAGING
|
||||
#define KERNELMQ_INCLUDED_PAGING 1
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include "info.h"
|
||||
|
||||
void paging_enable();
|
||||
|
||||
|
|
2
pfa.c
2
pfa.c
|
@ -4,7 +4,7 @@
|
|||
#include "panic.h"
|
||||
#include "logger.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
#define FRAMES_COUNT (PAGE_DIR_LENGTH * PAGE_TABLE_LENGTH)
|
||||
|
||||
|
|
2
pfa.h
2
pfa.h
|
@ -1,7 +1,7 @@
|
|||
#ifndef KERNELMQ_INCLUDED_PFA
|
||||
#define KERNELMQ_INCLUDED_PFA 1
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include "info.h"
|
||||
|
||||
void pfa_initialize(const struct KernelMQ_Info *kinfo);
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "tss.h"
|
||||
#include "pic.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
struct GdtPointer {
|
||||
unsigned short limit;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef KERNELMQ_INCLUDED_PROTECTED
|
||||
#define KERNELMQ_INCLUDED_PROTECTED 1
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include "info.h"
|
||||
|
||||
void protected_initialize(const struct KernelMQ_Info *kinfo);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "interrupt.h"
|
||||
#include "logger.h"
|
||||
|
||||
#include <kernelmq/syscall.h>
|
||||
#include "syscall.h"
|
||||
|
||||
static void syscall_do_exit(struct IsrRegisters regs);
|
||||
|
||||
|
|
2
tss.c
2
tss.c
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <kernelmq/stdlib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
struct gdt_entry_bits {
|
||||
unsigned int limit_low : 16;
|
||||
|
|
2
tss.h
2
tss.h
|
@ -1,7 +1,7 @@
|
|||
#ifndef KERNELMQ_INCLUDED_TSS
|
||||
#define KERNELMQ_INCLUDED_TSS 1
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
#include "info.h"
|
||||
|
||||
void tss_write_to_gdt(const struct KernelMQ_Info *kinfo, void *gdt_entry);
|
||||
|
||||
|
|
Loading…
Reference in a new issue