You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refine hard-coded memory layout for system emulation
During the enhancement of guestOS to run SDL-based applications like
Doom, the Doom artifacts (DOOM1.wad) occupy 4.0MiB, and the default
rootfs.cpio also uses 4.0MiB, totaling 8MiB. When additional
applications are added to rootfs.cpio, the hard-coded 8MiB limit for
rootfs.cpio in map_file becomes insufficient. This commit refines the
hard-coded memory layout variables and makes them configurable during
the build.
The user can now define MEM_SIZE, DTB_SIZE, and INITRD_SIZE in MiB,
while other memory offsets are calculated dynamically based on these
values.
Related: #510
0 commit comments