Rev 285 | Rev 300 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 285 | Rev 298 | ||
---|---|---|---|
Line 215... | Line 215... | ||
215 | movl %ecx, %cr4 # turn PSE on |
215 | movl %ecx, %cr4 # turn PSE on |
216 | 216 | ||
217 | movl $((1<<7)|(1<<0)), %eax |
217 | movl $((1<<7)|(1<<0)), %eax |
218 | movl %eax, page_directory # mapping 0x00000000 => 0x00000000 |
218 | movl %eax, page_directory # mapping 0x00000000 => 0x00000000 |
219 | 219 | ||
220 | movl $(page_directory+(4096/2)), %edx |
220 | movl $(page_directory+2048), %edx |
221 | movl %eax, (%edx) # mapping 0x80000000 => 0x00000000 |
221 | movl %eax, (%edx) # mapping 0x80000000 => 0x00000000 |
222 | 222 | ||
223 | leal page_directory, %eax |
223 | leal page_directory, %eax |
224 | movl %eax, %cr3 |
224 | movl %eax, %cr3 |
225 | 225 |