1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

Import very modest Userland.

This commit is contained in:
Andreas Kling 2018-10-22 14:06:22 +02:00
parent 4cbf079a17
commit 63764b3a65
23 changed files with 81 additions and 27 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#ifdef SERENITY_KERNEL
#ifdef SERENITY
#include "kassert.h"
#else
#include <assert.h>

View file

@ -1,6 +1,6 @@
#pragma once
#ifdef SERENITY_KERNEL
#ifdef SERENITY
#include <Kernel/StdLib.h>
#else
#include <cstring>

View file

@ -1,6 +1,6 @@
#pragma once
#if defined(SERENITY_KERNEL) || defined(SERENITY_LIBC)
#if defined(SERENITY)
typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned int dword;

View file

@ -1,6 +1,6 @@
#pragma once
#ifdef SERENITY_KERNEL
#ifdef SERENITY
#include <Kernel/kmalloc.h>
#else
#include <new>

View file

@ -1,6 +1,6 @@
#pragma once
#ifdef SERENITY_KERNEL
#ifdef SERENITY
#include <Kernel/kstdio.h>
#else
#include <cstdio>

View file

@ -1,6 +1,6 @@
#pragma once
#ifdef SERENITY_KERNEL
#ifdef SERENITY
#include <Kernel/ktime.h>
#else
#include <time.h>