PPCSPE: Save/restore cr2, cr3 and cr4 when entering/leaving VM.

This commit is contained in:
Mike Pall
2011-08-10 22:09:14 +02:00
parent d84207b8b6
commit e8fa76feac
5 changed files with 383 additions and 367 deletions

View File

@@ -115,7 +115,7 @@ enum {
#define CFRAME_OFS_L 16
#define CFRAME_OFS_PC 12
#define CFRAME_OFS_MULTRES 8
#define CFRAME_SIZE 176
#define CFRAME_SIZE 184
#define CFRAME_SHIFT_MULTRES 3
#else
#error "Missing CFRAME_* definitions for this architecture"