mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix NetBSD reset problem
git-svn-id: svn://coreboot.org/openbios/openbios-devel@187 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -254,7 +254,7 @@ static int obp_nbputchar(int ch)
|
||||
|
||||
static void obp_reboot(char *str)
|
||||
{
|
||||
extern volatile unsigned char *reset_reg;
|
||||
extern volatile unsigned int *reset_reg;
|
||||
|
||||
printk("rebooting (%s)\n", str);
|
||||
*reset_reg = 1;
|
||||
|
||||
@@ -1040,7 +1040,8 @@ ob_auxio_init(uint64_t base, uint64_t offset)
|
||||
fword("finish-device");
|
||||
}
|
||||
|
||||
volatile unsigned char *power_reg, *reset_reg;
|
||||
volatile unsigned char *power_reg;
|
||||
volatile unsigned int *reset_reg;
|
||||
|
||||
static void
|
||||
sparc32_reset_all(void)
|
||||
|
||||
Reference in New Issue
Block a user