MCPcopy Create free account
hub / github.com/LongSoft/UEFITool / calculateRegionOffset

Function calculateRegionOffset

descriptor.cpp:30–33  ·  view source on GitHub ↗

Calculate offset of region using its base

Source from the content-addressed store, hash-verified

28
29// Calculate offset of region using its base
30UINT32 calculateRegionOffset(const UINT16 base)
31{
32 return base * 0x1000;
33}
34
35//Calculate size of region using its base and limit
36UINT32 calculateRegionSize(const UINT16 base, const UINT16 limit)

Callers 2

parseIntelImageMethod · 0.85
reconstructIntelImageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected