git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
7-ps2_keyboard.md and 8-multitasking.md (#29)
[lunaix-os.git]
/
lunaix-os
/
kernel
/
exe
/
exec.c
diff --git
a/lunaix-os/kernel/exe/exec.c
b/lunaix-os/kernel/exe/exec.c
index 9ab8ad70e886c83bb55c8008699e380d0fc782d7..6f2962e8048f947e3b6a056a963ba271fc060a37 100644
(file)
--- a/
lunaix-os/kernel/exe/exec.c
+++ b/
lunaix-os/kernel/exe/exec.c
@@
-120,7
+120,7
@@
exec_load(struct exec_container* container, struct v_file* executable)
if (!argv_extra[1]) {
// If loading a statically linked file, then heap remapping we can do,
// otherwise delayed.
if (!argv_extra[1]) {
// If loading a statically linked file, then heap remapping we can do,
// otherwise delayed.
- create_heap(vmspace(proc),
PG_ALIGN
(container->exe.end));
+ create_heap(vmspace(proc),
va_align
(container->exe.end));
}
if (container->vms_mnt == VMS_SELF) {
}
if (container->vms_mnt == VMS_SELF) {