)]}'
{
  "commit": "41b9dc407ed4157b7e5b2caab871ff22d51a549b",
  "tree": "8710887c6fc61a6f4143e8f3e35bfe84a7a4eb14",
  "parents": [
    "5ef7083021f47910441278de6d7b8179f2b1b251"
  ],
  "author": {
    "name": "Goran Ferenc",
    "email": "goran.ferenc@imgtec.com",
    "time": "Thu Jul 21 16:58:23 2016 +0200"
  },
  "committer": {
    "name": "David \u0027Digit\u0027 Turner",
    "email": "digit@google.com",
    "time": "Tue Oct 18 17:47:35 2016 +0200"
  },
  "message": "mips_ranchu.c: Implement reboot and power-off sequences\n\nIn order to implement functional reboot sequence for MIPS Ranchu emulator,\nsmall bootloader was written and it is placed in a read-only memory\nregion represented as BIOS. Its responsibility is to prepare the boot\narguments a0-a3 with appropriate values before jumping to the kernel entry point.\n\nThe registers a0 to a3 should contain the following values:\n    a0 - 32-bit address of the command line\n    a1 - RAM size in bytes (ram_size)\n    a2 - RAM size in bytes (highmen_size)\n    a3 - 0\n\nThe virtual power management device is located at 0x1f00d000 and it\nis responsible for responding to kernel reboot and power-off triggers.\n\nIn case of a reboot sys_req() kernel will trigger an event coded\nwith value 0x42 into pm device register, which in turn should trigger\nqemu_system_reset_request() following by a cpu reset callback.\nAfterwards, bootloader is executed from the default address 0xbfc00000.\n\nIn case of a shutdown request (it can be issued with \"reboot -p\" from\nthe guest) kernel will send command coded with 0x43 which will result\nin a call to qemu_system_shutdown_request() thus effectively exiting\nthe emulator.\n\nChange-Id: Iab6694794ddfd829a9825b4374a2901d4d113036\nSigned-off-by: Goran Ferenc \u003cgoran.ferenc@imgtec.com\u003e\nSigned-off-by: Miodrag Dinic \u003cmiodrag.dinic@imgtec.com\u003e\n\nFix Mingw build.\n\nThe compiler was complaining about the printf() parameter type.\n\nChange-Id: Ia1759a2d52f275acf62bf30d126fb3b0ab1050ea\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "02d1efdb3ac1179ffe85cb0d2f2cb99196b6ba9b",
      "old_mode": 33188,
      "old_path": "hw/mips/mips_ranchu.c",
      "new_id": "75cabd62c42493c4845d3685b8d6998483d56711",
      "new_mode": 33188,
      "new_path": "hw/mips/mips_ranchu.c"
    }
  ]
}
