mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
e4afa2a041
It's still running in kernel space. Once I make it possible for ELFLoader to set up a ring 3 task, we'll really be cooking!
18 lines
286 B
C++
18 lines
286 B
C++
#pragma once
|
|
|
|
#include "types.h"
|
|
|
|
namespace Userspace {
|
|
|
|
int open(const char* path);
|
|
int close(int fd);
|
|
int read(int fd, void* outbuf, size_t nread);
|
|
int seek(int fd, int offset);
|
|
int kill(pid_t pid, int sig);
|
|
uid_t getuid();
|
|
void sleep(DWORD ticks);
|
|
void yield();
|
|
void putch(char);
|
|
|
|
}
|