VirtualBox

Changeset 397 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 28, 2007 2:34:06 AM (18 years ago)
Author:
vboxsync
Message:

Completed most of VBOX_WITHOUT_IDT_PATCHING. (hope I didn't break anything...) TODO: IST support on AMD64.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/trpm.h

    r346 r397  
    451451
    452452/**
     453 * Dispatches an interrupt that arrived while we were in the guest context.
     454 *
     455 * It's assumes we're invoked with interrupts disabled.
     456 * When this function returns, interrupts will be enabled.
     457 *
     458 * @param   pVM     The VM handle.
     459 */
     460TRPMR0DECL(void) TRPMR0DispatchHostInterrupt(PVM pVM);
     461
     462# ifndef VBOX_WITHOUT_IDT_PATCHING
     463
     464/**
    453465 * Changes the VMMR0Entry() call frame and stack used by the IDT patch code
    454466 * so that we'll dispatch an interrupt rather than returning directly to Ring-3
     
    460472TRPMR0DECL(void) TRPMR0SetupInterruptDispatcherFrame(PVM pVM, void *pvRet);
    461473
     474# endif /* !VBOX_WITHOUT_IDT_PATCHING */
     475
    462476/** @} */
    463477#endif
  • trunk/include/VBox/vmm.h

    r321 r397  
    345345{
    346346    /** Run guest context. */
    347     VMMR0_DO_RUN_GC = 0,
     347    VMMR0_DO_RAW_RUN = 0,
     348    VMMR0_DO_RUN_GC = VMMR0_DO_RAW_RUN,
    348349    /** Run guest code using the available hardware acceleration technology. */
    349     VMMR0_HWACC_RUN_GUEST,
     350    VMMR0_DO_HWACC_RUN,
    350351    /** Call VMMR0 Per VM Init. */
    351352    VMMR0_DO_VMMR0_INIT,
     
    353354    VMMR0_DO_VMMR0_TERM,
    354355    /** Setup the hardware accelerated raw-mode session. */
    355     VMMR0_HWACC_SETUP_VM,
     356    VMMR0_DO_HWACC_SETUP_VM,
    356357    /** Calls function in the hypervisor.
    357358     * The caller must setup the hypervisor context so the call will be performed.
     
    378379    VMMR0_DO_SRV_END,
    379380
     381    /** Official NOP that we use for profiling. */
     382    VMMR0_DO_NOP,
     383    /** Official call we use for testing Ring-0 APIs. */
     384    VMMR0_DO_TESTS,
     385
    380386    /** The usual 32-bit type blow up. */
    381387    VMMR0_DO_32BIT_HACK = 0x7fffffff
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette