search for: kernel_hbc

Displaying 5 results from an estimated 5 matches for "kernel_hbc".

2011 Nov 03
1
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...loy Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] LLVM JIT on a Baremetal x86 Machine !!! Hello James, I hope I will not be disturbing you too much. As I mentioned earlier, I am interested in unhosted (baremetal) x86 environment for LLVM JIT. Let me come to the point straight. I have set the KERNEL_HBC as: set(KERNEL_HBC "/altamaha/home3/hamayun/workspace/horizon/code-samples/hello_world.hbc") And Compiled the Horizon Sources. Compilation works fine and it creates the cd.img as you described on: http://www.quokforge.org/projects/horizon/wiki/Building See the attached "Horizon_Bui...
2011 Nov 08
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...returns a pointer to the 'Special File' that was created in 'InitialiseSpecialFiles': In file SpecialFile.cc, line:204, its defined as a special file: static SpecialModule modl("/module"); s_files[3] = &modl; Is this 'module' somehow related to 'KERNEL_HBC' that we specified earlier ? If yes then how I am getting the size of this special file to be zero, whereas the size of my 'hello_world.hbc' is 225 bytes. If no, then what is it ? Secondly You have mentioned on the Horizon wiki: "The build process will produce a version of horizo...
2011 Oct 26
3
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Dear All, I have tested a few examples of LLVM-JIT Framework on Linux x86 Machine. So generating functions on the fly and then executing them is OK on linux i.e. i686-pc-linux-gnu My question is: Can we use the LLVM-JIT on a baremetal x86 machine ? Actually my target is a virtual machine, and I need some dynamic code generation support. I intend to use LLVM-JIT (if possible) for this
2011 Nov 08
2
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...le passed in by the bootloader. Much like GRUB, kiwi's bootloader loads a kernel and can load one or more extra files into memory. These are passed to the kernel. The horizon kernel expects one file, which it makes accessible at "/module". This should be set up to be whatever you set KERNEL_HBC to be. Second question: The program is statically compiled on the host system against the host C and C++ libraries. Then, it is patched slightly to change linux syscall instructions to "int 0xff" instructions, which get trapped at runtime. At build time it reads your linux kernel header...
2011 Nov 09
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...in by the bootloader. Much like GRUB, kiwi's bootloader loads a kernel and can load one or more extra files into memory. These are passed to the kernel. > > The horizon kernel expects one file, which it makes accessible at "/module". This should be set up to be whatever you set KERNEL_HBC to be. > > Second question: The program is statically compiled on the host system against the host C and C++ libraries. Then, it is patched slightly to change linux syscall instructions to "int 0xff" instructions, which get trapped at runtime. > > At build time it reads your l...