)]}'
{
  "commit": "f03ef4f2d47b9c2a14c62c3311fc24b0be01e90f",
  "tree": "a4b99ee75e15823e76b11bcceda3f3ab7315e84c",
  "parents": [
    "e86fff93bdb438e61f27e58df0f2b3051666b5e7"
  ],
  "author": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sat Mar 04 13:57:09 2017 +0100"
  },
  "committer": {
    "name": "Stefan Reinauer",
    "email": "stefan.reinauer@coreboot.org",
    "time": "Tue Jun 06 17:59:50 2017 +0200"
  },
  "message": "Add support to map the contents of a file\n\nAdd a package HW.File with a single procedure Map():\n\n   procedure Map\n     (Path     : in     String;\n      Addr     : in     Word64;\n      Len      : in     Natural;\n      Readable : in     Boolean :\u003d False;\n      Writable : in     Boolean :\u003d False;\n      Map_Copy : in     Boolean :\u003d False;\n      Success  :    out Boolean)\n   with\n      Pre \u003d\u003e (Readable or Writable) and\n             (if Map_Copy then Readable and not Writable);\n\nIf `Map_Copy` is `False`, it should map `Len` bytes from the start of\nthe file given by `Path` into the application\u0027s address space at `Addr`\nusing mmap(). If `Map_Copy` is `True`, anonymous memory should be map-\nped instead and be filled with a copy of the file\u0027s content using\nread().\n\nThe current implementation is backed by C code to reduce dependencies\nto external libraries (e.g. Florist is not packaged by a famous Linux\ndistro).\n\nWhile we are at it, also add a configuration file for common POSIX\nenvironments (configs/posix).\n\nChange-Id: Ic10c35b35d3216dab6a5b2baba7ba619c885b346\nSigned-off-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-on: https://review.coreboot.org/18779\nReviewed-by: Stefan Reinauer \u003cstefan.reinauer@coreboot.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4fac0b97150fc149d1862ada8b44c71893f738a",
      "old_mode": 33188,
      "old_path": "Makefile.inc",
      "new_id": "d37ce513e91ee70c2578230d8845118112e6b432",
      "new_mode": 33188,
      "new_path": "Makefile.inc"
    },
    {
      "type": "modify",
      "old_id": "2233094ec68b0a3c703b32c1c5d11ba46186752c",
      "old_mode": 33188,
      "old_path": "ada/Makefile.inc",
      "new_id": "2dd0c5a3c78894e41df96a33863b16ad9e023ed4",
      "new_mode": 33188,
      "new_path": "ada/Makefile.inc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ae0792b2d55c3c50493a93f933b36938137d6b97",
      "new_mode": 33188,
      "new_path": "ada/posix/hw-file.adb"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "50b0c4a37d206705010d39bd2746fa733195943d",
      "new_mode": 33188,
      "new_path": "c/Makefile.inc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4d756eab445c74a0674d3c53de0efe8485b35cf5",
      "new_mode": 33188,
      "new_path": "c/hw-file.c"
    },
    {
      "type": "modify",
      "old_id": "e74081daf9846ba56e298354720e75d895938fcb",
      "old_mode": 33188,
      "old_path": "common/Makefile.inc",
      "new_id": "a08a7df78576db3e13893988dc0e9e8b7b410fd6",
      "new_mode": 33188,
      "new_path": "common/Makefile.inc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9f5e452fe6c49e56cb70d9b8120e8212b75e2eb2",
      "new_mode": 33188,
      "new_path": "common/hw-file.ads"
    },
    {
      "type": "modify",
      "old_id": "eb8cafb84e16ef1e0010c23fcae17866cd6753a2",
      "old_mode": 33188,
      "old_path": "configs/defconfig",
      "new_id": "c0db7c35b9dd97a38a0271b10f3a75968ceb3a55",
      "new_mode": 33188,
      "new_path": "configs/defconfig"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "183a5b5359378883d3a3cdaf447beedc78868924",
      "new_mode": 33188,
      "new_path": "configs/posix"
    }
  ]
}
