Flatten libs
All checks were successful
Build documentation / build-and-deploy (push) Successful in 44s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 44s
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <process/process.h>
|
#include <process.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <terminal/terminal.h>
|
#include <terminal.h>
|
||||||
|
|
||||||
#define MUTEX 2000
|
#define MUTEX 2000
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
c += alloc/liballoc.c
|
|
||||||
|
|
||||||
o += alloc/liballoc.o
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
/* liballoc breaks when optimized too aggressively, for eg. clang's -Oz */
|
/* liballoc breaks when optimized too aggressively, for eg. clang's -Oz */
|
||||||
#pragma clang optimize off
|
#pragma clang optimize off
|
||||||
|
|
||||||
#include <alloc/liballoc.h>
|
#include <liballoc.h>
|
||||||
#include <m/system.h>
|
#include <m/system.h>
|
||||||
|
|
||||||
#define LIBALLOC_MUTEX 500
|
#define LIBALLOC_MUTEX 500
|
||||||
@@ -1 +1,3 @@
|
|||||||
include alloc/src.mk
|
c += liballoc.c
|
||||||
|
|
||||||
|
o += liballoc.o
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include <alloc/liballoc.h>
|
#include <liballoc.h>
|
||||||
#include <m/system.h>
|
#include <m/system.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include <alloc/liballoc.h>
|
#include <liballoc.h>
|
||||||
#include <m/status.h>
|
#include <m/status.h>
|
||||||
#include <m/system.h>
|
#include <m/system.h>
|
||||||
#include <process/process.h>
|
#include <process.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
c += process/process.c
|
|
||||||
|
|
||||||
o += process/process.o
|
|
||||||
@@ -1 +1,3 @@
|
|||||||
include process/src.mk
|
c += process.c
|
||||||
|
|
||||||
|
o += process.o
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
include terminal/src.mk
|
c += terminal.c
|
||||||
|
|
||||||
|
o += terminal.o
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#include <m/system.h>
|
#include <m/system.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <terminal/device.h>
|
#include <terminal.h>
|
||||||
#include <terminal/terminal.h>
|
|
||||||
|
|
||||||
void terminal_print (const char* string, size_t len) {
|
void terminal_print (const char* string, size_t len) {
|
||||||
device_do (TERMINAL_DEVICE, TERMINAL_PUTSTR, (void*)string, &len, NULL, NULL);
|
device_do (TERMINAL_DEVICE, TERMINAL_PUTSTR, (void*)string, &len, NULL, NULL);
|
||||||
@@ -1,8 +1,11 @@
|
|||||||
#ifndef _LIBTERMINAL_TERMINAL_TERMINAL_H
|
#ifndef _LIBTERMINAL_TERMINAL_TERMINAL_H
|
||||||
#define _LIBTERMINAL_TERMINAL_TERMINAL_H
|
#define _LIBTERMINAL_TERMINAL_TERMINAL_H
|
||||||
|
|
||||||
|
#include <m/terminal_device.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#define TERMINAL_DEVICE 1
|
||||||
|
|
||||||
void terminal_print (const char* string, size_t len);
|
void terminal_print (const char* string, size_t len);
|
||||||
|
|
||||||
#endif // _LIBTERMINAL_TERMINAL_TERMINAL_H
|
#endif // _LIBTERMINAL_TERMINAL_TERMINAL_H
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#ifndef _LIBTERMINAL_TERMINAL_DEVICE_H
|
|
||||||
#define _LIBTERMINAL_TERMINAL_DEVICE_H
|
|
||||||
|
|
||||||
#define TERMINAL_DEVICE 1
|
|
||||||
|
|
||||||
#include <m/terminal_device.h>
|
|
||||||
|
|
||||||
#endif // _LIBTERMINAL_TERMINAL_DEVICE_H
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
c += terminal/terminal.c
|
|
||||||
|
|
||||||
o += terminal/terminal.o
|
|
||||||
Reference in New Issue
Block a user