#include <stddef.h>
#include <stdint.h>
#include "fs/Path.hpp"
Go to the source code of this file.
◆ MAX_PROCESSES
◆ PROCESS_KEYBOARD_BUFFER_SIZE
| #define PROCESS_KEYBOARD_BUFFER_SIZE 1024 |
◆ PROCESS_MAX_ALLOCATIONS
| #define PROCESS_MAX_ALLOCATIONS 1024 |
◆ process_current()
| struct process * process_current |
( |
| ) |
|
◆ process_free()
| void process_free |
( |
struct process * | process, |
|
|
void * | address ) |
◆ process_get_list()
| struct process ** process_get_list |
( |
| ) |
|
◆ process_load()
| int process_load |
( |
const char * | filename, |
|
|
struct process * | process ) |
◆ process_load_switch()
| int process_load_switch |
( |
const char * | filename, |
|
|
struct process * | process ) |
◆ process_malloc()
| void * process_malloc |
( |
struct process * | process, |
|
|
size_t | size ) |
◆ process_malloc_flags()
| void * process_malloc_flags |
( |
struct process * | process, |
|
|
size_t | size, |
|
|
int | flags ) |
References process::allocations, ENOMEM, flags, kfree(), kmalloc(), task::page_directory, paging_align_address(), paging_map_to(), process_get_next_allocation_index(), size, and process::task.
◆ process_popkey()
| char process_popkey |
( |
struct process * | process | ) |
|
◆ process_pushkey()
| void process_pushkey |
( |
struct process * | process, |
|
|
char | c ) |
◆ process_switch()
| int process_switch |
( |
struct process * | process | ) |
|
◆ process_terminate()
| void process_terminate |
( |
struct process * | process | ) |
|
References process::allocations, process::bss, current_process, process::elf, kernel_panic(), kfree(), MAX_PROCESSES, PROCESS_MAX_ALLOCATIONS, process_switch(), process::stack, process::task, and task_free().