Ronald G. Minnich
|
b377471ab9
Remove fstart, and use the program header instead.
|
před 9 roky |
Ronald G. Minnich
|
0f62a8b2f1
Set the program headers into text and data segments.
|
před 9 roky |
Ronald G. Minnich
|
3bddf8b6e3
Expose the ExecHdr to execac
|
před 9 roky |
Ronald G. Minnich
|
c87ec11579
First pass on getting ELF support in: add a PorgHdr element to the Segment
|
před 9 roky |
Ronald G. Minnich
|
ee95c1ea71
Crack the header and attach the info to the Image struct.
|
před 9 roky |
Elbing Miss
|
cb98344d76
So time to read it all in, or create the maps at least. Explodes in step 14, so map is loaded.
|
před 9 roky |
Elbing Miss
|
cefd4e49f7
Correct ramfs, but too big. No factotum/ipconfig for now if we want to boot./BUILDKLIB I have no hexdump so it's undefined at linking timeto me: commented out.
|
před 9 roky |
Ronald G. Minnich
|
81e5d1ad8b
add a comment about what happens next.
|
před 9 roky |
Ronald G. Minnich
|
fb86a5c3eb
Comment out bogus cclose in chanseek()
|
před 9 roky |
Ronald G. Minnich
|
7661935e93
Get toward more correct setup of the ramfs
|
před 9 roky |
Ronald G. Minnich
|
d1716de26e
Use the right pointer for the file name.
|
před 9 roky |
Elbing Miss
|
8b31700be7
Some tracing more, nb in crackhdr still is always 0, but namec is not nil ¿?.
|
před 9 roky |
Elbing Miss
|
6242febb51
Some tracing, nb in crackhdr is always 0, then never check the magic.
|
před 9 roky |
Elbing Miss
|
1f2c2d6d04
Remove readn, using read from dev.
|
před 9 roky |
Elbing Miss
|
7be2bf6d7a
Desperated: it looks exactly as libmach except readn/read replacing. No idea.
|
před 9 roky |
Elbing Miss
|
9ac5ddf8fe
Stupid! it's not trying to execute anything, just reading headers...
|
před 9 roky |
Elbing Miss
|
af1212c85d
Just git hates me. Restonring Ron's namec arg.
|
před 9 roky |
Elbing Miss
|
65e4507910
Restoring free().
|
před 9 roky |
Elbing Miss
|
398090a7fc
Changing namec to OEXEC instead of OREAD (from rebootcmd), but 'Panic: cpu0: malloc: corrupt allocation arena.'
|
před 9 roky |
Elbing Miss
|
8d98f55f51
Fix warnings and types, same fd error.
|
před 9 roky |
Elbing Miss
|
a892993b72
Adding ELF Magic, third iteration. fd out of range or not open :(
|
před 9 roky |
Ronald G. Minnich
|
82f79302ce
Add missing poperror() to machexec.
|
před 9 roky |
Ronald G. Minnich
|
6f3c93516d
protoypte machexec
|
před 9 roky |
Ronald G. Minnich
|
5aeb84ffdb
Add in hook for the new mach-based exec.
|
před 9 roky |
Ronald G. Minnich
|
038973c43a
Get it all building again without warnings. It boots.
|
před 9 roky |
Elbing Miss
|
1599d8ecf2
Destroying sysproc.c blind
|
před 9 roky |
Elbing Miss
|
606449faa4
Adding ELF Magic, second iteration. Error in sysproc line 400 :(
|
před 9 roky |
Elbing Miss
|
b01a8bc21a
Adding ELF Magic, first iteration.
|
před 9 roky |
Elbing Miss
|
74fc8cc66b
Fix varargs in sys* files
|
před 9 roky |
Ronald G. Minnich
|
d2d25272a0
Remove file scope use of Mach *m in port
|
před 9 roky |