Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312443
b: refs/heads/master
c: 2b1b712
h: refs/heads/master
i:
  312441: 3d7b439
  312439: 2b350ba
v: v3
  • Loading branch information
H. Peter Anvin committed Jun 21, 2012
1 parent 3f5111a commit e9099bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 650513979a437c32d7a0a84f0ed952a55bbb5583
refs/heads/master: 2b1b712f050eaf0ac576591281446dc960c0afc5
8 changes: 0 additions & 8 deletions trunk/arch/x86/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,6 @@ void __noreturn machine_real_restart(unsigned int type)
write_cr3(real_mode_header->trampoline_pgd);
#endif

/*
* Write 0x1234 to absolute memory location 0x472. The BIOS reads
* this on booting to tell it to "Bypass memory test (also warm
* boot)". This seems like a fairly standard thing that gets set by
* REBOOT.COM programs, and the previous reset routine did this
* too. */
*((unsigned short *)0x472) = reboot_mode;

/* Jump to the identity-mapped low memory code */
#ifdef CONFIG_X86_32
asm volatile("jmpl *%0" : :
Expand Down

0 comments on commit e9099bb

Please sign in to comment.