Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205479
b: refs/heads/master
c: 650fb43
h: refs/heads/master
i:
  205477: a681bea
  205475: a0f9e5f
  205471: dc0eb2d
v: v3
  • Loading branch information
Brian Gerst authored and H. Peter Anvin committed Jul 22, 2010
1 parent 66ed437 commit f146fc1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: cfaa71ee9794472598d3966c3315cd6bd8f953d3
refs/heads/master: 650fb4393dff543bc980d361555c489fbdeed088
5 changes: 2 additions & 3 deletions trunk/arch/x86/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,8 @@ ENTRY(secondary_startup_64)
* init data section till per cpu areas are set up.
*/
movl $MSR_GS_BASE,%ecx
movq initial_gs(%rip),%rax
movq %rax,%rdx
shrq $32,%rdx
movl initial_gs(%rip),%eax
movl initial_gs+4(%rip),%edx
wrmsr

/* esi is pointer to real mode structure with interesting info.
Expand Down

0 comments on commit f146fc1

Please sign in to comment.