summaryrefslogtreecommitdiff
path: root/viengoos/viengoos.c
diff options
context:
space:
mode:
authorneal <neal>2008-02-11 14:33:40 +0000
committerneal <neal>2008-02-11 14:33:40 +0000
commit30ee58ecebff1fe1e8b7a77f7c9bb7b113e19315 (patch)
treee335c0d3cc04f3078b2ed4d43302b5499e4fe6f3 /viengoos/viengoos.c
parent3d06ed18133d1bd58d536a6f94eb4973aa501e32 (diff)
libc-parts/
2008-02-11 Neal H. Walfield <neal@gnu.org> * loader.h (loader_allocate_object_callback_t): Add parameter ro. * loader.c (loader_elf_load): When calling ALLOC, pass whether or not the page should be mapped read-only to the callback. viengoos/ 2008-02-11 Neal H. Walfield <neal@gnu.org> * viengoos.c (system_task_load.alloc): Update alloc callback function to take additional parameter ro to be consistent with the updated API.
Diffstat (limited to 'viengoos/viengoos.c')
-rw-r--r--viengoos/viengoos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/viengoos/viengoos.c b/viengoos/viengoos.c
index ae27128..57412c3 100644
--- a/viengoos/viengoos.c
+++ b/viengoos/viengoos.c
@@ -362,7 +362,7 @@ system_task_load (void)
/* Load the binary. */
{
- void *alloc (uintptr_t ptr)
+ void *alloc (uintptr_t ptr, bool ro)
{
addr_t addr = addr_chop (PTR_TO_ADDR (ptr), PAGESIZE_LOG2);