search for: specialfile

Displaying 6 results from an estimated 6 matches for "specialfile".

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/work...
2011 Nov 08
2
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...In file init.cc, line:121 FILE *stream = fopen("/module", "rb"); ... 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 speci...
2011 Nov 08
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
...In file init.cc, line:121 FILE *stream = fopen("/module", "rb"); ... 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 speci...
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
2005 Oct 06
2
Mediatrix 1204 and Asterisk
Dear Group, I have my Asterisk box working with a Mediatrix 1204. I have 2 questions; 1) I do not seem to get a Call ID on the call coming via the Mediatrix 1204. I was wondering if anyone had this configured and if they could share this with me? 2) How do you route a call based on caller ID on Asterisk. At the moment I'm routing calls via DNIS. Thanks and Regards Shad Mortazavi
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