Commit 30ec7ab1 authored by Kenneth W. Chen's avatar Kenneth W. Chen Committed by Tony Luck

[IA64] head.S: update comments to match code

Update comments in function ia64_switch_mode_virt() to reflect actual
implementation from recent region 5 init_task bug fix.
Signed-off-by: default avatarKen Chen <kenneth.w.chen@intel.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent a5181844
...@@ -781,8 +781,7 @@ GLOBAL_ENTRY(ia64_switch_mode_virt) ...@@ -781,8 +781,7 @@ GLOBAL_ENTRY(ia64_switch_mode_virt)
// going to virtual // going to virtual
// - for code addresses, set upper bits of addr to KERNEL_START // - for code addresses, set upper bits of addr to KERNEL_START
// - for stack addresses, set upper 3 bits to 0xe.... Dont change any of the // - for stack addresses, copy from input argument
// lower bits since we want it to stay identity mapped
movl r18=KERNEL_START movl r18=KERNEL_START
dep r3=0,r3,KERNEL_TR_PAGE_SHIFT,64-KERNEL_TR_PAGE_SHIFT dep r3=0,r3,KERNEL_TR_PAGE_SHIFT,64-KERNEL_TR_PAGE_SHIFT
dep r14=0,r14,KERNEL_TR_PAGE_SHIFT,64-KERNEL_TR_PAGE_SHIFT dep r14=0,r14,KERNEL_TR_PAGE_SHIFT,64-KERNEL_TR_PAGE_SHIFT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment