aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/process.h
blob: a6ca1e9921a1c431ad78d60a40cb220c86fdf6b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

// Things described in this file are essentially a public interface
// All implementation details are hidden in process.c

// A process is a recipient for user code, as well as for mounting File Systems,
// which allow access to features of the system.

#include <thread.h>

#include <hashtbl.h>


struct process;
typedef struct process process_t;

process_t *new_process(entry_t entry, void* data);

bool mmap(process_t *proc, void* addr, size_t size, int type);

/* vim: set ts=4 sw=4 tw=0 noet :*/