#include <process.hpp>
Metody publiczne | |
void | init (char *nam, Memory::Pager::memtree *mtree) |
void | InitKeepHeap (const char *c, Memory::Pager::memtree *mtree) |
thread_t * | create_thread (bool supervisor, uint32 proc_addr, uint32 worst_priority, uint32 best_priority, const char name[]) |
uint32 | alloc_stack (bool supervisor, size_t size, uint32 threadno) |
Atrybuty publiczne | |
blist_t | thread_list |
class Memory::Pager::memtree * | mem |
class Memory::Heap::heapbox | heap |
struct procenv_t | env |
int | no |
int | max_thread_no |
char | name [PROC_NAME] |
Definicja w linii 42 pliku process.hpp.
void Thread::process_t::init | ( | char * | nam, | |
Memory::Pager::memtree * | mtree | |||
) |
Definicja w linii 108 pliku process.cpp.
Odwołuje się do Memory::Heap::allocate_heapbox(), FAC_THREAD, FAC_THRLIST, heap, blist_t::init(), lgth(), mem, memmove(), memset(), name, Thread::PROC_NAME i thread_list.
Odwołania w Thread::init().
void Thread::process_t::InitKeepHeap | ( | const char * | c, | |
Memory::Pager::memtree * | mtree | |||
) |
Definicja w linii 120 pliku process.cpp.
Odwołuje się do FAC_THREAD, FAC_THRLIST, heap, blist_t::init(), lgth(), mem, memmove(), memset(), name, Thread::PROC_NAME i thread_list.
Odwołania w Module::init().
thread_t * Thread::process_t::create_thread | ( | bool | supervisor, | |
uint32 | proc_addr, | |||
uint32 | worst_priority, | |||
uint32 | best_priority, | |||
const char | name[] | |||
) |
Definicja w linii 134 pliku process.cpp.
Odwołuje się do blist_t::add(), alloc_stack(), Thread::allocate_context(), IPC::Message::allocate_mailbox(), Thread::thread_t::best_priority, complain, Thread::thread_t::creation_time, blist_s::data, Thread::DEF_THREAD_PRIOR, Thread::enqueue_thread(), heap, Thread::thread_t::inbox, lgth(), max_thread_no, memmove(), memset(), MIN, Thread::thread_t::name, Thread::thread_t::no, NULL, Thread::thread_t::priority, Thread::thread_t::proc, Thread::thread_t::state, Thread::TH_ACTIVE, thread_list, Thread::THREAD_NAME, Thread::threads_queue, Arch::x86::RTC::up_time i Thread::thread_t::worst_priority.
Odwołania w Thread::init(), Module::init() i Thread::Timer::initTimerThread().
Definicja w linii 190 pliku process.cpp.
Odwołuje się do alloc4k(), ESUCCESS, mmap_t::fitbelow(), heap, Thread::i, Memory::Pager::lazy_enable, Memory::Heap::heapbox::malloc(), ME_STACK, mem, mem_user_end, Memory::Pager::memtree::memory_map, Thread::MmapDestroyStack(), NULL, PAGE_ALIGN, PAGE_SIZE, Memory::Pager::memtree::pte_lazy(), Memory::Pager::memtree::pte_map(), PTE_PRESENT, PTE_USER i PTE_WRITEABLE.
Odwołania w create_thread().
Definicja w linii 45 pliku process.hpp.
Odwołania w create_thread(), init(), InitKeepHeap(), Thread::ProcessKill(), Thread::ProcFinishOff(), Thread::ThreadFinishOff(), Thread::ThreadGet() i Thread::ZombieSlayerThread().
Definicja w linii 46 pliku process.hpp.
Odwołania w alloc_stack(), Thread::Scheduler::choose_next_thread(), EnvGet(), init(), InitKeepHeap(), Thread::MmapDestroyStack(), Thread::ProcFinishOff() i Thread::ThreadFinishOff().
Definicja w linii 47 pliku process.hpp.
Odwołania w alloc_stack(), create_thread(), init(), Module::init(), InitKeepHeap() i Thread::ProcFinishOff().
struct procenv_t Thread::process_t::env [read] |
Definicja w linii 48 pliku process.hpp.
Odwołania w Thread::ProcFinishOff() i Arch::x86::Sysenter::SysEnter().
Definicja w linii 50 pliku process.hpp.
Odwołania w Thread::ABCThread(), Thread::ProcessRegister() i API::v1::req().