The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
user_space Struct Reference

the user half of an address space: the page tables, the areas (vma.h) and the program break. More...

#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/kernel/memory/user_space.h>

Data Fields

volatile uint32_t users
volatile uint32_t cpu_mask [CPU_MAX/32]
addr_space_t page_directory
vma_table_t vmas
uintptr_t brk
mutex_t lock

Detailed Description

the user half of an address space: the page tables, the areas (vma.h) and the program break.

the threads of a process use one user space together; it is freed when the last of them lets it go.

Field Documentation

◆ users

volatile uint32_t user_space::users

◆ cpu_mask

volatile uint32_t user_space::cpu_mask[CPU_MAX/32]

◆ page_directory

addr_space_t user_space::page_directory

◆ vmas

vma_table_t user_space::vmas

◆ brk

uintptr_t user_space::brk

◆ lock

mutex_t user_space::lock

The documentation for this struct was generated from the following file: