VirtualBox

Changeset 4722

Show
Ignore:
Timestamp:
09/12/07 11:30:40 (1 year ago)
Author:
vboxsync
Message:

VINF_EM_NO_MEMORY.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/err.h

    r4077 r4722  
    112112 * start executing. */ 
    113113#define VINF_EM_RESUME                      1112 
     114/** Indicating that we've got an out-of-memory condition and that we need 
     115 * to take the appropriate actions to deal with this.  
     116 * @remarks It might seem odd at first that this has lower priority than VINF_EM_HALT,  
     117 *          VINF_EM_SUSPEND, and VINF_EM_RESUME. The reason is that these events are 
     118 *          vital to correctly operating the VM. Also, they can't normally occur together 
     119 *          with an out-of-memory condition, and even if that should happen the condition 
     120 *          will be rediscovered before executing any more code. */ 
     121#define VINF_EM_NO_MEMORY                   1113 
     122/** The fatal variant of VINF_EM_NO_MEMORY. */ 
     123#define VERR_EM_NO_MEMORY                   (-1113) 
    114124/** Indicating that a rescheduling to recompiled execution. 
    115125 * Typically caused by raw-mode executing code which is difficult/slow 
    116126 * to virtualize rawly. 
    117  * @note important to have a higher priority (lower number) than VINF_EM_RESCHEDULE 
    118  *       and VINF_EM_RESCHEDULE_RAW 
    119  */ 
     127 * @remarks Important to have a higher priority (lower number) than the other rescheduling status codes. */ 
    120128#define VINF_EM_RESCHEDULE_REM              1114 
    121129/** Indicating that a rescheduling to vmx-mode execution. 
    122  * Typically caused by REM detecting that hardware-accelerated raw-mode execution is possible. 
    123  */ 
     130 * Typically caused by REM detecting that hardware-accelerated raw-mode execution is possible. */ 
    124131#define VINF_EM_RESCHEDULE_HWACC            1115 
    125132/** Indicating that a rescheduling to raw-mode execution. 
    126133 * Typically caused by REM detecting that raw-mode execution is possible. 
    127  * @note important to have a higher priority (lower number) than VINF_EM_RESCHEDULE 
    128  *       and VINF_EM_RESCHEDULE_RAW 
    129  */ 
     134 * @remarks Important to have a higher priority (lower number) than VINF_EM_RESCHEDULE. */ 
    130135#define VINF_EM_RESCHEDULE_RAW              1116 
    131136/** Indicating that a rescheduling now is required. Typically caused by 
     
    133138#define VINF_EM_RESCHEDULE                  1117 
    134139/** Last scheduling related status code. (inclusive) */ 
    135 #define VINF_EM_LAST                        1118 
     140#define VINF_EM_LAST                        1117 
    136141 
    137142/** Reason for leaving GC: Guest trap which couldn't be handled in GC. 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy