)]}'
{
  "commit": "6bd10928e498d4bc2bc7b130edd4072d7c6b460a",
  "tree": "da5c2a8d8ab7adc94d4c0af77e2d0c9322193a3d",
  "parents": [
    "0964b614fdc2f3d446ea95f75f108a6b6754797e"
  ],
  "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 11:31:53 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",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "65d85c447e2fb7fce81057ba52463e59e5160eb9",
      "old_mode": 33188,
      "old_path": "hw/mips/mips_ranchu.c",
      "new_id": "294ce48cd45b40e29d066d4687ef26347ae7bdbe",
      "new_mode": 33188,
      "new_path": "hw/mips/mips_ranchu.c"
    }
  ]
}
