Komponenty | |
struct | shmem_t |
struct | shmem_s |
Funkcje | |
int | shmem_create (struct shmem_t *sh, class Memory::Pager::memtree *tree, uint32 virtaddr, uint32 size, bool cow, bool super) |
int | shmem_mapdone (mmap_t *mpt, mmap_s *mps) |
int | shmem_attach (struct shmem_t *sh, class Memory::Pager::memtree *tree, uint32 virtaddr, uint32 offset, uint32 lgth, bool cow) |
int | shmem_roall (struct shmem_t *sh) |
int | shmem_map (struct shmem_s *sh) |
int Memory::Shmem::shmem_attach | ( | struct shmem_t * | sh, | |
class Memory::Pager::memtree * | tree, | |||
uint32 | virtaddr, | |||
uint32 | offset, | |||
uint32 | lgth, | |||
bool | cow | |||
) |
Definicja w linii 95 pliku shmem.cpp.
Odwołuje się do mmap_t::add(), blist_t::add(), Memory::Shmem::shmem_t::cnt, cout(), Memory::Shmem::shmem_s::cow, Memory::Shmem::shmem_t::cows, blist_s::data, ESUCCESS, Thread::i, Memory::Shmem::shmem_s::lgth, Memory::Shmem::shmem_t::li, ME_SHMEM, Memory::Pager::memtree::memory_map, memset(), NULL, Memory::Shmem::shmem_s::offset, PAGE_SIZE, Memory::Shmem::shmem_t::pgs, Memory::Pager::memtree::pte_map(), PTE_PRESENT, PTE_RO, PTE_SHMEM, PTE_USER, PTE_WRITEABLE, shmem_mapdone(), shmem_roall(), Memory::Shmem::shmem_s::sm, Memory::Shmem::shmem_t::super, sysfail, Memory::Shmem::shmem_s::tree i Memory::Shmem::shmem_s::virtaddr.
int Memory::Shmem::shmem_create | ( | struct shmem_t * | sh, | |
class Memory::Pager::memtree * | tree, | |||
uint32 | virtaddr, | |||
uint32 | size, | |||
bool | cow, | |||
bool | super | |||
) |
Definicja w linii 33 pliku shmem.cpp.
Odwołuje się do mmap_t::add(), blist_t::add(), Memory::Shmem::shmem_t::cnt, Memory::Shmem::shmem_s::cow, Memory::Shmem::shmem_t::cows, blist_s::data, EINVAL, ESUCCESS, Memory::Heap::heap0, Thread::i, blist_t::init(), Memory::Shmem::shmem_s::lgth, Memory::Shmem::shmem_t::li, ME_SHMEM, Memory::Pager::memtree::memory_map, memset(), NO_ALIGN, NULL, Memory::Shmem::shmem_s::offset, PAGE_SIZE, Memory::Shmem::shmem_t::pgs, Memory::Pager::memtree::pte_map(), PTE_PRESENT, PTE_SHMEM, PTE_USER, Memory::Pager::memtree::pte_val(), PTE_WRITEABLE, shmem_mapdone(), Memory::Shmem::shmem_t::size, Memory::Shmem::shmem_s::sm, Memory::Shmem::shmem_t::super, sysfail, Memory::Shmem::shmem_s::tree i Memory::Shmem::shmem_s::virtaddr.
int Memory::Shmem::shmem_map | ( | struct shmem_s * | sh | ) |
Definicja w linii 160 pliku shmem.cpp.
Odwołuje się do ESUCCESS, Memory::Shmem::shmem_s::lgth, NULL, PAGE_SIZE, Memory::Pager::memtree::pte_map(), PTE_SHMEM, PTE_USER, Memory::Shmem::shmem_s::sm, Memory::Shmem::shmem_t::super, Memory::Shmem::shmem_s::tree i Memory::Shmem::shmem_s::virtaddr.
Definicja w linii 89 pliku shmem.cpp.
Odwołuje się do notimpl.
Odwołania w shmem_attach() i shmem_create().
int Memory::Shmem::shmem_roall | ( | struct shmem_t * | sh | ) |
Definicja w linii 137 pliku shmem.cpp.
Odwołuje się do bli_dt, ESUCCESS, blist_t::head, Memory::Shmem::shmem_s::lgth, Memory::Shmem::shmem_t::li, blist_s::next, PAGE_SIZE, Memory::Pager::memtree::pte_map(), PTE_PRESENT, Memory::Pager::memtree::pte_val(), PTE_WRITEABLE, Memory::Shmem::shmem_s::tree i Memory::Shmem::shmem_s::virtaddr.
Odwołania w shmem_attach().