|
| DummySegment (uint32_t total_length, unsigned access=TYPE_DATA, unsigned flags=0) |
|
void | SetTotalSize (uint32_t new_value) override |
| Modifies the total size of the segment, including the bss. Note that this is not guaranteed to work for all segment types.
|
|
uint32_t | GetSize (BWFormat &bw) override |
| Retrieves size of segment. Some subclasses might calculate this dynamically.
|
|
void | WriteContent (Linker::Writer &wr, BWFormat &bw) override |
| Produces the binary contents of the segment.
|
|
| AbstractSegment (unsigned access=TYPE_DATA, unsigned flags=0, uint32_t total_length=0) |
|
uint32_t | GetTotalSize () |
| Retrieves the total size of the segment, including the bss.
|
|
void | WriteHeader (Linker::Writer &wr, BWFormat &bw) |
| Produces the GDT entry for the header.
|
|
|
enum | access_type { TYPE_DATA = 0x92
, TYPE_CODE = 0x9A
} |
|
enum | flag_type { FLAG_EMPTY = 0x2000
, FLAG_TRANSPARENT = 0x8000
} |
|
access_type | access |
|
flag_type | flags |
|
uint32_t | address = 0 |
|
uint32_t | total_length |
|
◆ GetSize()
uint32_t BWFormat::DummySegment::GetSize |
( |
BWFormat & | bw | ) |
|
|
overridevirtual |
◆ SetTotalSize()
void BWFormat::DummySegment::SetTotalSize |
( |
uint32_t | new_value | ) |
|
|
overridevirtual |
Modifies the total size of the segment, including the bss. Note that this is not guaranteed to work for all segment types.
Reimplemented from DOS16M::BWFormat::AbstractSegment.
◆ WriteContent()
The documentation for this class was generated from the following files:
- src/format/bwexp.h
- src/format/bwexp.cc