VirtualBox

Ignore:
Timestamp:
May 21, 2015 5:04:14 PM (10 years ago)
Author:
vboxsync
Message:

PGM: Made the virtual handler callbacks return VBOXSTRICTRC and prepared for RC execution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/TRPMInternal.h

    r55895 r56013  
    2525#include <VBox/vmm/pgm.h>
    2626
    27 
    28 
    29 /** Enable to allow trap forwarding in GC. */
    30 #ifdef VBOX_WITH_RAW_MODE
    31 # define TRPM_FORWARD_TRAPS_IN_GC
    32 #endif
    33 
    34 /** First interrupt handler. Used for validating input. */
    35 #define TRPM_HANDLER_INT_BASE  0x20
    36 
    3727RT_C_DECLS_BEGIN
    3828
     
    4333 * @{
    4434 */
     35
     36
     37#ifdef VBOX_WITH_RAW_MODE
     38/** Enable or disable tracking of Guest's IDT. */
     39# define TRPM_TRACK_GUEST_IDT_CHANGES
     40/** Enable or disable tracking of Shadow IDT. */
     41# define TRPM_TRACK_SHADOW_IDT_CHANGES
     42#endif
     43
     44
     45/** Enable to allow trap forwarding in GC. */
     46#ifdef VBOX_WITH_RAW_MODE
     47# define TRPM_FORWARD_TRAPS_IN_GC
     48#endif
     49
     50/** First interrupt handler. Used for validating input. */
     51#define TRPM_HANDLER_INT_BASE  0x20
     52
    4553
    4654/** @name   TRPMGCTrapIn* flags.
     
    249257
    250258
    251 DECLEXPORT(FNPGMRCVIRTPFHANDLER) trpmRCGuestIDTWritePfHandler;
    252 DECLEXPORT(FNPGMRCVIRTPFHANDLER) trpmRCShadowIDTWritePfHandler;
     259PGM_ALL_CB2_DECL(FNPGMVIRTHANDLER)  trpmGuestIDTWriteHandler;
     260DECLEXPORT(FNPGMRCVIRTPFHANDLER)    trpmRCGuestIDTWritePfHandler;
     261DECLEXPORT(FNPGMRCVIRTPFHANDLER)    trpmRCShadowIDTWritePfHandler;
    253262
    254263/**
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