- Dec 27, 2012
-
-
Dor Laor authored
* 'master' of github.com:/avikivity/osv: runtime: implement sysconf() elf: add lazy dynamic resolution of functions x64: extract cfi macros into a new file build: autodependencies for assembly build: move entry.s to arch/x64/ elf: lazy relocate the PLT GOT scripts: add connect command to gdb script mmu: use page alloctor instead of malloc() memory: implement a real malloc/free set build: fix init_array priority (again) init: move static constructor initialization to before main() build: correct SORT_BY_INIT_PRIORITY syntax build: sort init_array sections scripts: run.sh: don't forget to enable kvm scripts: add run.sh with simple command line for debugging scripts: add gdb script for loading libjvm.so symbol table entry: pop error code before returning from exception entry: fix exception frame debug information build: link in debug sections build: run assmebler with debug output Conflicts: Makefile
-
Dor Laor authored
-
Dor Laor authored
-
Dor Laor authored
-
Avi Kivity authored
-
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
-