[][src]Crate hermit

Modules

irq
kernel
mm
percore
processor
scheduler

Architecture dependent interface to initialize a task

x86_64

Structs

SpinlockContainer
SpinlockIrqSaveContainer
itimerval
timespec
timeval

Constants

CLOCK_MONOTONIC
CLOCK_PROCESS_CPUTIME_ID
CLOCK_REALTIME
CLOCK_THREAD_CPUTIME_ID
DEFAULT_STACK_SIZE
KERNEL_STACK_SIZE
TIMER_ABSTIME

Functions

application_processor_init

Application Processor initialization

boot_application_processors

Boots all available Application Processors on bare-metal or QEMU. Called after the Boot Processor has been fully initialized along with its scheduler.

boot_processor_init

Real Boot Processor initialization as soon as we have put the first Welcome message on the screen.

get_application_parameters
get_boot_time
get_processor_count
message_output_init

Earliest initialization function called by the Boot Processor.

output_message_byte
random_init
set_current_kernel_stack
set_oneshot_timer
switch
sys_abort
sys_add_queue
sys_clock_getres
sys_clock_gettime
sys_clock_nanosleep
sys_clock_settime
sys_close
sys_destroy_queue
sys_exit
sys_free

Interface to deallocate a memory region from the system heap

sys_get_processor_count

Returns the number of processors currently online.

sys_get_processor_frequency

Returns the processor frequency in MHz.

sys_getpagesize
sys_getpid
sys_getprio
sys_gettimeofday
sys_join
sys_lseek
sys_malloc

Interface to allocate memory from system heap

sys_msleep
sys_nanosleep
sys_notify
sys_open
sys_rand
sys_read
sys_realloc

Interface to increase the size of a memory region

sys_recmutex_destroy
sys_recmutex_init
sys_recmutex_lock
sys_recmutex_unlock
sys_sem_cancelablewait
sys_sem_destroy
sys_sem_init
sys_sem_post
sys_sem_timedwait
sys_sem_trywait
sys_setitimer
sys_setprio
sys_shutdown
sys_spawn
sys_spinlock_destroy
sys_spinlock_init
sys_spinlock_irqsave_destroy
sys_spinlock_irqsave_init
sys_spinlock_irqsave_lock
sys_spinlock_irqsave_unlock
sys_spinlock_lock
sys_spinlock_unlock
sys_stat
sys_thread_exit
sys_unlink
sys_usleep
sys_wait
sys_write
sys_yield
wakeup_core

Send an inter-processor interrupt to wake up a CPU Core that is in a HALT state.

Type Definitions

Tid