Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356244
b: refs/heads/master
c: 187a8a7
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and H. Peter Anvin committed Jan 29, 2013
1 parent 9cb23bc commit 1d3a1ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 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: 3db07e70f0b4742f8daeda5c4aa8fbe7aeb3799e
refs/heads/master: 187a8a73cee295b9407de0d6bfba65471a1f39d6
17 changes: 9 additions & 8 deletions trunk/arch/x86/boot/compressed/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,6 @@ ENTRY(startup_32)
lret
ENDPROC(startup_32)

no_longmode:
/* This isn't an x86-64 CPU so hang */
1:
hlt
jmp 1b

#include "../../kernel/verify_cpu.S"

/*
* Be careful here startup_64 needs to be at a predictable
* address so I can export it in an ELF header. Bootloaders
Expand Down Expand Up @@ -349,6 +341,15 @@ relocated:
*/
jmp *%rbp

.code32
no_longmode:
/* This isn't an x86-64 CPU so hang */
1:
hlt
jmp 1b

#include "../../kernel/verify_cpu.S"

.data
gdt:
.word gdt_end - gdt
Expand Down

0 comments on commit 1d3a1ad

Please sign in to comment.