| version 1.98, 2012/04/19 18:00:35 |
version 1.99, 2012/04/19 18:07:05 |
| Line 682 try586: /* Use the `cpuid' instruction. |
|
| Line 682 try586: /* Use the `cpuid' instruction. |
|
| */ |
*/ |
| movl %cr0,%eax # get control word |
movl %cr0,%eax # get control word |
| # enable paging & NPX emulation |
# enable paging & NPX emulation |
| orl $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_EM|CR0_MP|CR0_AM),%eax |
orl $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_EM|CR0_MP|CR0_WP|CR0_AM),%eax |
| movl %eax,%cr0 # and page NOW! |
movl %eax,%cr0 # and page NOW! |
| |
|
| pushl $begin # jump to high mem |
pushl $begin # jump to high mem |