sized ports since unlike on real hardware qemu supports only 32-bit
regs.
+2012-06-15 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/lib/mips/loongson/reboot.c (grub_reboot): Use 32-bit
+ sized ports since unlike on real hardware qemu supports only 32-bit
+ regs.
+
2012-06-15 Vladimir Serbinenko <phcoder@gmail.com>
* Makefile.util.def (grub-mkrescue): Enable on loongson.
switch (grub_arch_machine)
{
case GRUB_ARCH_MACHINE_FULOONG2E:
- grub_outb (grub_inb (0xbfe00104) & ~4, 0xbfe00104);
- grub_outb (grub_inb (0xbfe00104) | 4, 0xbfe00104);
+ grub_outl (grub_inl (0xbfe00104) & ~4, 0xbfe00104);
+ grub_outl (grub_inl (0xbfe00104) | 4, 0xbfe00104);
break;
case GRUB_ARCH_MACHINE_FULOONG2F:
{