Ronald G. Minnich
|
1b8fa2ccab
Sleep: partially undo the change of sleep to use awake (Fixes go runtime test hangs)
|
8 years ago |
Ronald G. Minnich
|
3d2839d65d
de-anonymize more port port
|
9 years ago |
Ronald G. Minnich
|
f545251f72
de-anonymizing: the big one: portdat.h
|
9 years ago |
Aki Nyrhinen
|
8428ebaabc
Getting rid of machp() accesses with interrupts enabled, most of them beningn, some of them dubious.
|
9 years ago |
Aki Nyrhinen
|
b7d5de8f65
externup(): an interrupt-safe machp()->externup accessor.
|
9 years ago |
Ronald G. Minnich
|
59b7e91f1e
Get rid of commented-out Proc *up = etc. that are not needed
|
9 years ago |
Ronald G. Minnich
|
9620ff8144
Comment out unused 'up' variables
|
9 years ago |
Ronald G. Minnich
|
23298ed0ad
End use of m->externup everywhere.
|
9 years ago |
Aki Nyrhinen
|
0f2a855029
New demand loading scheme and segment setup,
|
9 years ago |
Aki Nyrhinen
|
56927a4c69
(WIP): elf takeover part 1: get rid of SSEG/TSEG/DSEG/BSEG/HSEG.
|
9 years ago |
Aki Nyrhinen
|
5a6cd011f3
go port: disable mmap segment, extend text segment to the start of data segment. this is a hack for go, which puts in a separate rodata segment, ignored by our parser currently.
|
9 years ago |
Aki Nyrhinen
|
0df1079643
Merge "harvey changes for the go port (wip, just like the go port) - changes to exec() to put data segment where the elf header wants it - thread local storage + regression test to go with. - /proc/$pid/tls interface still wip."
|
9 years ago |
Ronald G. Minnich
|
99dcd91b84
Remove unused arguments from sysexecregs
|
9 years ago |
Ronald G. Minnich
|
10022b5b3e
Change exec args setup so binaries are compatible with the ABI and linux
|
9 years ago |
Aki Nyrhinen
|
262290b350
harvey changes for the go port (wip, just like the go port)
|
9 years ago |
Elbing
|
50a79bd48a
Hiding mmap traces for now.
|
9 years ago |
Ronald G. Minnich
|
d67c9499ed
mmap: set up queues and such to support mmap requests.
|
9 years ago |
Elbing
|
cd442372bb
Some fixes but in fact, all running as usual.
|
9 years ago |
Ronald G. Minnich
|
a0efc2f68b
Remove debug prints from fault and rfork paths.
|
9 years ago |
Ronald G. Minnich
|
cd86f681b2
Debugging snapshot for sysrforkret showing a few techniques
|
9 years ago |
Ronald G. Minnich
|
c3bc8450d6
not sure this is right but it gets us further.
|
9 years ago |
Ronald G. Minnich
|
8625f1409c
Disable stackok() check for now. Don't ready the child in Rfork.
|
9 years ago |
Ronald G. Minnich
|
dbd1ff86c6
Move the third parameter from %rcx to %r10
|
9 years ago |
Ronald G. Minnich
|
32477da317
Fix the binary size problem.
|
9 years ago |
Ronald G. Minnich
|
64626a560e
Fix TOS so it has the right value.
|
9 years ago |
Ronald G. Minnich
|
a7c0a1074f
Pass tos to sysexecregs so it can be loaded as the 3rd arg
|
9 years ago |
Ronald G. Minnich
|
c819245540
This fixes the problem with argv being bogus.
|
9 years ago |
Elbing
|
a3cde4b9f8
Fix more varargs along all the sources.
|
9 years ago |
Ronald G. Minnich
|
4d32e416d5
Redo things to make the user process get the right args
|
9 years ago |
Ronald G. Minnich
|
d029cf63b1
Add missing elf.h and remove flen
|
9 years ago |