This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
cosmopolitan
Watch
1
Star
0
Fork
You've already forked cosmopolitan
0
mirror of
https://github.com/jart/cosmopolitan.git
synced
2025-02-07 23:13:34 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
2b73e72d59
cosmopolitan
/
libc
/
sysv
/
calls
/
__sys_mmap.S
3 lines
89 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
Make more code aarch64 friendly
2023-05-02 20:38:16 +00:00
#
include
"
l
i
b
c
/
s
y
s
v
/
m
a
c
r
o
s
.
i
n
t
e
r
n
a
l
.
h
"
Support malloc() on bare metal Your Actually Portable Executables now contains a simple virtual memory that works similarly to the Linux Kernel in the sense that it maps your physical memory to negative addresses. This is needed to support mmap() and malloc(). This functionality has zero code size impact. For example the MODE=tiny LIFE.COM executable is still only 12KB in size. The APE bootloader code has also been simplified to improve readibility and further elevate the elegance by which we're able to support so many platforms thereby enhancing verifiability so that we may engender trust in this bootloading process.
2021-02-24 04:23:19 +00:00
.scall
_
_
sys
_
m
m
a
p
,
0
x0
c50
c51
d
d20
c50
0
9
,
g
l
o
b
l
,
h
i
d
d
e
n
Reference in a new issue
Copy permalink