mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
12 lines
598 B
Diff
12 lines
598 B
Diff
--- fiasco/snapshot/l4/pkg/bootstrap/server/src/startup.cc 2014-04-07 11:55:10.811087853 +0200
|
|
--- fiasco/snapshot/l4/pkg/bootstrap/server/src/startup.cc 2014-04-07 11:56:24.891089205 +0200
|
|
@@ -289,7 +289,7 @@
|
|
|
|
printf(" move modules to %lx with offset %lx\n", modaddr, offset);
|
|
|
|
- for (i = dir; i != mbi->mods_count - dir ; offset > 0 ? i-- : i++)
|
|
+ for (i = dir; offset > 0 ? i != 0 : i <= mbi->mods_count ; offset > 0 ? i-- : i++)
|
|
{
|
|
unsigned long start = (L4_MB_MOD_PTR(mbi->mods_addr))[i-1].mod_start;
|
|
unsigned long end = (L4_MB_MOD_PTR(mbi->mods_addr))[i-1].mod_end;
|