Changeset 42486 in vbox
- Timestamp:
- Jul 31, 2012 4:14:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r42475 r42486 1493 1493 pCtx->cs.Attr.n.u1DescType = 1; /* code/data segment */ 1494 1494 pCtx->cs.Attr.n.u1Present = 1; 1495 pCtx->cs.Attr.n.u4Type = X86_SEL_TYPE_ READ | X86_SEL_TYPE_CODE;1495 pCtx->cs.Attr.n.u4Type = X86_SEL_TYPE_ER_ACC; 1496 1496 1497 1497 pCtx->ds.fFlags = CPUMSELREG_FLAGS_VALID; … … 1499 1499 pCtx->ds.Attr.n.u1DescType = 1; /* code/data segment */ 1500 1500 pCtx->ds.Attr.n.u1Present = 1; 1501 pCtx->ds.Attr.n.u4Type = X86_SEL_TYPE_RW ;1501 pCtx->ds.Attr.n.u4Type = X86_SEL_TYPE_RW_ACC; 1502 1502 1503 1503 pCtx->es.fFlags = CPUMSELREG_FLAGS_VALID; … … 1505 1505 pCtx->es.Attr.n.u1DescType = 1; /* code/data segment */ 1506 1506 pCtx->es.Attr.n.u1Present = 1; 1507 pCtx->es.Attr.n.u4Type = X86_SEL_TYPE_RW ;1507 pCtx->es.Attr.n.u4Type = X86_SEL_TYPE_RW_ACC; 1508 1508 1509 1509 pCtx->fs.fFlags = CPUMSELREG_FLAGS_VALID; … … 1511 1511 pCtx->fs.Attr.n.u1DescType = 1; /* code/data segment */ 1512 1512 pCtx->fs.Attr.n.u1Present = 1; 1513 pCtx->fs.Attr.n.u4Type = X86_SEL_TYPE_RW ;1513 pCtx->fs.Attr.n.u4Type = X86_SEL_TYPE_RW_ACC; 1514 1514 1515 1515 pCtx->gs.fFlags = CPUMSELREG_FLAGS_VALID; … … 1517 1517 pCtx->gs.Attr.n.u1DescType = 1; /* code/data segment */ 1518 1518 pCtx->gs.Attr.n.u1Present = 1; 1519 pCtx->gs.Attr.n.u4Type = X86_SEL_TYPE_RW ;1519 pCtx->gs.Attr.n.u4Type = X86_SEL_TYPE_RW_ACC; 1520 1520 1521 1521 pCtx->ss.fFlags = CPUMSELREG_FLAGS_VALID; … … 1523 1523 pCtx->ss.Attr.n.u1Present = 1; 1524 1524 pCtx->ss.Attr.n.u1DescType = 1; /* code/data segment */ 1525 pCtx->ss.Attr.n.u4Type = X86_SEL_TYPE_RW ;1525 pCtx->ss.Attr.n.u4Type = X86_SEL_TYPE_RW_ACC; 1526 1526 1527 1527 pCtx->idtr.cbIdt = 0xffff;
Note:
See TracChangeset
for help on using the changeset viewer.