search for: specialmodule

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

2011 Nov 09
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi James, Thanks again for bearing with me, you have been very helpful. I have got the problem fixed. In fact I needed to override the 'LSeek' implementation of SpecialFile in SpecialModule class as well. The log for the working example is attached, just as a reference. Now one more thing, when the build system creates the ISO9660 CD-ROM Image, it executes the following commands: mkdir -p /tmp/hzn/boot mkdir -p /tmp/hzn/kiwi/modules cp /altamaha/home3/hamayun/workspace/horizon/hor...
2011 Nov 08
2
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...... fread(c, 1, sz, stream); ... Bytecoder bc(std::cout, c, sz, &errors); ... The Open SysCall 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 wha...
2011 Nov 08
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...... fread(c, 1, sz, stream); ... Bytecoder bc(std::cout, c, sz, &errors); ... The Open SysCall 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 wh...
2011 Nov 03
1
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi Mian, Looking at the runlog, everything seems fine until LLVM attempts to use lseek() on a file. You see the PANIC because Horizon hasn't implemented lseek yet. Obviously the version of GlibC I was using does not use lseek in that circumstance, but yours does. You just need to implement lseek :) Cheers, James -----Original Message----- From: Mian M. Hamayun
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