Nugget
Loading...
Searching...
No Matches
Functions
threads.c File Reference
#include "openbios/kernel/threads.h"
#include <stddef.h>
#include <stdint.h>
#include "common/syscalls/syscalls.h"
#include "openbios/fileio/fileio.h"
#include "openbios/kernel/globals.h"
Include dependency graph for threads.c:

Functions

int initThreads (int processCount, int threadCount)
 
int getFreeTCBslot ()
 
int openThread (uint32_t pc, uint32_t sp, uint32_t gp)
 
int closeThread (int threadId)
 
int changeThread (int threadId)
 

Function Documentation

◆ changeThread()

int changeThread ( int  threadId)

◆ closeThread()

int closeThread ( int  threadId)

◆ getFreeTCBslot()

int getFreeTCBslot ( )

◆ initThreads()

int initThreads ( int  processCount,
int  threadCount 
)

◆ openThread()

int openThread ( uint32_t  pc,
uint32_t  sp,
uint32_t  gp 
)