)]}'
{
  "commit": "7d6191c615bc5f1fbe145192273d8bc3da80a66e",
  "tree": "79b0204e9f5203d63e576d8429692150e5c8cf86",
  "parents": [
    "10c06a97de023d23957c20a6e9f77b869ce5fd55"
  ],
  "author": {
    "name": "Sam Leffler",
    "email": "sleffler@google.com",
    "time": "Mon Feb 26 10:57:34 2024 -0800"
  },
  "committer": {
    "name": "Sam Leffler",
    "email": "sleffler@google.com",
    "time": "Sun May 12 15:05:35 2024 -0700"
  },
  "message": "Initial CHERIoT Soundstream demo\n\nConverts the bare-metal soundstream demo app to a hypothetical sencha\nplatform (derived from matcha by replacing the SMC Ibex core by a RISC-V\nCHERIoT core). This depends on the SEC to boot the SMC from flash and\nuses DIF support where possible for peripherals.\n\nSpecific changes:\n- stick drivers in compartments\n- use cheriot-rtos interrupts \u0026 threads\n- use capabilities for mmio + shared memory refs\n- allocate app data from the heap instead of using global vars (temp\n  until toolchain is updated)\n- hide hard-to-use-directly bits in a compat.h\n- use cheriot api\u0027s where appropriate (e.g.  __builtin_unreachable -\u003e panic)\n- band-aid dif include files to workaround c++ usage\n\nNB: interrupt thread stacks are super-sized to support logging\n\nBug: 330741645\n\nBypass-Presubmit-Reason: no sencha presubmit tests\n\nChange-Id: Iea2122422231571eb0a477b31b47eed0cb0c18f7\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b39c5483c66430649a937cee9167ae5463b8b014",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/.gitignore"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "12f2f32534d8c98cd83231da673707edf6e6b6d7",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "70b11933358dbf6631394c82d6f824d27b7c018a",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/compat.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "da826d135c995dfea0faa17004ed8f2a47f53a05",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/encode.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "01f9b3e45926f8d9867bd0e1990c43947f6b005c",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/encode.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "90a04bf37db1a92de20000b7a1afba56dbcb2e46",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/i2s.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "08f6565edf2f12daee58df5456bbfd613aa8de30",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/i2s.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "174c17f16919cecd2f9526dec53c81799e962e1a",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/mailbox.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6663fcaa55c081c9c1c0f82fe5b404b3db10704c",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/mailbox.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dc931cea5cc0ffb7bc9abe9244c17dc28f0cc076",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/ml_top.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "555557632ea17fcf1ccab6e02054b073009f07be",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/ml_top.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "897a9216c5f33f9a729feba295003347acfa442d",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/soundstream.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "640834c8a2c51dfab2fa273831f115a655e83f2f",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/soundstream.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d2d1dac55b80ce31910ad2ea5595051235448fe",
      "new_mode": 33188,
      "new_path": "sw/device/cheriot/soundstream/xmake.lua"
    },
    {
      "type": "modify",
      "old_id": "190c454218eb0fa7559473b2afe6920af2e00c3e",
      "old_mode": 33188,
      "old_path": "sw/device/lib/dif/dif_i2s.h",
      "new_id": "7d011977d52d674173bb6be294cafe8f4556e208",
      "new_mode": 33188,
      "new_path": "sw/device/lib/dif/dif_i2s.h"
    },
    {
      "type": "modify",
      "old_id": "57ed19e252ea8ca0dabf9aede0508b6affae994c",
      "old_mode": 33188,
      "old_path": "sw/device/lib/dif/dif_ml_top.h",
      "new_id": "684c46194a20031744ee57aa0a22c0324bb64979",
      "new_mode": 33188,
      "new_path": "sw/device/lib/dif/dif_ml_top.h"
    },
    {
      "type": "modify",
      "old_id": "69aaf203432b5e1f995b88a1294ab304532839e2",
      "old_mode": 33188,
      "old_path": "sw/device/lib/dif/dif_tlul_mailbox.h",
      "new_id": "6b09fdfd6aeb92b50b9bf234536dd3218df18428",
      "new_mode": 33188,
      "new_path": "sw/device/lib/dif/dif_tlul_mailbox.h"
    }
  ]
}
