Differences From Artifact [0011a847e1]:
- File mod/kmem/lina.fn.c — part of check-in [269baab90a] at 2019-08-22 08:45:23 on branch trunk — check in missing files (user: lexi, size: 712) [annotate] [blame] [check-ins using]
To Artifact [5feb3edaf1]:
- File mod/kmem/lina.fn.c — part of check-in [e42b590b45] at 2019-08-24 23:02:13 on branch trunk — stop attempting to auto-detect system constants during build process, and maintain os/arch-specific tables instead (user: lexi, size: 706) [annotate] [blame] [check-ins using]
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
* this memory simply by growing the heap the proper
* length. */
#include <k/mem.h>
#include <k/def.h>
#ifdef KFenv_posix
# include <posix/posix.h>
#endif
kmres kmlina(sz size) {
k_platform_syscall_arg
top = (sz)kmlini(),
newbrk = top + size;
|
| |
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
* this memory simply by growing the heap the proper
* length. */
#include <k/mem.h>
#include <k/def.h>
#ifdef KFenv_posix
# include <posix.h>
#endif
kmres kmlina(sz size) {
k_platform_syscall_arg
top = (sz)kmlini(),
newbrk = top + size;
|