Lines Matching defs:cr0

400             CR0 cr0 = 0;
401 cr0.pg = 1; // Turn on paging.
402 cr0.cd = 0; // Don't disable caching.
403 cr0.nw = 0; // This is bit is defined to be ignored.
404 cr0.am = 1; // No alignment checking
405 cr0.wp = 1; // Supervisor mode can write read only pages
406 cr0.ne = 1;
407 cr0.et = 1; // This should always be 1
408 cr0.ts = 0; // We don't do task switching, so causing fp exceptions
410 cr0.em = 0; // Allow x87 instructions to execute natively.
411 cr0.mp = 1; // This doesn't really matter, but the manual suggests
413 cr0.pe = 1; // We're definitely in protected mode.
414 tc->setMiscReg(MISCREG_CR0, cr0);
617 CR0 cr0 = 0;
618 cr0.pg = 1; // Turn on paging.
619 cr0.cd = 0; // Don't disable caching.
620 cr0.nw = 0; // This is bit is defined to be ignored.
621 cr0.am = 0; // No alignment checking
622 cr0.wp = 0; // Supervisor mode can write read only pages
623 cr0.ne = 1;
624 cr0.et = 1; // This should always be 1
625 cr0.ts = 0; // We don't do task switching, so causing fp exceptions
627 cr0.em = 0; // Allow x87 instructions to execute natively.
628 cr0.mp = 1; // This doesn't really matter, but the manual suggests
630 cr0.pe = 1; // We're definitely in protected mode.
631 tc->setMiscReg(MISCREG_CR0, cr0);
737 CR0 cr0 = 0;
738 cr0.pg = 1; // Turn on paging.
739 cr0.cd = 0; // Don't disable caching.
740 cr0.nw = 0; // This is bit is defined to be ignored.
741 cr0.am = 0; // No alignment checking
742 cr0.wp = 0; // Supervisor mode can write read only pages
743 cr0.ne = 1;
744 cr0.et = 1; // This should always be 1
745 cr0.ts = 0; // We don't do task switching, so causing fp exceptions
747 cr0.em = 0; // Allow x87 instructions to execute natively.
748 cr0.mp = 1; // This doesn't really matter, but the manual suggests
750 cr0.pe = 1; // We're definitely in protected mode.
751 tc->setMiscReg(MISCREG_CR0, cr0);