Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356245
b: refs/heads/master
c: d3c433b
h: refs/heads/master
i:
  356243: 9cb23bc
v: v3
  • Loading branch information
Yinghai Lu authored and H. Peter Anvin committed Jan 29, 2013
1 parent 1d3a1ad commit c0de433
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 187a8a73cee295b9407de0d6bfba65471a1f39d6
refs/heads/master: d3c433bf9a01b6951286ec2cbf52e3549623d878
9 changes: 6 additions & 3 deletions trunk/arch/x86/boot/compressed/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ ENTRY(startup_32)
btsl $_EFER_LME, %eax
wrmsr

/* After gdt is loaded */
xorl %eax, %eax
lldt %ax
movl $0x20, %eax
ltr %ax

/*
* Setup for the jump to 64bit mode
*
Expand Down Expand Up @@ -239,9 +245,6 @@ preferred_addr:
movl %eax, %ss
movl %eax, %fs
movl %eax, %gs
lldt %ax
movl $0x20, %eax
ltr %ax

/*
* Compute the decompressed kernel start address. It is where
Expand Down

0 comments on commit c0de433

Please sign in to comment.