1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-12-04 11:25:18 -05:00

Move console driver files

This commit is contained in:
Alex Kotov 2022-01-10 09:45:02 +05:00
parent 79bd6bf96c
commit e73fa14d91
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
8 changed files with 7 additions and 8 deletions

View file

@ -41,7 +41,7 @@ TESTS += \
endif
if WITH_CONSOLE
libkernaux_a_SOURCES += src/drivers/console.c
libkernaux_a_SOURCES += src/console.c
endif
if WITH_ELF

View file

@ -37,7 +37,7 @@ API
* [Simple](/examples/assert_simple.c)
* [Guards](/examples/assert_guards.c)
* Device drivers (for debugging only)
* [Serial console](/include/kernaux/drivers/console.h)
* [Serial console](/include/kernaux/console.h)
* Framebuffer *(planned)*
* Algorithms
* [Simple command line parser](/include/kernaux/cmdline.h)

View file

@ -2,7 +2,7 @@
#include <stdint.h>
#include <kernaux/asm/i386.h>
#include <kernaux/drivers/console.h>
#include <kernaux/console.h>
#include <kernaux/multiboot2.h>
void halt();

View file

@ -2,7 +2,7 @@
#include <stdint.h>
#include <kernaux/asm/i386.h>
#include <kernaux/drivers/console.h>
#include <kernaux/console.h>
#include <kernaux/multiboot2.h>
void halt();

View file

@ -6,8 +6,8 @@ nobase_include_HEADERS = \
kernaux/asm/x86_64.h \
kernaux/assert.h \
kernaux/cmdline.h \
kernaux/console.h \
kernaux/elf.h \
kernaux/drivers/console.h \
kernaux/itoa.h \
kernaux/libc.h \
kernaux/multiboot2.h \

View file

@ -8,6 +8,7 @@
#include <kernaux/assert.h>
#include <kernaux/cmdline.h>
#include <kernaux/console.h>
#include <kernaux/elf.h>
#include <kernaux/itoa.h>
#include <kernaux/multiboot2.h>
@ -17,5 +18,3 @@
#include <kernaux/arch/i386.h>
#include <kernaux/arch/x86_64.h>
#include <kernaux/drivers/console.h>

View file

@ -6,7 +6,7 @@
#include <kernaux/asm/i386.h>
#endif
#include <kernaux/drivers/console.h>
#include <kernaux/console.h>
#include <kernaux/libc.h>
#include <kernaux/printf.h>