OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MemoryArea
(Results
1 - 2
of
2
) sorted by null
/frameworks/compile/mclinker/lib/Support/
MemoryArea.cpp
1
//===-
MemoryArea
.cpp -----------------------------------------------------===//
13
#include <mcld/Support/
MemoryArea
.h>
25
//
MemoryArea
26
MemoryArea
::
MemoryArea
(RegionFactory& pRegionFactory)
34
MemoryArea
::~
MemoryArea
()
43
void
MemoryArea
::truncate(size_t pLength)
57
void
MemoryArea
::map(const sys::fs::Path& pPath, int pFlags)
81
void
MemoryArea
::map(const sys::fs::Path& pPath, int pFlags, int pMode
[
all
...]
/frameworks/compile/mclinker/include/mcld/Support/
MemoryArea.h
1
//===-
MemoryArea
.h -------------------------------------------------------===//
37
/** \class
MemoryArea
38
* \brief
MemoryArea
is used to manage distinct MemoryRegions of address space.
41
* In MCLinker,
MemoryArea
is the decision-maker to use memory mapped I/O or
42
* dynamic memory. When a client requests
MemoryArea
for a piece of memory
43
* to hold a part of a file,
MemoryArea
is going to see whether the requested
45
* before. If it is,
MemoryArea
creates a new MemoryRegion within the memory
46
* requested before. Otherwise,
MemoryArea
uses memory mapped I/O or dynamic
49
* If the part a file being loaded is larger than 3/4 pages,
MemoryArea
uses
50
* memory mapped I/O to load the file. Otherwise,
MemoryArea
uses dynami
[
all
...]
Completed in 81 milliseconds