Re: newbie
"Stanislav" <[email protected]> Mon, 12 Aug 2013 18:35:16 +0300
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
Just add vapic.cc into project. Another thing: Is it possible to implement custom instructions lets say I have a custom CPU that has some extra instructions? Of course it is possible. You need to add a ‘CPU feature’ which enumerates these new instructions, decode it and implement function handler that executes it. It is quite simple. If you choose existing feature (like AES instructions) and look in the code how it is implemented – you will understand everything. Is it possible to trace the IP register as well as read address and destination address or it needs to be implemented for each instruction executed? Yes, read about Bochs instrumentation. Stanislav From: Herbei Dacian [mailto:[email protected]] Sent: Monday, August 12, 2013 5:59 PM To: [email protected] Subject: [Bochs-developers] newbie Hello All, I'm new to this but I want to implement an idea. I have some simple questions. I downloaded the sources for MS VS and converted them to 2010. (bochs-2.6.2-msvc-src.zip <http://sourceforge.net/projects/bochs/files/bochs/2.6.2/bochs-2.6.2-msvc-src.zip/download> ) When I linked I got several functions that miss implementation. BX_CPU_C::VMX_Deliver_Virtual_Interrupt(void) BX_CPU_C::VMX_Virtual_Apic_Access_Trap(void) BX_CPU_C::VMX_Virtual_Apic_Write(unsigned __int64,unsigned int,void *) BX_CPU_C::is_virtual_apic_page(unsigned __int64) BX_CPU_C::VMX_Virtual_Apic_Read(unsigned __int64,unsigned int,void *) BX_CPU_C::VMX_Read_Virtual_APIC(unsigned int) BX_CPU_C::VMX_Read_Virtual_APIC(unsigned int) BX_CPU_C::VMX_Read_Virtual_APIC(unsigned int) BX_CPU_C::VMX_TPR_Virtualization(void) BX_CPU_C::VMX_TPR_Virtualization(void) BX_CPU_C::Virtualize_X2APIC_Write(unsigned int,unsigned __int64) BX_CPU_C::VMX_Write_Virtual_APIC(unsigned int,unsigned int) I can't find them anywhere in the package. is this a know error? or I need to get a newer version of code? Another thing: Is it possible to implement custom instructions lets say I have a custom CPU that has some extra instructions? Is it possible to trace the IP register as well as read address and destination address or it needs to be implemented for each instruction executed? best regards, dacian ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers