Re: [edk2] OVMF hang after application terminates

2013-04-17 Thread Duane Voth
Joe, see the series of posts with subject "[edk2] using gdb on OVMF with symbols" for my issues with gdb+qemu+symbols. No qemu doesn't hang, the app seems to hang (because I don't get a shell prompt back). I can break in with gdb (ctrl-c) and see the machine language looping on the COM1 data avai

Re: [edk2] Floating-point and Double Operation in edk2

2013-04-17 Thread Andrew Fish
Jeffery, The StdLib is an extension of the edk2 environment so I think the simplest thing for you to do is the following. Add a new file to your project that contains the CLib entry point and includes. In this file also place the math functions you need wrapped in your own C functions. Update y

Re: [edk2] Floating-point and Double Operation in edk2

2013-04-17 Thread Jeffrey Chou
Thanks Andrew. It seems that I have to try converting my application to a StdLib application, maybe it's another topic. I think most of logic and flows in my code should be converted to meet StdLib without any trouble, but several of UEFI calling conventions that I have no idea to transfer, also I'