- Dec 27, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
It's as arch-specific as they come.
-
Avi Kivity authored
Instead of looking up the actual symbols, adjust the existing entry to point back at the PLT. This will later case the stub at the first three entries of the PLT to get called with the symbol index on the stack, for run-time resolution.
-
- Dec 26, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
much more efficient.
-
Avi Kivity authored
This implementation stores small objects in pools of similar-sized objects, while large objects are allocated using a first-fit algorithm. There is also a specialized interface for allocating aligned pages.
-
Avi Kivity authored
-
Avi Kivity authored
Doesn't really affect anything, but it is cleaner.
-
Avi Kivity authored
-
Avi Kivity authored
This lets use _attribute__((init_priority)) to control static constructor order, useful for configuring interdependent global services.
-
- Dec 25, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
More elf/debug work. Conflicts: Makefile
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Dor Laor authored
Add serial console * 'master' of github.com:/avikivity/osv: boot: initialize .bss loader: create a JVM loader: run an initialization function in libjvm.so elf: perform relocations on looked-up symbols elf: rename dynamic tag lookkup to dynamic_tag() elf: add lookup function to get a fully typed function elf: load program as an object, not via a function runtime: define environ pthread: add pthread_{getspecific,setspecific,key_create} mutex: stub implementation elf: dump name of symbol which we failed to look up runtime: define 'timezone' elf: core provides libdl.so functions Conflicts: Makefile
-
- Dec 24, 2012
-
-
Avi Kivity authored
Previously, the boot code assumed (by omission) that memory is initialized to zero. Apparently that is not the case, and this caused memory to become corrupted. Initialize .bss to zero to fix.
-
Dor Laor authored
-
Dor Laor authored
At the moment it can only print to the console.
-
Dor Laor authored
-
Dor Laor authored
order to reach includes files for within the hirarchy.
-
Dor Laor authored
-
Avi Kivity authored
Not working yet.
-
Avi Kivity authored
-
Avi Kivity authored
Otherwise, we use the unrelocated virtual address, which points nowhere.
-
Avi Kivity authored
lookup() is too similar to symbol lookup
-
- Dec 23, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
The 'program' object allows us to later resolve symbols (aka dlopen()/dlsym()).
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
No threading yet, so no real locking
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
Don't load it from the glibc library.
-
Avi Kivity authored
-