gather information about module.. again
This commit is contained in:
@@ -14,6 +14,11 @@ typedef enum {
|
||||
HI_MEMORY_PRIVATE = 1 << 4
|
||||
} MemoryPermissions;
|
||||
|
||||
typedef struct {
|
||||
uptr region_start;
|
||||
uptr region_end;
|
||||
} MemoryRegionSpan;
|
||||
|
||||
typedef struct {
|
||||
uptr region_start;
|
||||
uptr region_end;
|
||||
@@ -34,4 +39,7 @@ HiloadResult memory_find_pointer(uptr ptr,
|
||||
struct sc_array_memreg *const regions,
|
||||
size_t *index);
|
||||
|
||||
MemoryRegionSpan memory_get_module_span(const struct sc_array_memreg *const regions,
|
||||
const char module_name[static 1]);
|
||||
|
||||
#endif // MEMORY_H_
|
||||
|
||||
Reference in New Issue
Block a user