daily pastebin goal
66%
SHARE
TWEET

xv6-entry.S

a guest Aug 16th, 2013 33 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   movl    %cr4, %eax
  2.   orl     $(CR4_PSE), %eax
  3.   movl    %eax, %cr4
  4.   # Set page directory
  5.   movl    $(V2P_WO(entrypgdir)), %eax
  6.   movl    %eax, %cr3
  7.   # Turn on paging.
  8.   movl    %cr0, %eax
  9.   orl     $(CR0_PG|CR0_WP), %eax
  10.   movl    %eax, %cr0
RAW Paste Data
Top