Added placeholders for type casts
This commit is contained in:
parent
bbf2970c4e
commit
ae6530aadb
19 changed files with 61 additions and 42 deletions
|
@ -12,10 +12,8 @@ const clone {
|
|||
}
|
||||
|
||||
create(func *any) -> int {
|
||||
size := 4096
|
||||
stack := sys.mmap(0, size, 0x1|0x2, 0x02|0x20|0x100|0x20000)
|
||||
stack += size
|
||||
stack -= 8
|
||||
stack := sys.mmap(0, 4096, 0x1|0x2, 0x02|0x20|0x100)
|
||||
stack += 4096 - 8
|
||||
store(stack, 8, core.exit)
|
||||
stack -= 8
|
||||
store(stack, 8, func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue