├── .circleci └── config.yml ├── .clang-format ├── .fast-setup.sh ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── call ├── CMakeLists.txt ├── io_wrap.c ├── linux_wrap.c ├── net_wrap.c ├── sbi.c └── syscall.c ├── crypto ├── CMakeLists.txt ├── aes.c ├── merkle.c └── sha256.c ├── include ├── call │ ├── io_wrap.h │ ├── linux_wrap.h │ ├── net_wrap.h │ ├── sbi.h │ ├── syscall.h │ └── syscall_nums.h ├── crypto │ ├── aes.h │ ├── merkle.h │ └── sha256.h ├── mm │ ├── common.h │ ├── freemem.h │ ├── mm.h │ ├── page_swap.h │ ├── paging.h │ ├── vm.h │ └── vm_defs.h ├── sys │ ├── env.h │ ├── interrupt.h │ └── timex.h └── util │ ├── asm_helpers.h │ ├── elf.h │ ├── printf.h │ ├── regs.h │ ├── rt_elf.h │ ├── rt_util.h │ └── string.h ├── mm ├── CMakeLists.txt ├── freemem.c ├── mm.c ├── page_swap.c ├── paging.c └── vm.c ├── runtime.ld.S ├── sys ├── CMakeLists.txt ├── boot.c ├── entry.S ├── env.c └── interrupt.c ├── test ├── CMakeLists.txt ├── merkle.c ├── mock.h ├── page_swap.c └── string.c ├── tmplib ├── CMakeLists.txt ├── README ├── asm │ ├── asm.h │ ├── csr.h │ └── linkage.h ├── linux │ ├── const.h │ └── linkage.h ├── partial_linkage.h ├── uaccess.S ├── uaccess.h └── uio.h └── util ├── CMakeLists.txt ├── empty.c ├── printf.c ├── rt_util.c └── string.c /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/.clang-format -------------------------------------------------------------------------------- /.fast-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/.fast-setup.sh -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | eyrie-rt 2 | .options_log 3 | *.o 4 | obj/ 5 | .exists 6 | .format-diff 7 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/README.md -------------------------------------------------------------------------------- /call/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/call/CMakeLists.txt -------------------------------------------------------------------------------- /call/io_wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/call/io_wrap.c -------------------------------------------------------------------------------- /call/linux_wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/call/linux_wrap.c -------------------------------------------------------------------------------- /call/net_wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/call/net_wrap.c -------------------------------------------------------------------------------- /call/sbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/call/sbi.c -------------------------------------------------------------------------------- /call/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/call/syscall.c -------------------------------------------------------------------------------- /crypto/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/crypto/CMakeLists.txt -------------------------------------------------------------------------------- /crypto/aes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/crypto/aes.c -------------------------------------------------------------------------------- /crypto/merkle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/crypto/merkle.c -------------------------------------------------------------------------------- /crypto/sha256.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/crypto/sha256.c -------------------------------------------------------------------------------- /include/call/io_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/call/io_wrap.h -------------------------------------------------------------------------------- /include/call/linux_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/call/linux_wrap.h -------------------------------------------------------------------------------- /include/call/net_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/call/net_wrap.h -------------------------------------------------------------------------------- /include/call/sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/call/sbi.h -------------------------------------------------------------------------------- /include/call/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/call/syscall.h -------------------------------------------------------------------------------- /include/call/syscall_nums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/call/syscall_nums.h -------------------------------------------------------------------------------- /include/crypto/aes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/crypto/aes.h -------------------------------------------------------------------------------- /include/crypto/merkle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/crypto/merkle.h -------------------------------------------------------------------------------- /include/crypto/sha256.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/crypto/sha256.h -------------------------------------------------------------------------------- /include/mm/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/common.h -------------------------------------------------------------------------------- /include/mm/freemem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/freemem.h -------------------------------------------------------------------------------- /include/mm/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/mm.h -------------------------------------------------------------------------------- /include/mm/page_swap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/page_swap.h -------------------------------------------------------------------------------- /include/mm/paging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/paging.h -------------------------------------------------------------------------------- /include/mm/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/vm.h -------------------------------------------------------------------------------- /include/mm/vm_defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/mm/vm_defs.h -------------------------------------------------------------------------------- /include/sys/env.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/sys/env.h -------------------------------------------------------------------------------- /include/sys/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/sys/interrupt.h -------------------------------------------------------------------------------- /include/sys/timex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/sys/timex.h -------------------------------------------------------------------------------- /include/util/asm_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/asm_helpers.h -------------------------------------------------------------------------------- /include/util/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/elf.h -------------------------------------------------------------------------------- /include/util/printf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/printf.h -------------------------------------------------------------------------------- /include/util/regs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/regs.h -------------------------------------------------------------------------------- /include/util/rt_elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/rt_elf.h -------------------------------------------------------------------------------- /include/util/rt_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/rt_util.h -------------------------------------------------------------------------------- /include/util/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/include/util/string.h -------------------------------------------------------------------------------- /mm/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/mm/CMakeLists.txt -------------------------------------------------------------------------------- /mm/freemem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/mm/freemem.c -------------------------------------------------------------------------------- /mm/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/mm/mm.c -------------------------------------------------------------------------------- /mm/page_swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/mm/page_swap.c -------------------------------------------------------------------------------- /mm/paging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/mm/paging.c -------------------------------------------------------------------------------- /mm/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/mm/vm.c -------------------------------------------------------------------------------- /runtime.ld.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/runtime.ld.S -------------------------------------------------------------------------------- /sys/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/sys/CMakeLists.txt -------------------------------------------------------------------------------- /sys/boot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/sys/boot.c -------------------------------------------------------------------------------- /sys/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/sys/entry.S -------------------------------------------------------------------------------- /sys/env.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/sys/env.c -------------------------------------------------------------------------------- /sys/interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/sys/interrupt.c -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/merkle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/test/merkle.c -------------------------------------------------------------------------------- /test/mock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/test/mock.h -------------------------------------------------------------------------------- /test/page_swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/test/page_swap.c -------------------------------------------------------------------------------- /test/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/test/string.c -------------------------------------------------------------------------------- /tmplib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/CMakeLists.txt -------------------------------------------------------------------------------- /tmplib/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/README -------------------------------------------------------------------------------- /tmplib/asm/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/asm/asm.h -------------------------------------------------------------------------------- /tmplib/asm/csr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/asm/csr.h -------------------------------------------------------------------------------- /tmplib/asm/linkage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/asm/linkage.h -------------------------------------------------------------------------------- /tmplib/linux/const.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/linux/const.h -------------------------------------------------------------------------------- /tmplib/linux/linkage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/linux/linkage.h -------------------------------------------------------------------------------- /tmplib/partial_linkage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/partial_linkage.h -------------------------------------------------------------------------------- /tmplib/uaccess.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/uaccess.S -------------------------------------------------------------------------------- /tmplib/uaccess.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/uaccess.h -------------------------------------------------------------------------------- /tmplib/uio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/tmplib/uio.h -------------------------------------------------------------------------------- /util/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/util/CMakeLists.txt -------------------------------------------------------------------------------- /util/empty.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/util/printf.c -------------------------------------------------------------------------------- /util/rt_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/util/rt_util.c -------------------------------------------------------------------------------- /util/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone-runtime/HEAD/util/string.c --------------------------------------------------------------------------------