#include <lock.hpp>
Metody publiczne | |
lock_t (const char *nam) | |
lock_t () | |
void | init (const char *nam) |
bool | locked () |
void | lock () |
void | lock (bool slp) |
void | lock2 () |
void | ulock () |
lock_t (const char *nam) | |
lock_t () | |
void | init (char *nam) |
uint32 | locked () |
void | lock () |
void | lock (uint32 slp) |
void | lock2 () |
void | ulock () |
Atrybuty publiczne | |
char | name [LOCK_NAME] |
bool | state |
struct eip_ebp | eipebp |
uint32 | eflags |
uint32 | state |
Definicja w linii 16 pliku lock.hpp.
IPC::Lock::lock_t::lock_t | ( | const char * | nam | ) |
IPC::Lock::lock_t::lock_t | ( | const char * | nam | ) |
IPC::Lock::lock_t::lock_t | ( | ) |
void IPC::Lock::lock_t::init | ( | const char * | nam | ) |
Definicja w linii 61 pliku lock.cpp.
Odwołuje się do FALSE, lgth(), IPC::Lock::LOCK_NAME, memmove(), memset(), name i state.
Odwołania w IPC::Message::allocate_mailbox(), Memory::Heap::heapbox::heapbox(), mmap_t::init(), Memory::Heap::heapbox::init(), blist_t::init() i sem_init().
bool IPC::Lock::lock_t::locked | ( | ) |
Definicja w linii 69 pliku lock.cpp.
Odwołuje się do IPC::Lock::disable_all_locks i state.
Odwołania w Thread::Scheduler::choose_next_thread(), Arch::x86::RTC::rtc_handler() i Thread::wake_threads().
void IPC::Lock::lock_t::lock | ( | ) |
Definicja w linii 155 pliku lock.cpp.
Odwołania w Thread::Timer::add(), mmap_t::add(), Net::Arp::arp_cache_insert(), ATAIssueCommand(), Thread::awake(), blistsort_link(), Thread::count_prior(), mmap_t::del(), blist_t::del(), Arch::x86::RTC::del_proc(), IPC::Message::mailbox::done(), Thread::enqueue_thread(), Net::eth_transmit(), mmap_t::find(), mmap_t::firstfit(), mmap_t::fitbelow(), Memory::Pager::FrameAssign(), Memory::Heap::heapbox::freeFuncPr(), Net::IP::ip_onNewArpEntry(), Net::IP::ip_transmit(), blist_t::link(), lock2(), Memory::Heap::heapbox::mallocFuncPr(), mmap_t::mmap_find(), Net::onFramesTransmitted(), Thread::prior_thread(), Thread::ProcFinishOff(), Thread::Timer::remove(), Arch::x86::RTC::rtc_handler(), sem_getvalue(), sem_post(), sem_trywait(), sem_wait(), Thread::sleep(), Thread::Timer::TimerThread() i Thread::unqueue_thread().
void IPC::Lock::lock_t::lock | ( | bool | slp | ) |
Definicja w linii 75 pliku lock.cpp.
Odwołuje się do alert(), cout(), debug_dump_call_trace(), DEF_SECOND, IPC::Lock::disable_all_locks, eip_ebp::ebp, eflags, eip_ebp::eip, eipebp, ENTER_CRITICAL, Arch::x86::Interr::isInInterruptHandler(), LEAVE_CRITICAL, LOCK_RETRIES, LOCK_RETRIES_WHEN_SLEEP, LOCK_SLEEP_STEP, LOCK_SPIN_STEP, Thread::Scheduler::multitasking_running, name, save_eip_ebp, Thread::sleep(), state, TRUE, TTYDisableLock i Arch::x86::RTC::up_time.
void IPC::Lock::lock_t::lock2 | ( | ) |
Definicja w linii 150 pliku lock.cpp.
Odwołuje się do lock().
Odwołania w Net::eth_poll(), Net::EthernetFrameReceptionThread() i Net::onFramesReceived().
void IPC::Lock::lock_t::ulock | ( | ) |
Definicja w linii 160 pliku lock.cpp.
Odwołuje się do eflags, FALSE, LEAVE_CRITICAL i state.
Odwołania w Thread::Timer::add(), mmap_t::add(), Net::Arp::arp_cache_insert(), ATAIssueCommand(), Thread::awake(), blistsort_link(), Thread::count_prior(), mmap_t::del(), blist_t::del(), Arch::x86::RTC::del_proc(), Thread::enqueue_thread(), Net::eth_poll(), Net::eth_transmit(), Net::EthernetFrameReceptionThread(), mmap_t::find(), mmap_t::firstfit(), mmap_t::fitbelow(), Memory::Pager::frame_release(), Memory::Pager::FrameRelease(), Memory::Heap::heapbox::freeFuncPr(), Thread::init(), Net::IP::ip_onNewArpEntry(), Net::IP::ip_transmit(), blist_t::link(), Memory::Heap::heapbox::mallocFuncPr(), mmap_t::mmap_find(), Net::onFramesReceived(), Net::onFramesTransmitted(), Thread::prior_thread(), Thread::ProcFinishOff(), Thread::Timer::remove(), Arch::x86::RTC::rtc_handler(), sem_getvalue(), sem_post(), sem_trywait(), sem_wait(), Thread::sleep(), Thread::Timer::TimerThread() i Thread::unqueue_thread().
void IPC::Lock::lock_t::init | ( | char * | nam | ) |
uint32 IPC::Lock::lock_t::locked | ( | ) |
void IPC::Lock::lock_t::lock | ( | ) |
void IPC::Lock::lock_t::lock | ( | uint32 | slp | ) |
void IPC::Lock::lock_t::lock2 | ( | ) |
void IPC::Lock::lock_t::ulock | ( | ) |
struct eip_ebp IPC::Lock::lock_t::eipebp [read] |
Definicja w linii 93 pliku ip.old.2.cpp.