Skip to content

Commit

Permalink
Merge pull request #11 from junjiemao1/spin_on_exit
Browse files Browse the repository at this point in the history
x86: lib: spin upon power off failure
  • Loading branch information
wenlingz committed Sep 18, 2019
2 parents 68ef71a + b991ccb commit 1ba40a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guest/lib/x86/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ void exit(int code)
#else
asm volatile("out %0, %1" : : "a"(code), "d"((short)0xf4));
#endif
while (1);
}

void __iomem *ioremap(phys_addr_t phys_addr, size_t size)
Expand Down

0 comments on commit 1ba40a3

Please sign in to comment.