diff options
Diffstat (limited to 'src/lib/prog_loaders.c')
-rw-r--r-- | src/lib/prog_loaders.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c index 38dfc2b5df..ecbc679f2a 100644 --- a/src/lib/prog_loaders.c +++ b/src/lib/prog_loaders.c @@ -30,7 +30,8 @@ #include <timestamp.h> /* Only can represent up to 1 byte less than size_t. */ -const struct mem_region_device addrspace_32bit = MEM_REGION_DEV_INIT(0, ~0UL); +const struct mem_region_device addrspace_32bit = + MEM_REGION_DEV_RO_INIT(0, ~0UL); int prog_locate(struct prog *prog) { |