diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a605e3eb..4c34a0cca 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,10 +34,9 @@ jobs: with: submodules: 'true' - name: Download Microkit SDK - run: ./ci/acquire_sdk.sh microkit-sdk.zip ${{ secrets.GITHUB_TOKEN }} linux-x86-64 - shell: bash - - name: Extract Microkit SDK - run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz + run: | + wget https://github.com/seL4/microkit/releases/download/1.4.0/microkit-sdk-1.4.0-linux-x86-64.tar.gz + tar xf microkit-sdk-1.4.0-linux-x86-64.tar.gz - name: Install dependencies (via apt) # 'expect' is only a dependency for CI testing run: sudo apt update && sudo apt install -y make clang lld llvm qemu-system-arm device-tree-compiler expect gcc-aarch64-linux-gnu @@ -49,7 +48,7 @@ jobs: - name: Install Rust run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build and run examples - run: ./ci/examples.sh ${PWD}/microkit-sdk-1.2.6 + run: ./ci/examples.sh ${PWD}/microkit-sdk-1.4.0 shell: bash - name: Upload built system images uses: actions/upload-artifact@v4 @@ -65,10 +64,9 @@ jobs: with: submodules: 'true' - name: Download Microkit SDK - run: ./ci/acquire_sdk.sh microkit-sdk.zip ${{ secrets.GITHUB_TOKEN }} macos-x86-64 - shell: bash - - name: Extract Microkit SDK - run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz + run: | + wget https://github.com/seL4/microkit/releases/download/1.4.0/microkit-sdk-1.4.0-macos-x86-64.tar.gz + tar xf microkit-sdk-1.4.0-macos-x86-64.tar.gz - name: Install dependencies (via Homebrew) # 'expect' is only a dependency for CI testing run: | @@ -82,7 +80,7 @@ jobs: - name: Install Rust run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - name: Build and run examples - run: ./ci/examples.sh ${PWD}/microkit-sdk-1.2.6 + run: ./ci/examples.sh ${PWD}/microkit-sdk-1.4.0 shell: bash - name: Upload built system images uses: actions/upload-artifact@v4 @@ -97,16 +95,15 @@ jobs: with: submodules: 'true' - name: Download Microkit SDK - run: ./ci/acquire_sdk.sh microkit-sdk.zip ${{ secrets.GITHUB_TOKEN }} linux-x86-64 - shell: bash - - name: Extract Microkit SDK - run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz + run: | + wget https://github.com/seL4/microkit/releases/download/1.4.0/microkit-sdk-1.4.0-linux-x86-64.tar.gz + tar xf microkit-sdk-1.4.0-linux-x86-64.tar.gz - name: Install Nix uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable - name: Build and run examples - run: nix-shell --run "./ci/examples.sh ${PWD}/microkit-sdk-1.2.6" + run: nix-shell --run "./ci/examples.sh ${PWD}/microkit-sdk-1.4.0" - name: Upload built system images uses: actions/upload-artifact@v4 with: diff --git a/README.md b/README.md index 41f016985..cbdf92625 100644 --- a/README.md +++ b/README.md @@ -60,49 +60,10 @@ nix-shell --pure #### Acquiring the SDK -Finally, you will need an experimental Microkit SDK. +Finally, you will need version 1.4.0 of the Microkit SDK. -* Currently virtualisation support and other patches that libvmm requires are - not part of mainline Microkit. -* Upstreaming the required changes is in-progress. - -For acquiring the SDK, you have two options. - -1. Download a pre-built SDK (recommended). -2. Build the SDK yourself. - -##### Option 1 - Download pre-built SDK - -On Linux (x86-64): -```sh -wget https://trustworthy.systems/Downloads/microkit/microkit-sdk-dev-7c679ea-linux-x86-64.tar.gz -tar xf microkit-sdk-dev-7c679ea-linux-x86-64.tar.gz -``` - -On macOS (Apple Silicon/AArch64): -```sh -wget https://trustworthy.systems/Downloads/microkit/microkit-sdk-dev-7c679ea-macos-aarch64.tar.gz -tar xf microkit-sdk-dev-7c679ea-macos-aarch64.tar.gz -``` - -On macOS (Intel/x86-64): -```sh -wget https://trustworthy.systems/Downloads/microkit/microkit-sdk-dev-7c679ea-macos-x86-64.tar.gz -tar xf microkit-sdk-dev-7c679ea-macos-x86-64.tar.gz -``` - -##### Option 2 - Building the SDK - -You will need a development version of the Microkit SDK source code. You can acquire it with the following command: -```sh -git clone https://github.com/Ivan-Velickovic/microkit.git --branch dev -``` - -From here, you can follow the instructions -[here](https://github.com/Ivan-Velickovic/microkit/tree/dev) to build the SDK. - -If you have built the SDK then the path to the SDK should look something like -this: `microkit/release/microkit-sdk-`. +You can download a prebuilt SDK from [here](https://github.com/seL4/microkit/releases/tag/1.4.0) +or [build from source](https://github.com/seL4/microkit) ### Building and running @@ -110,7 +71,7 @@ Finally, we can simulate a basic system with a single Linux guest with the following command: ```sh cd examples/simple -make BOARD=qemu_arm_virt MICROKIT_SDK=/path/to/sdk qemu +make BOARD=qemu_virt_aarch64 MICROKIT_SDK=/path/to/sdk qemu ``` You should see Linux booting and be greeted with the buildroot prompt: diff --git a/ci/examples.sh b/ci/examples.sh index dc35869e7..7ce32f07d 100755 --- a/ci/examples.sh +++ b/ci/examples.sh @@ -38,7 +38,7 @@ build_simple_zig() { build_rust() { echo "CI|INFO: building Rust example with config: $1" CONFIG=$1 - BUILD_DIR="${PWD}/build/examples/rust/qemu_arm_virt/${CONFIG}" + BUILD_DIR="${PWD}/build/examples/rust/qemu_virt_aarch64/${CONFIG}" mkdir -p ${BUILD_DIR} make -C examples/rust -B \ BUILD_DIR=${BUILD_DIR} \ @@ -50,7 +50,7 @@ build_zig() { echo "CI|INFO: building Zig example with config: $1, Zig optimize is: $2" CONFIG=$1 ZIG_OPTIMIZE=$2 - BUILD_DIR="${PWD}/build/examples/zig/qemu_arm_virt/${CONFIG}/${ZIG_OPTIMIZE}" + BUILD_DIR="${PWD}/build/examples/zig/qemu_virt_aarch64/${CONFIG}/${ZIG_OPTIMIZE}" EXAMPLE_DIR="${PWD}/examples/zig" mkdir -p ${BUILD_DIR} pushd ${EXAMPLE_DIR} @@ -64,7 +64,7 @@ build_zig() { simulate_rust() { echo "CI|INFO: simulating Rust example with config: $1" - BUILD_DIR="${PWD}/build/examples/rust/qemu_arm_virt/${CONFIG}" + BUILD_DIR="${PWD}/build/examples/rust/qemu_virt_aarch64/${CONFIG}" ./ci/buildroot_login.exp ${BUILD_DIR}/loader.img } @@ -99,20 +99,20 @@ build_virtio() { simulate_zig() { echo "CI|INFO: simulating Zig example with config: $1" - BUILD_DIR="${PWD}/build/examples/zig/qemu_arm_virt/${CONFIG}/${ZIG_OPTIMIZE}" + BUILD_DIR="${PWD}/build/examples/zig/qemu_virt_aarch64/${CONFIG}/${ZIG_OPTIMIZE}" ./ci/buildroot_login.exp ${BUILD_DIR}/bin/loader.img } -build_simple_make "qemu_arm_virt" "debug" -simulate_simple_make "qemu_arm_virt" "debug" -build_simple_make "qemu_arm_virt" "release" -simulate_simple_make "qemu_arm_virt" "release" +build_simple_make "qemu_virt_aarch64" "debug" +simulate_simple_make "qemu_virt_aarch64" "debug" +build_simple_make "qemu_virt_aarch64" "release" +simulate_simple_make "qemu_virt_aarch64" "release" # @ivanv: we should incorporate the zig optimisation levels as well -build_simple_zig "qemu_arm_virt" "debug" -simulate_simple_zig "qemu_arm_virt" "debug" -build_simple_zig "qemu_arm_virt" "release" -simulate_simple_zig "qemu_arm_virt" "release" +build_simple_zig "qemu_virt_aarch64" "debug" +simulate_simple_zig "qemu_virt_aarch64" "debug" +build_simple_zig "qemu_virt_aarch64" "release" +simulate_simple_zig "qemu_virt_aarch64" "release" build_simple_make "odroidc4" "debug" build_simple_make "odroidc4" "release" @@ -128,8 +128,8 @@ build_simple_zig "maaxboard" "release" build_rust "debug" simulate_rust "debug" -build_rust "release" -simulate_rust "release" +# build_rust "release" +# simulate_rust "release" # Here there are two kinds of configuration that we need to test. There is the # configuration of Microkit itself for which we test debug and release. This @@ -149,14 +149,14 @@ simulate_zig "release" "ReleaseSmall" # The setup for virtIO block does not currently work on macOS due to # Linux-specific utilities not being available. -if [ "$(uname)" == "Linux" ]; then +# if [ "$(uname)" == "Linux" ]; then -build_virtio "qemu_arm_virt" "debug" -build_virtio "qemu_arm_virt" "release" -build_virtio "odroidc4" "debug" -build_virtio "odroidc4" "release" +# build_virtio "qemu_virt_aarch64" "debug" +# build_virtio "qemu_virt_aarch64" "release" +# build_virtio "odroidc4" "debug" +# build_virtio "odroidc4" "release" -fi +# fi echo "" echo "CI|INFO: Passed all VMM tests" diff --git a/dep/sddf b/dep/sddf index 33cf47c04..dd6d686a1 160000 --- a/dep/sddf +++ b/dep/sddf @@ -1 +1 @@ -Subproject commit 33cf47c04c3533369322b920a9e9087f28cb6c67 +Subproject commit dd6d686a1dcad7d20b5f44760e9ad0d0111d36f5 diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 1eeac5a70..41400ca77 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -49,7 +49,7 @@ If your desired platform is not supported by any examples, please see the sectio The goal of this section is to give a detailed introduction into making a system using libvmm with the [seL4 Microkit](https://github.com/seL4/microkit). -This is done by explaining one of the example QEMU ARM virt systems that boots +This is done by explaining one of the example QEMU virt AArch64 systems that boots up a simple Linux guest. All the existing systems are located in `board/$BOARD/systems/`. This is @@ -63,7 +63,7 @@ The first step before writing code is to have a system description that contains a virtual machine and the VMM protection domain (PD). The following is essentially what is in -[the QEMU example system](../board/qemu_arm_virt/systems/simple.system), +[the QEMU example system](../board/qemu_virt_aarch64/systems/simple.system), ```xml @@ -346,7 +346,7 @@ There are three files that need to be changed: * `src/vmm.h` * `src/vgic/vgic.h` * For Linux, the device tree needs to contain the location of the initial RAM disk, - see the `chosen` node of `board/qemu_arm_virt/images/linux.dts` as an example. + see the `chosen` node of `board/qemu_virt_aarch64/images/linux.dts` as an example. As you can probably tell, all this information that needs to be added is known at build-time, the plan is to auto-generate these values that the VMM needs to make it @@ -382,7 +382,7 @@ Assuming the guest is being passed a device tree and initialising devices based on the device tree passed, it is quite simple to disable the device. Here is an example of how you would change the Device Tree Source to -disable the PL011 UART node for the QEMU ARM virt platform: +disable the PL011 UART node for the QEMU virt AArch64 platform: ```diff pl011@9000000 { clock-names = "uartclk\0apb_pclk"; diff --git a/examples/rust/Cargo.lock b/examples/rust/Cargo.lock index 858e36fbd..8a9b5e8b4 100644 --- a/examples/rust/Cargo.lock +++ b/examples/rust/Cargo.lock @@ -55,12 +55,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - [[package]] name = "cexpr" version = "0.6.0" @@ -222,9 +216,9 @@ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -378,6 +372,15 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + [[package]] name = "rustix" version = "0.38.31" @@ -406,30 +409,22 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sel4" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "cfg-if", "sel4-config", "sel4-sys", ] -[[package]] -name = "sel4-atomic-ptr" -version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" -dependencies = [ - "cfg-if", -] - [[package]] name = "sel4-bitfield-ops" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" [[package]] name = "sel4-bitfield-parser" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "pest", "pest_derive", @@ -439,12 +434,12 @@ dependencies = [ [[package]] name = "sel4-build-env" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" [[package]] name = "sel4-config" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "sel4-config-data", "sel4-config-generic", @@ -455,7 +450,7 @@ dependencies = [ [[package]] name = "sel4-config-data" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "lazy_static", "sel4-build-env", @@ -466,7 +461,7 @@ dependencies = [ [[package]] name = "sel4-config-generic" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "fallible-iterator", "proc-macro2", @@ -478,7 +473,7 @@ dependencies = [ [[package]] name = "sel4-config-generic-types" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "serde", ] @@ -486,7 +481,7 @@ dependencies = [ [[package]] name = "sel4-config-macros" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "sel4-config-data", "sel4-config-generic", @@ -495,37 +490,31 @@ dependencies = [ [[package]] name = "sel4-dlmalloc" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "dlmalloc", "lock_api", ] [[package]] -name = "sel4-externally-shared" +name = "sel4-elf-header" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" -dependencies = [ - "cfg-if", - "sel4-atomic-ptr", - "volatile", - "zerocopy", -] +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" [[package]] name = "sel4-immediate-sync-once-cell" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" [[package]] name = "sel4-immutable-cell" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" [[package]] -name = "sel4-initialize-tls-on-stack" +name = "sel4-initialize-tls" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "cfg-if", ] @@ -533,14 +522,13 @@ dependencies = [ [[package]] name = "sel4-microkit" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "cfg-if", "sel4", "sel4-dlmalloc", - "sel4-externally-shared", "sel4-immediate-sync-once-cell", - "sel4-immutable-cell", + "sel4-microkit-base", "sel4-microkit-macros", "sel4-panicking", "sel4-panicking-env", @@ -548,10 +536,19 @@ dependencies = [ "sel4-sync", ] +[[package]] +name = "sel4-microkit-base" +version = "0.1.0" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" +dependencies = [ + "sel4", + "sel4-immutable-cell", +] + [[package]] name = "sel4-microkit-macros" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "proc-macro2", "quote", @@ -561,9 +558,10 @@ dependencies = [ [[package]] name = "sel4-panicking" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "cfg-if", + "rustc_version", "sel4-immediate-sync-once-cell", "sel4-panicking-env", "unwinding", @@ -572,42 +570,58 @@ dependencies = [ [[package]] name = "sel4-panicking-env" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" [[package]] name = "sel4-runtime-common" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "cfg-if", "sel4", - "sel4-initialize-tls-on-stack", + "sel4-elf-header", + "sel4-initialize-tls", "sel4-panicking-env", + "sel4-stack", "unwinding", ] [[package]] name = "sel4-rustfmt-helper" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "which", ] +[[package]] +name = "sel4-stack" +version = "0.1.0" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" + [[package]] name = "sel4-sync" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "lock_api", "sel4", "sel4-immediate-sync-once-cell", + "sel4-sync-trivial", +] + +[[package]] +name = "sel4-sync-trivial" +version = "0.1.0" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" +dependencies = [ + "lock_api", ] [[package]] name = "sel4-sys" version = "0.1.0" -source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#c1bca07283393e151e74b76b898188bfc1d29bb5" +source = "git+https://github.com/Ivan-Velickovic/rust-seL4?branch=dev#43c251d395ebb4066a4f70f446640c268ccba196" dependencies = [ "bindgen", "glob", @@ -624,6 +638,12 @@ dependencies = [ "xmltree", ] +[[package]] +name = "semver" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" + [[package]] name = "serde" version = "1.0.197" @@ -754,11 +774,6 @@ dependencies = [ "sel4-microkit", ] -[[package]] -name = "volatile" -version = "0.5.1" -source = "git+https://github.com/coliasgroup/volatile.git?tag=keep/aa7512906e9b76066ed928eb6986b0f9#aa7512906e9b76066ed928eb6986b0f9b1750e91" - [[package]] name = "which" version = "4.4.2" @@ -917,24 +932,3 @@ checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" dependencies = [ "xml-rs", ] - -[[package]] -name = "zerocopy" -version = "0.7.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" -dependencies = [ - "byteorder", - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.50", -] diff --git a/examples/rust/Makefile b/examples/rust/Makefile index 2703d8d1d..bd2fe62c4 100644 --- a/examples/rust/Makefile +++ b/examples/rust/Makefile @@ -13,8 +13,8 @@ endif BUILD_DIR ?= build # Default config is a debug build, pass CONFIG= to override CONFIG ?= debug -# Default board supported is QEMU ARM virt -BOARD = qemu_arm_virt +# Default board supported is QEMU virt AArch64 +BOARD = qemu_virt_aarch64 # Specify that we use bash for all shell commands SHELL=/bin/bash diff --git a/examples/rust/README.md b/examples/rust/README.md index ee536e371..7bcf82d66 100644 --- a/examples/rust/README.md +++ b/examples/rust/README.md @@ -5,7 +5,7 @@ This example shows how to use the This example is similar to the [simple example](../simple) in that it boots a simple Linux guest with a basic command line over serial. -The Rust VMM only supports the QEMU ARM virt platform as the goal of this +The Rust VMM only supports the QEMU virt AArch64 platform as the goal of this example is to simply show how to use the libvmm library (despite being written in C) and call it from a Rust program. This specific example uses manual FFI bindings to call into libvmm, but you could use [bindgen](https://github.com/rust-lang/rust-bindgen) @@ -13,8 +13,7 @@ or make your own Rust-like bindings. However for a minimal VMM as we have in thi example, manual bindings are sufficient. It should also be noted that this example makes use of the -[rust-seL4](https://github.com/coliasgroup/rust-seL4/) project's support for -Microkit, which is subject to change. +[rust-seL4](https://github.com/seL4/rust-seL4/) project's support for Microkit. ## Building the example diff --git a/examples/rust/images/README.md b/examples/rust/images/README.md index 416401ea4..b7499021f 100644 --- a/examples/rust/images/README.md +++ b/examples/rust/images/README.md @@ -1,4 +1,4 @@ -# QEMU ARM virt images +# QEMU virt AArch64 images ## Linux kernel diff --git a/examples/rust/rust_vmm.system b/examples/rust/rust_vmm.system index 4c2c220b2..32bbf9f62 100644 --- a/examples/rust/rust_vmm.system +++ b/examples/rust/rust_vmm.system @@ -19,7 +19,8 @@ - + + diff --git a/examples/rust/src/vmm.rs b/examples/rust/src/vmm.rs index 130e96935..88e25b206 100644 --- a/examples/rust/src/vmm.rs +++ b/examples/rust/src/vmm.rs @@ -12,7 +12,7 @@ const GUEST_DTB_VADDR: usize = 0x4f000000; const GUEST_INIT_RAM_DISK_VADDR: usize = 0x4d700000; const GUEST_VCPU_ID: usize = 0; -/// On the QEMU ARM virt platform the UART we are using has an IRQ number of 33. +/// On the QEMU virt AArch64 platform the UART we are using has an IRQ number of 33. const UART_IRQ: usize = 33; /// The VMM is expecting the IRQ to be delivered with the channel ID of 1. const UART_CH: Channel = Channel::new(1); @@ -56,7 +56,7 @@ fn init() -> VmmHandler { debug_println!("VMM|INFO: starting Rust VMM"); // Thankfully Rust comes with a simple macro that allows us to package // binaries locally and placing them in the final binary that we load - // onto our platform, in this case the QEMU ARM virt board. + // onto our platform, in this case the QEMU virt AArch64 board. // @ivanv: the way this include works right now is undefined behaviour! let linux = include_bytes!(concat!(env!("IMAGE_DIR"), "/linux")); let dtb = include_bytes!(concat!(env!("BUILD_DIR"), "/linux.dtb")); @@ -108,11 +108,10 @@ impl Handler for VmmHandler { Ok(()) } - fn fault(&mut self, id: Child, msg_info: MessageInfo) -> Result<(), Self::Error> { + fn fault(&mut self, id: Child, msg_info: MessageInfo) -> Result, Self::Error> { unsafe { - if fault_handle(id.unwrap(), msg_info) { - id.reply(MessageInfo::new(0, 0)); - Ok(()) + if fault_handle(0, msg_info) { + Ok(Some(MessageInfo::new(0, 0))) } else { unreachable!() } diff --git a/examples/simple/README.md b/examples/simple/README.md index 7c53b6006..49eb8bc9b 100644 --- a/examples/simple/README.md +++ b/examples/simple/README.md @@ -5,7 +5,7 @@ buildroot/BusyBox root file system. This gives a basic command-line with some common Linux utilities. The example currently works on the following platforms: -* QEMU ARM virt +* QEMU virt AArch64 * HardKernel Odroid-C4 ## Building with Make @@ -15,7 +15,7 @@ make MICROKIT_BOARD= MICROKIT_SDK=/path/to/sdk ``` Where `` is one of: -* `qemu_arm_virt` +* `qemu_virt_aarch64` * `odroidc4` * `maaxboard` @@ -24,7 +24,7 @@ and `BUILD_DIR`, see the Makefile for details. If you would like to simulate the QEMU board you can run the following command: ```sh -make MICROKIT_BOARD=qemu_arm_virt MICROKIT_SDK=/path/to/sdk qemu +make MICROKIT_BOARD=qemu_virt_aarch64 MICROKIT_SDK=/path/to/sdk qemu ``` This will build the example code as well as run the QEMU command to simulate a @@ -44,13 +44,13 @@ zig build -Dsdk=/path/to/sdk -Dboard= ``` Where `` is one of: -* `qemu_arm_virt` +* `qemu_virt_aarch64` * `odroidc4` * `maaxboard` If you are building for QEMU then you can also run QEMU by doing: ```sh -zig build -Dsdk=/path/to/sdk -Dboard=qemu_arm_virt qemu +zig build -Dsdk=/path/to/sdk -Dboard=qemu_virt_aarch64 qemu ``` You can view other options by doing: diff --git a/examples/simple/board/maaxboard/README.md b/examples/simple/board/maaxboard/README.md index 2aa3ea157..c9d9fefc3 100644 --- a/examples/simple/board/maaxboard/README.md +++ b/examples/simple/board/maaxboard/README.md @@ -1,4 +1,4 @@ -# QEMU ARM virt images +# QEMU virt AArch64 images ## Linux kernel diff --git a/examples/simple/board/maaxboard/simple.system b/examples/simple/board/maaxboard/simple.system index acf28fe7a..4f4a55384 100644 --- a/examples/simple/board/maaxboard/simple.system +++ b/examples/simple/board/maaxboard/simple.system @@ -23,7 +23,8 @@ - + + diff --git a/examples/simple/board/odroidc4/simple.system b/examples/simple/board/odroidc4/simple.system index 2ae16ddc3..3e02b68bc 100644 --- a/examples/simple/board/odroidc4/simple.system +++ b/examples/simple/board/odroidc4/simple.system @@ -19,7 +19,8 @@ - + + diff --git a/examples/simple/board/qemu_arm_virt/README.md b/examples/simple/board/qemu_virt_aarch64/README.md similarity index 97% rename from examples/simple/board/qemu_arm_virt/README.md rename to examples/simple/board/qemu_virt_aarch64/README.md index 416401ea4..b7499021f 100644 --- a/examples/simple/board/qemu_arm_virt/README.md +++ b/examples/simple/board/qemu_virt_aarch64/README.md @@ -1,4 +1,4 @@ -# QEMU ARM virt images +# QEMU virt AArch64 images ## Linux kernel diff --git a/examples/simple/board/qemu_arm_virt/buildroot_config b/examples/simple/board/qemu_virt_aarch64/buildroot_config similarity index 100% rename from examples/simple/board/qemu_arm_virt/buildroot_config rename to examples/simple/board/qemu_virt_aarch64/buildroot_config diff --git a/examples/simple/board/qemu_arm_virt/linux b/examples/simple/board/qemu_virt_aarch64/linux similarity index 100% rename from examples/simple/board/qemu_arm_virt/linux rename to examples/simple/board/qemu_virt_aarch64/linux diff --git a/examples/simple/board/qemu_arm_virt/linux.dts b/examples/simple/board/qemu_virt_aarch64/linux.dts similarity index 100% rename from examples/simple/board/qemu_arm_virt/linux.dts rename to examples/simple/board/qemu_virt_aarch64/linux.dts diff --git a/examples/simple/board/qemu_arm_virt/linux_config b/examples/simple/board/qemu_virt_aarch64/linux_config similarity index 100% rename from examples/simple/board/qemu_arm_virt/linux_config rename to examples/simple/board/qemu_virt_aarch64/linux_config diff --git a/examples/simple/board/qemu_arm_virt/overlay.dts b/examples/simple/board/qemu_virt_aarch64/overlay.dts similarity index 100% rename from examples/simple/board/qemu_arm_virt/overlay.dts rename to examples/simple/board/qemu_virt_aarch64/overlay.dts diff --git a/examples/simple/board/qemu_arm_virt/rootfs.cpio.gz b/examples/simple/board/qemu_virt_aarch64/rootfs.cpio.gz similarity index 100% rename from examples/simple/board/qemu_arm_virt/rootfs.cpio.gz rename to examples/simple/board/qemu_virt_aarch64/rootfs.cpio.gz diff --git a/examples/simple/board/qemu_arm_virt/simple.system b/examples/simple/board/qemu_virt_aarch64/simple.system similarity index 97% rename from examples/simple/board/qemu_arm_virt/simple.system rename to examples/simple/board/qemu_virt_aarch64/simple.system index 61a14becc..b1b4eaf9d 100644 --- a/examples/simple/board/qemu_arm_virt/simple.system +++ b/examples/simple/board/qemu_virt_aarch64/simple.system @@ -36,7 +36,8 @@ at the same address in the VMMs virutal address space. --> - + + - + + @@ -189,7 +191,9 @@ - + + + diff --git a/examples/virtio/client_vmm.c b/examples/virtio/client_vmm.c index 726a833b0..01225b496 100644 --- a/examples/virtio/client_vmm.c +++ b/examples/virtio/client_vmm.c @@ -19,7 +19,7 @@ #define GUEST_RAM_SIZE 0x6000000 -#if defined(BOARD_qemu_arm_virt) +#if defined(BOARD_qemu_virt_aarch64) #define GUEST_DTB_VADDR 0x47f00000 #define GUEST_INIT_RAM_DISK_VADDR 0x47000000 #elif defined(BOARD_odroidc4) @@ -161,17 +161,14 @@ void notified(microkit_channel ch) } } -/* - * The primary purpose of the VMM after initialisation is to act as a fault-handler, - * whenever our guest causes an exception, it gets delivered to this entry point for - * the VMM to handle. - */ -void fault(microkit_id id, microkit_msginfo msginfo) -{ - bool success = fault_handle(id, msginfo); +seL4_Bool fault(microkit_child child, microkit_msginfo msginfo, microkit_msginfo *reply_msginfo) { + bool success = fault_handle(child, msginfo); if (success) { /* Now that we have handled the fault successfully, we reply to it so * that the guest can resume execution. */ - microkit_fault_reply(microkit_msginfo_new(0, 0)); + *reply_msginfo = microkit_msginfo_new(0, 0); + return seL4_True; } + + return seL4_False; } diff --git a/examples/virtio/virtio.mk b/examples/virtio/virtio.mk index 4222fad54..759d80342 100644 --- a/examples/virtio/virtio.mk +++ b/examples/virtio/virtio.mk @@ -129,7 +129,7 @@ blk_storage: client_vm/rootfs.cpio.gz client_vm/images.o client_vm/vmm.o qemu: $(IMAGE_FILE) blk_storage - [ ${MICROKIT_BOARD} = qemu_arm_virt ] + [ ${MICROKIT_BOARD} = qemu_virt_aarch64 ] $(QEMU) -machine virt,virtualization=on,secure=off \ -cpu cortex-a53 \ -serial mon:stdio \ diff --git a/examples/zig/README.md b/examples/zig/README.md index dbe347aaf..047ec9ee0 100644 --- a/examples/zig/README.md +++ b/examples/zig/README.md @@ -62,8 +62,8 @@ which in libsel4, there is a lot of as all system calls makes use of inline asse If you run step 1 below, you will encounter the following text: ``` -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:490:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:487:26: warning: unable to translate function, demoted to extern +// microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:490:5: warning: TODO implement translation of stmt class GCCAsmStmtClass +// microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:487:26: warning: unable to translate function, demoted to extern ``` Until this is solved, unfortunately using libsel4 and hence libmicrokit from Zig @@ -84,7 +84,7 @@ is tedious). These are the steps for doing so. Produce the translated version of `microkit.h`. ```sh -zig translate-c /board/qemu_arm_virt/debug/include/microkit.h -I /board/qemu_arm_virt/debug/include -target aarch64-freestanding > src/libmicrokit.zig +zig translate-c /board/qemu_virt_aarch64/debug/include/microkit.h -I /board/qemu_virt_aarch64/debug/include -target aarch64-freestanding > src/libmicrokit.zig ``` #### Step 2 diff --git a/examples/zig/build.zig b/examples/zig/build.zig index 2f1a91a23..fb2316a0d 100644 --- a/examples/zig/build.zig +++ b/examples/zig/build.zig @@ -6,7 +6,7 @@ const ConfigOptions = enum { }; pub fn build(b: *std.Build) void { - // For this example we hard-code the target to AArch64 and the platform to QEMU ARM virt + // For this example we hard-code the target to AArch64 and the platform to QEMU virt AArch64 // since the main point of this example is to show off using libvmm in another // systems programming language. const target = b.resolveTargetQuery(.{ @@ -25,8 +25,8 @@ pub fn build(b: *std.Build) void { } const microkit_sdk = microkit_sdk_arg.?; - // Hard-code the board to QEMU ARM virt since it's the only one the example intends to support - const microkit_board = "qemu_arm_virt"; + // Hard-code the board to QEMU virt AArch64 since it's the only one the example intends to support + const microkit_board = "qemu_virt_aarch64"; const microkit_config_option = b.option(ConfigOptions, "config", "Microkit config to build for") orelse ConfigOptions.debug; const microkit_config = @tagName(microkit_config_option); // Since we are relying on Zig to produce the final ELF, it needs to do the @@ -50,7 +50,7 @@ pub fn build(b: *std.Build) void { .target = target, .optimize = optimize, .libmicrokit_include = @as([]const u8, libmicrokit_include), - // Because we only support QEMU ARM virt, vGIC version is 2. + // Because we only support QEMU virt AArch64, vGIC version is 2. .arm_vgic_version = @as(usize, 2), .microkit_board = @as([]const u8, microkit_board), }); diff --git a/examples/zig/images/README.md b/examples/zig/images/README.md index 416401ea4..b7499021f 100644 --- a/examples/zig/images/README.md +++ b/examples/zig/images/README.md @@ -1,4 +1,4 @@ -# QEMU ARM virt images +# QEMU virt AArch64 images ## Linux kernel diff --git a/examples/zig/src/libmicrokit.zig b/examples/zig/src/libmicrokit.zig index 221adaf41..a17129fa6 100644 --- a/examples/zig/src/libmicrokit.zig +++ b/examples/zig/src/libmicrokit.zig @@ -58,33 +58,21 @@ pub const __builtin_assume = @import("std").zig.c_builtins.__builtin_assume; pub const __builtin_unreachable = @import("std").zig.c_builtins.__builtin_unreachable; pub const __builtin_constant_p = @import("std").zig.c_builtins.__builtin_constant_p; pub const __builtin_mul_overflow = @import("std").zig.c_builtins.__builtin_mul_overflow; -pub const int_least64_t = i64; -pub const uint_least64_t = u64; -pub const int_fast64_t = i64; -pub const uint_fast64_t = u64; -pub const int_least32_t = i32; -pub const uint_least32_t = u32; -pub const int_fast32_t = i32; -pub const uint_fast32_t = u32; -pub const int_least16_t = i16; -pub const uint_least16_t = u16; -pub const int_fast16_t = i16; -pub const uint_fast16_t = u16; -pub const int_least8_t = i8; -pub const uint_least8_t = u8; -pub const int_fast8_t = i8; -pub const uint_fast8_t = u8; -pub const intmax_t = c_long; -pub const uintmax_t = c_ulong; pub const seL4_Int8 = i8; -pub const seL4_Uint8 = u8; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_Uint8 = u8; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub const seL4_Int16 = c_short; -pub const seL4_Uint16 = c_ushort; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_Uint16 = c_ushort; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub const seL4_Int32 = c_int; -pub const seL4_Uint32 = c_uint; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_Uint32 = c_uint; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub const seL4_Int64 = c_long; pub const seL4_Uint64 = c_ulong; pub const seL4_Bool = seL4_Int8; @@ -126,6 +114,7 @@ pub const seL4_VGICMaintenance_Length: c_int = 1; pub const _enum_pad_seL4_VGICMaintenance_Msg: c_ulong = 9223372036854775807; pub const seL4_VGICMaintenance_Msg = c_ulong; pub const seL4_VPPIEvent_IRQ: c_int = 0; +pub const seL4_VPPIEvent_Length: c_int = 1; pub const _enum_pad_seL4_VPPIEvent_Msg: c_ulong = 9223372036854775807; pub const seL4_VPPIEvent_Msg = c_ulong; pub const seL4_VCPUFault_HSR: c_int = 0; @@ -148,15 +137,17 @@ pub const seL4_VCPUReg_FAR: c_int = 12; pub const seL4_VCPUReg_ISR: c_int = 13; pub const seL4_VCPUReg_VBAR: c_int = 14; pub const seL4_VCPUReg_TPIDR_EL1: c_int = 15; -pub const seL4_VCPUReg_SP_EL1: c_int = 16; -pub const seL4_VCPUReg_ELR_EL1: c_int = 17; -pub const seL4_VCPUReg_SPSR_EL1: c_int = 18; -pub const seL4_VCPUReg_CNTV_CTL: c_int = 19; -pub const seL4_VCPUReg_CNTV_CVAL: c_int = 20; -pub const seL4_VCPUReg_CNTVOFF: c_int = 21; -pub const seL4_VCPUReg_CNTKCTL_EL1: c_int = 22; -pub const seL4_VCPUReg_Num: c_int = 23; -pub const seL4_VCPUReg = c_uint; +pub const seL4_VCPUReg_VMPIDR_EL2: c_int = 16; +pub const seL4_VCPUReg_SP_EL1: c_int = 17; +pub const seL4_VCPUReg_ELR_EL1: c_int = 18; +pub const seL4_VCPUReg_SPSR_EL1: c_int = 19; +pub const seL4_VCPUReg_CNTV_CTL: c_int = 20; +pub const seL4_VCPUReg_CNTV_CVAL: c_int = 21; +pub const seL4_VCPUReg_CNTVOFF: c_int = 22; +pub const seL4_VCPUReg_CNTKCTL_EL1: c_int = 23; +pub const seL4_VCPUReg_Num: c_int = 24; +pub const _enum_pad_seL4_VCPUReg: c_ulong = 9223372036854775807; +pub const seL4_VCPUReg = c_ulong; pub const seL4_TimeoutReply_FaultIP: c_int = 0; pub const seL4_TimeoutReply_SP: c_int = 1; pub const seL4_TimeoutReply_SPSR_EL1: c_int = 2; @@ -198,11 +189,16 @@ pub const seL4_Timeout_Data: c_int = 0; pub const seL4_Timeout_Consumed: c_int = 1; pub const seL4_Timeout_Length: c_int = 2; pub const _enum_pad_seL4_Timeout_Msg: c_ulong = 9223372036854775807; -pub const seL4_TimeoutMsg = c_ulong; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_Timeout_Msg = c_ulong; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub const seL4_ARM_PageUpperDirectory = seL4_CPtr; pub const seL4_ARM_PageGlobalDirectory = seL4_CPtr; pub const seL4_ARM_VSpace = seL4_CPtr; @@ -318,7 +314,7 @@ pub fn seL4_Fault_NullFault_new() callconv(.C) seL4_Fault_t { _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_NullFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_NullFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_NullFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_NullFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 46), "seL4_Fault_NullFault_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_NullFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_NullFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 46), "seL4_Fault_NullFault_new"); } if (!false) break; } @@ -343,7 +339,7 @@ pub fn seL4_Fault_NullFault_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) callco _ = &seL4_Fault_ptr; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_NullFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_NullFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_NullFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_NullFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 70), "seL4_Fault_NullFault_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_NullFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_NullFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 70), "seL4_Fault_NullFault_ptr_new"); } if (!false) break; } @@ -381,7 +377,7 @@ pub fn seL4_Fault_CapFault_new(arg_IP: seL4_Uint64, arg_Addr: seL4_Uint64, arg_I _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_CapFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_CapFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 94), "seL4_Fault_CapFault_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_CapFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_CapFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 94), "seL4_Fault_CapFault_new"); } if (!false) break; } @@ -420,7 +416,7 @@ pub fn seL4_Fault_CapFault_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_IP: _ = &MR6; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_CapFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_CapFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 125), "seL4_Fault_CapFault_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_CapFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_CapFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 125), "seL4_Fault_CapFault_ptr_new"); } if (!false) break; } @@ -446,7 +442,7 @@ pub fn seL4_Fault_CapFault_get_IP(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) s _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 155), "seL4_Fault_CapFault_get_IP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 155), "seL4_Fault_CapFault_get_IP"); } if (!false) break; } @@ -463,13 +459,13 @@ pub fn seL4_Fault_CapFault_set_IP(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4_ _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 168), "seL4_Fault_CapFault_set_IP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 168), "seL4_Fault_CapFault_set_IP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 170), "seL4_Fault_CapFault_set_IP"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 170), "seL4_Fault_CapFault_set_IP"); } if (!false) break; } @@ -484,7 +480,7 @@ pub fn seL4_Fault_CapFault_ptr_get_IP(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) call _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 181), "seL4_Fault_CapFault_ptr_get_IP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 181), "seL4_Fault_CapFault_ptr_get_IP"); } if (!false) break; } @@ -501,13 +497,13 @@ pub fn seL4_Fault_CapFault_ptr_set_IP(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_ _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 195), "seL4_Fault_CapFault_ptr_set_IP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 195), "seL4_Fault_CapFault_ptr_set_IP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 198), "seL4_Fault_CapFault_ptr_set_IP"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 198), "seL4_Fault_CapFault_ptr_set_IP"); } if (!false) break; } @@ -521,7 +517,7 @@ pub fn seL4_Fault_CapFault_get_Addr(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 208), "seL4_Fault_CapFault_get_Addr"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 208), "seL4_Fault_CapFault_get_Addr"); } if (!false) break; } @@ -538,13 +534,13 @@ pub fn seL4_Fault_CapFault_set_Addr(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 221), "seL4_Fault_CapFault_set_Addr"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 221), "seL4_Fault_CapFault_set_Addr"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 223), "seL4_Fault_CapFault_set_Addr"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 223), "seL4_Fault_CapFault_set_Addr"); } if (!false) break; } @@ -559,7 +555,7 @@ pub fn seL4_Fault_CapFault_ptr_get_Addr(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) ca _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 234), "seL4_Fault_CapFault_ptr_get_Addr"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 234), "seL4_Fault_CapFault_ptr_get_Addr"); } if (!false) break; } @@ -576,13 +572,13 @@ pub fn seL4_Fault_CapFault_ptr_set_Addr(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, ar _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 248), "seL4_Fault_CapFault_ptr_set_Addr"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 248), "seL4_Fault_CapFault_ptr_set_Addr"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 251), "seL4_Fault_CapFault_ptr_set_Addr"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 251), "seL4_Fault_CapFault_ptr_set_Addr"); } if (!false) break; } @@ -596,7 +592,7 @@ pub fn seL4_Fault_CapFault_get_InRecvPhase(arg_seL4_Fault_1: seL4_Fault_t) callc _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 261), "seL4_Fault_CapFault_get_InRecvPhase"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 261), "seL4_Fault_CapFault_get_InRecvPhase"); } if (!false) break; } @@ -613,13 +609,13 @@ pub fn seL4_Fault_CapFault_set_InRecvPhase(arg_seL4_Fault_1: seL4_Fault_t, arg_v _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 274), "seL4_Fault_CapFault_set_InRecvPhase"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 274), "seL4_Fault_CapFault_set_InRecvPhase"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 276), "seL4_Fault_CapFault_set_InRecvPhase"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 276), "seL4_Fault_CapFault_set_InRecvPhase"); } if (!false) break; } @@ -634,7 +630,7 @@ pub fn seL4_Fault_CapFault_ptr_get_InRecvPhase(arg_seL4_Fault_ptr: [*c]seL4_Faul _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 287), "seL4_Fault_CapFault_ptr_get_InRecvPhase"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 287), "seL4_Fault_CapFault_ptr_get_InRecvPhase"); } if (!false) break; } @@ -651,13 +647,13 @@ pub fn seL4_Fault_CapFault_ptr_set_InRecvPhase(arg_seL4_Fault_ptr: [*c]seL4_Faul _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 301), "seL4_Fault_CapFault_ptr_set_InRecvPhase"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 301), "seL4_Fault_CapFault_ptr_set_InRecvPhase"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 304), "seL4_Fault_CapFault_ptr_set_InRecvPhase"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 304), "seL4_Fault_CapFault_ptr_set_InRecvPhase"); } if (!false) break; } @@ -671,7 +667,7 @@ pub fn seL4_Fault_CapFault_get_LookupFailureType(arg_seL4_Fault_1: seL4_Fault_t) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 314), "seL4_Fault_CapFault_get_LookupFailureType"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 314), "seL4_Fault_CapFault_get_LookupFailureType"); } if (!false) break; } @@ -688,13 +684,13 @@ pub fn seL4_Fault_CapFault_set_LookupFailureType(arg_seL4_Fault_1: seL4_Fault_t, _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 327), "seL4_Fault_CapFault_set_LookupFailureType"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 327), "seL4_Fault_CapFault_set_LookupFailureType"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 329), "seL4_Fault_CapFault_set_LookupFailureType"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 329), "seL4_Fault_CapFault_set_LookupFailureType"); } if (!false) break; } @@ -709,7 +705,7 @@ pub fn seL4_Fault_CapFault_ptr_get_LookupFailureType(arg_seL4_Fault_ptr: [*c]seL _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 340), "seL4_Fault_CapFault_ptr_get_LookupFailureType"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 340), "seL4_Fault_CapFault_ptr_get_LookupFailureType"); } if (!false) break; } @@ -726,13 +722,13 @@ pub fn seL4_Fault_CapFault_ptr_set_LookupFailureType(arg_seL4_Fault_ptr: [*c]seL _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 354), "seL4_Fault_CapFault_ptr_set_LookupFailureType"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 354), "seL4_Fault_CapFault_ptr_set_LookupFailureType"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 357), "seL4_Fault_CapFault_ptr_set_LookupFailureType"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 357), "seL4_Fault_CapFault_ptr_set_LookupFailureType"); } if (!false) break; } @@ -746,7 +742,7 @@ pub fn seL4_Fault_CapFault_get_MR4(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 367), "seL4_Fault_CapFault_get_MR4"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 367), "seL4_Fault_CapFault_get_MR4"); } if (!false) break; } @@ -763,13 +759,13 @@ pub fn seL4_Fault_CapFault_set_MR4(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 380), "seL4_Fault_CapFault_set_MR4"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 380), "seL4_Fault_CapFault_set_MR4"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 382), "seL4_Fault_CapFault_set_MR4"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 382), "seL4_Fault_CapFault_set_MR4"); } if (!false) break; } @@ -784,7 +780,7 @@ pub fn seL4_Fault_CapFault_ptr_get_MR4(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 393), "seL4_Fault_CapFault_ptr_get_MR4"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 393), "seL4_Fault_CapFault_ptr_get_MR4"); } if (!false) break; } @@ -801,13 +797,13 @@ pub fn seL4_Fault_CapFault_ptr_set_MR4(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 407), "seL4_Fault_CapFault_ptr_set_MR4"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 407), "seL4_Fault_CapFault_ptr_set_MR4"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 410), "seL4_Fault_CapFault_ptr_set_MR4"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 410), "seL4_Fault_CapFault_ptr_set_MR4"); } if (!false) break; } @@ -821,7 +817,7 @@ pub fn seL4_Fault_CapFault_get_MR5(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 420), "seL4_Fault_CapFault_get_MR5"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 420), "seL4_Fault_CapFault_get_MR5"); } if (!false) break; } @@ -838,13 +834,13 @@ pub fn seL4_Fault_CapFault_set_MR5(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 433), "seL4_Fault_CapFault_set_MR5"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 433), "seL4_Fault_CapFault_set_MR5"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 435), "seL4_Fault_CapFault_set_MR5"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 435), "seL4_Fault_CapFault_set_MR5"); } if (!false) break; } @@ -859,7 +855,7 @@ pub fn seL4_Fault_CapFault_ptr_get_MR5(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 446), "seL4_Fault_CapFault_ptr_get_MR5"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 446), "seL4_Fault_CapFault_ptr_get_MR5"); } if (!false) break; } @@ -876,13 +872,13 @@ pub fn seL4_Fault_CapFault_ptr_set_MR5(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 460), "seL4_Fault_CapFault_ptr_set_MR5"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 460), "seL4_Fault_CapFault_ptr_set_MR5"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 463), "seL4_Fault_CapFault_ptr_set_MR5"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 463), "seL4_Fault_CapFault_ptr_set_MR5"); } if (!false) break; } @@ -896,7 +892,7 @@ pub fn seL4_Fault_CapFault_get_MR6(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 473), "seL4_Fault_CapFault_get_MR6"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 473), "seL4_Fault_CapFault_get_MR6"); } if (!false) break; } @@ -913,13 +909,13 @@ pub fn seL4_Fault_CapFault_set_MR6(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 486), "seL4_Fault_CapFault_set_MR6"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 486), "seL4_Fault_CapFault_set_MR6"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 488), "seL4_Fault_CapFault_set_MR6"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 488), "seL4_Fault_CapFault_set_MR6"); } if (!false) break; } @@ -934,7 +930,7 @@ pub fn seL4_Fault_CapFault_ptr_get_MR6(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 499), "seL4_Fault_CapFault_ptr_get_MR6"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 499), "seL4_Fault_CapFault_ptr_get_MR6"); } if (!false) break; } @@ -951,13 +947,13 @@ pub fn seL4_Fault_CapFault_ptr_set_MR6(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_CapFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 513), "seL4_Fault_CapFault_ptr_set_MR6"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_CapFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 513), "seL4_Fault_CapFault_ptr_set_MR6"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 516), "seL4_Fault_CapFault_ptr_set_MR6"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 516), "seL4_Fault_CapFault_ptr_set_MR6"); } if (!false) break; } @@ -995,7 +991,7 @@ pub fn seL4_Fault_UnknownSyscall_new(arg_X0: seL4_Uint64, arg_X1: seL4_Uint64, a _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_UnknownSyscall & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UnknownSyscall & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 527), "seL4_Fault_UnknownSyscall_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_UnknownSyscall & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UnknownSyscall & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 527), "seL4_Fault_UnknownSyscall_new"); } if (!false) break; } @@ -1046,7 +1042,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, a _ = &Syscall; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_UnknownSyscall & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UnknownSyscall & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 564), "seL4_Fault_UnknownSyscall_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_UnknownSyscall & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UnknownSyscall & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 564), "seL4_Fault_UnknownSyscall_ptr_new"); } if (!false) break; } @@ -1072,7 +1068,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X0(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 600), "seL4_Fault_UnknownSyscall_get_X0"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 600), "seL4_Fault_UnknownSyscall_get_X0"); } if (!false) break; } @@ -1089,13 +1085,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X0(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 613), "seL4_Fault_UnknownSyscall_set_X0"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 613), "seL4_Fault_UnknownSyscall_set_X0"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 615), "seL4_Fault_UnknownSyscall_set_X0"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 615), "seL4_Fault_UnknownSyscall_set_X0"); } if (!false) break; } @@ -1110,7 +1106,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X0(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 626), "seL4_Fault_UnknownSyscall_ptr_get_X0"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 626), "seL4_Fault_UnknownSyscall_ptr_get_X0"); } if (!false) break; } @@ -1127,13 +1123,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X0(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 640), "seL4_Fault_UnknownSyscall_ptr_set_X0"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 640), "seL4_Fault_UnknownSyscall_ptr_set_X0"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 643), "seL4_Fault_UnknownSyscall_ptr_set_X0"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 643), "seL4_Fault_UnknownSyscall_ptr_set_X0"); } if (!false) break; } @@ -1147,7 +1143,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X1(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 653), "seL4_Fault_UnknownSyscall_get_X1"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 653), "seL4_Fault_UnknownSyscall_get_X1"); } if (!false) break; } @@ -1164,13 +1160,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X1(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 666), "seL4_Fault_UnknownSyscall_set_X1"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 666), "seL4_Fault_UnknownSyscall_set_X1"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 668), "seL4_Fault_UnknownSyscall_set_X1"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 668), "seL4_Fault_UnknownSyscall_set_X1"); } if (!false) break; } @@ -1185,7 +1181,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X1(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 679), "seL4_Fault_UnknownSyscall_ptr_get_X1"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 679), "seL4_Fault_UnknownSyscall_ptr_get_X1"); } if (!false) break; } @@ -1202,13 +1198,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X1(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 693), "seL4_Fault_UnknownSyscall_ptr_set_X1"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 693), "seL4_Fault_UnknownSyscall_ptr_set_X1"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 696), "seL4_Fault_UnknownSyscall_ptr_set_X1"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 696), "seL4_Fault_UnknownSyscall_ptr_set_X1"); } if (!false) break; } @@ -1222,7 +1218,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X2(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 706), "seL4_Fault_UnknownSyscall_get_X2"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 706), "seL4_Fault_UnknownSyscall_get_X2"); } if (!false) break; } @@ -1239,13 +1235,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X2(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 719), "seL4_Fault_UnknownSyscall_set_X2"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 719), "seL4_Fault_UnknownSyscall_set_X2"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 721), "seL4_Fault_UnknownSyscall_set_X2"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 721), "seL4_Fault_UnknownSyscall_set_X2"); } if (!false) break; } @@ -1260,7 +1256,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X2(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 732), "seL4_Fault_UnknownSyscall_ptr_get_X2"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 732), "seL4_Fault_UnknownSyscall_ptr_get_X2"); } if (!false) break; } @@ -1277,13 +1273,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X2(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 746), "seL4_Fault_UnknownSyscall_ptr_set_X2"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 746), "seL4_Fault_UnknownSyscall_ptr_set_X2"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 749), "seL4_Fault_UnknownSyscall_ptr_set_X2"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 749), "seL4_Fault_UnknownSyscall_ptr_set_X2"); } if (!false) break; } @@ -1297,7 +1293,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X3(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 759), "seL4_Fault_UnknownSyscall_get_X3"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 759), "seL4_Fault_UnknownSyscall_get_X3"); } if (!false) break; } @@ -1314,13 +1310,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X3(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 772), "seL4_Fault_UnknownSyscall_set_X3"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 772), "seL4_Fault_UnknownSyscall_set_X3"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 774), "seL4_Fault_UnknownSyscall_set_X3"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 774), "seL4_Fault_UnknownSyscall_set_X3"); } if (!false) break; } @@ -1335,7 +1331,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X3(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 785), "seL4_Fault_UnknownSyscall_ptr_get_X3"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 785), "seL4_Fault_UnknownSyscall_ptr_get_X3"); } if (!false) break; } @@ -1352,13 +1348,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X3(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 799), "seL4_Fault_UnknownSyscall_ptr_set_X3"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 799), "seL4_Fault_UnknownSyscall_ptr_set_X3"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 802), "seL4_Fault_UnknownSyscall_ptr_set_X3"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 802), "seL4_Fault_UnknownSyscall_ptr_set_X3"); } if (!false) break; } @@ -1372,7 +1368,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X4(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 812), "seL4_Fault_UnknownSyscall_get_X4"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 812), "seL4_Fault_UnknownSyscall_get_X4"); } if (!false) break; } @@ -1389,13 +1385,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X4(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 825), "seL4_Fault_UnknownSyscall_set_X4"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 825), "seL4_Fault_UnknownSyscall_set_X4"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 827), "seL4_Fault_UnknownSyscall_set_X4"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 827), "seL4_Fault_UnknownSyscall_set_X4"); } if (!false) break; } @@ -1410,7 +1406,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X4(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 838), "seL4_Fault_UnknownSyscall_ptr_get_X4"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 838), "seL4_Fault_UnknownSyscall_ptr_get_X4"); } if (!false) break; } @@ -1427,13 +1423,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X4(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 852), "seL4_Fault_UnknownSyscall_ptr_set_X4"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 852), "seL4_Fault_UnknownSyscall_ptr_set_X4"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 855), "seL4_Fault_UnknownSyscall_ptr_set_X4"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 855), "seL4_Fault_UnknownSyscall_ptr_set_X4"); } if (!false) break; } @@ -1447,7 +1443,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X5(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 865), "seL4_Fault_UnknownSyscall_get_X5"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 865), "seL4_Fault_UnknownSyscall_get_X5"); } if (!false) break; } @@ -1464,13 +1460,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X5(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 878), "seL4_Fault_UnknownSyscall_set_X5"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 878), "seL4_Fault_UnknownSyscall_set_X5"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 880), "seL4_Fault_UnknownSyscall_set_X5"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 880), "seL4_Fault_UnknownSyscall_set_X5"); } if (!false) break; } @@ -1485,7 +1481,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X5(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 891), "seL4_Fault_UnknownSyscall_ptr_get_X5"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 891), "seL4_Fault_UnknownSyscall_ptr_get_X5"); } if (!false) break; } @@ -1502,13 +1498,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X5(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 905), "seL4_Fault_UnknownSyscall_ptr_set_X5"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 905), "seL4_Fault_UnknownSyscall_ptr_set_X5"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 908), "seL4_Fault_UnknownSyscall_ptr_set_X5"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 908), "seL4_Fault_UnknownSyscall_ptr_set_X5"); } if (!false) break; } @@ -1522,7 +1518,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X6(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 918), "seL4_Fault_UnknownSyscall_get_X6"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 918), "seL4_Fault_UnknownSyscall_get_X6"); } if (!false) break; } @@ -1539,13 +1535,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X6(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 931), "seL4_Fault_UnknownSyscall_set_X6"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 931), "seL4_Fault_UnknownSyscall_set_X6"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 933), "seL4_Fault_UnknownSyscall_set_X6"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 933), "seL4_Fault_UnknownSyscall_set_X6"); } if (!false) break; } @@ -1560,7 +1556,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X6(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 944), "seL4_Fault_UnknownSyscall_ptr_get_X6"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 944), "seL4_Fault_UnknownSyscall_ptr_get_X6"); } if (!false) break; } @@ -1577,13 +1573,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X6(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 958), "seL4_Fault_UnknownSyscall_ptr_set_X6"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 958), "seL4_Fault_UnknownSyscall_ptr_set_X6"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 961), "seL4_Fault_UnknownSyscall_ptr_set_X6"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 961), "seL4_Fault_UnknownSyscall_ptr_set_X6"); } if (!false) break; } @@ -1597,7 +1593,7 @@ pub fn seL4_Fault_UnknownSyscall_get_X7(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 971), "seL4_Fault_UnknownSyscall_get_X7"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 971), "seL4_Fault_UnknownSyscall_get_X7"); } if (!false) break; } @@ -1614,13 +1610,13 @@ pub fn seL4_Fault_UnknownSyscall_set_X7(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 984), "seL4_Fault_UnknownSyscall_set_X7"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 984), "seL4_Fault_UnknownSyscall_set_X7"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 986), "seL4_Fault_UnknownSyscall_set_X7"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 986), "seL4_Fault_UnknownSyscall_set_X7"); } if (!false) break; } @@ -1635,7 +1631,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_X7(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 997), "seL4_Fault_UnknownSyscall_ptr_get_X7"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 997), "seL4_Fault_UnknownSyscall_ptr_get_X7"); } if (!false) break; } @@ -1652,13 +1648,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_X7(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1011), "seL4_Fault_UnknownSyscall_ptr_set_X7"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1011), "seL4_Fault_UnknownSyscall_ptr_set_X7"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1014), "seL4_Fault_UnknownSyscall_ptr_set_X7"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1014), "seL4_Fault_UnknownSyscall_ptr_set_X7"); } if (!false) break; } @@ -1672,7 +1668,7 @@ pub fn seL4_Fault_UnknownSyscall_get_FaultIP(arg_seL4_Fault_1: seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1024), "seL4_Fault_UnknownSyscall_get_FaultIP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1024), "seL4_Fault_UnknownSyscall_get_FaultIP"); } if (!false) break; } @@ -1689,13 +1685,13 @@ pub fn seL4_Fault_UnknownSyscall_set_FaultIP(arg_seL4_Fault_1: seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1037), "seL4_Fault_UnknownSyscall_set_FaultIP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1037), "seL4_Fault_UnknownSyscall_set_FaultIP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1039), "seL4_Fault_UnknownSyscall_set_FaultIP"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1039), "seL4_Fault_UnknownSyscall_set_FaultIP"); } if (!false) break; } @@ -1710,7 +1706,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_FaultIP(arg_seL4_Fault_ptr: [*c]seL4_Fa _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1050), "seL4_Fault_UnknownSyscall_ptr_get_FaultIP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1050), "seL4_Fault_UnknownSyscall_ptr_get_FaultIP"); } if (!false) break; } @@ -1727,13 +1723,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_FaultIP(arg_seL4_Fault_ptr: [*c]seL4_Fa _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1064), "seL4_Fault_UnknownSyscall_ptr_set_FaultIP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1064), "seL4_Fault_UnknownSyscall_ptr_set_FaultIP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1067), "seL4_Fault_UnknownSyscall_ptr_set_FaultIP"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1067), "seL4_Fault_UnknownSyscall_ptr_set_FaultIP"); } if (!false) break; } @@ -1747,7 +1743,7 @@ pub fn seL4_Fault_UnknownSyscall_get_SP(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1077), "seL4_Fault_UnknownSyscall_get_SP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1077), "seL4_Fault_UnknownSyscall_get_SP"); } if (!false) break; } @@ -1764,13 +1760,13 @@ pub fn seL4_Fault_UnknownSyscall_set_SP(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1090), "seL4_Fault_UnknownSyscall_set_SP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1090), "seL4_Fault_UnknownSyscall_set_SP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1092), "seL4_Fault_UnknownSyscall_set_SP"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1092), "seL4_Fault_UnknownSyscall_set_SP"); } if (!false) break; } @@ -1785,7 +1781,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_SP(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1103), "seL4_Fault_UnknownSyscall_ptr_get_SP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1103), "seL4_Fault_UnknownSyscall_ptr_get_SP"); } if (!false) break; } @@ -1802,13 +1798,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_SP(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1117), "seL4_Fault_UnknownSyscall_ptr_set_SP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1117), "seL4_Fault_UnknownSyscall_ptr_set_SP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1120), "seL4_Fault_UnknownSyscall_ptr_set_SP"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1120), "seL4_Fault_UnknownSyscall_ptr_set_SP"); } if (!false) break; } @@ -1822,7 +1818,7 @@ pub fn seL4_Fault_UnknownSyscall_get_LR(arg_seL4_Fault_1: seL4_Fault_t) callconv _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1130), "seL4_Fault_UnknownSyscall_get_LR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1130), "seL4_Fault_UnknownSyscall_get_LR"); } if (!false) break; } @@ -1839,13 +1835,13 @@ pub fn seL4_Fault_UnknownSyscall_set_LR(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1143), "seL4_Fault_UnknownSyscall_set_LR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1143), "seL4_Fault_UnknownSyscall_set_LR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1145), "seL4_Fault_UnknownSyscall_set_LR"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1145), "seL4_Fault_UnknownSyscall_set_LR"); } if (!false) break; } @@ -1860,7 +1856,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_LR(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1156), "seL4_Fault_UnknownSyscall_ptr_get_LR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1156), "seL4_Fault_UnknownSyscall_ptr_get_LR"); } if (!false) break; } @@ -1877,13 +1873,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_LR(arg_seL4_Fault_ptr: [*c]seL4_Fault_t _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1170), "seL4_Fault_UnknownSyscall_ptr_set_LR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1170), "seL4_Fault_UnknownSyscall_ptr_set_LR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1173), "seL4_Fault_UnknownSyscall_ptr_set_LR"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1173), "seL4_Fault_UnknownSyscall_ptr_set_LR"); } if (!false) break; } @@ -1897,7 +1893,7 @@ pub fn seL4_Fault_UnknownSyscall_get_SPSR(arg_seL4_Fault_1: seL4_Fault_t) callco _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1183), "seL4_Fault_UnknownSyscall_get_SPSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1183), "seL4_Fault_UnknownSyscall_get_SPSR"); } if (!false) break; } @@ -1914,13 +1910,13 @@ pub fn seL4_Fault_UnknownSyscall_set_SPSR(arg_seL4_Fault_1: seL4_Fault_t, arg_v6 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1196), "seL4_Fault_UnknownSyscall_set_SPSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1196), "seL4_Fault_UnknownSyscall_set_SPSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1198), "seL4_Fault_UnknownSyscall_set_SPSR"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1198), "seL4_Fault_UnknownSyscall_set_SPSR"); } if (!false) break; } @@ -1935,7 +1931,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_SPSR(arg_seL4_Fault_ptr: [*c]seL4_Fault _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1209), "seL4_Fault_UnknownSyscall_ptr_get_SPSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1209), "seL4_Fault_UnknownSyscall_ptr_get_SPSR"); } if (!false) break; } @@ -1952,13 +1948,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_SPSR(arg_seL4_Fault_ptr: [*c]seL4_Fault _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1223), "seL4_Fault_UnknownSyscall_ptr_set_SPSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1223), "seL4_Fault_UnknownSyscall_ptr_set_SPSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1226), "seL4_Fault_UnknownSyscall_ptr_set_SPSR"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1226), "seL4_Fault_UnknownSyscall_ptr_set_SPSR"); } if (!false) break; } @@ -1972,7 +1968,7 @@ pub fn seL4_Fault_UnknownSyscall_get_Syscall(arg_seL4_Fault_1: seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1236), "seL4_Fault_UnknownSyscall_get_Syscall"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1236), "seL4_Fault_UnknownSyscall_get_Syscall"); } if (!false) break; } @@ -1989,13 +1985,13 @@ pub fn seL4_Fault_UnknownSyscall_set_Syscall(arg_seL4_Fault_1: seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1249), "seL4_Fault_UnknownSyscall_set_Syscall"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1249), "seL4_Fault_UnknownSyscall_set_Syscall"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1251), "seL4_Fault_UnknownSyscall_set_Syscall"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1251), "seL4_Fault_UnknownSyscall_set_Syscall"); } if (!false) break; } @@ -2010,7 +2006,7 @@ pub fn seL4_Fault_UnknownSyscall_ptr_get_Syscall(arg_seL4_Fault_ptr: [*c]seL4_Fa _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1262), "seL4_Fault_UnknownSyscall_ptr_get_Syscall"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1262), "seL4_Fault_UnknownSyscall_ptr_get_Syscall"); } if (!false) break; } @@ -2027,13 +2023,13 @@ pub fn seL4_Fault_UnknownSyscall_ptr_set_Syscall(arg_seL4_Fault_ptr: [*c]seL4_Fa _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UnknownSyscall))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1276), "seL4_Fault_UnknownSyscall_ptr_set_Syscall"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UnknownSyscall", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1276), "seL4_Fault_UnknownSyscall_ptr_set_Syscall"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1279), "seL4_Fault_UnknownSyscall_ptr_set_Syscall"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1279), "seL4_Fault_UnknownSyscall_ptr_set_Syscall"); } if (!false) break; } @@ -2055,7 +2051,7 @@ pub fn seL4_Fault_UserException_new(arg_FaultIP: seL4_Uint64, arg_Stack: seL4_Ui _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_UserException & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UserException & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1290), "seL4_Fault_UserException_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_UserException & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UserException & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1290), "seL4_Fault_UserException_new"); } if (!false) break; } @@ -2090,7 +2086,7 @@ pub fn seL4_Fault_UserException_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, ar _ = &Code; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_UserException & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UserException & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1319), "seL4_Fault_UserException_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_UserException & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_UserException & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1319), "seL4_Fault_UserException_ptr_new"); } if (!false) break; } @@ -2116,7 +2112,7 @@ pub fn seL4_Fault_UserException_get_FaultIP(arg_seL4_Fault_1: seL4_Fault_t) call _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1347), "seL4_Fault_UserException_get_FaultIP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1347), "seL4_Fault_UserException_get_FaultIP"); } if (!false) break; } @@ -2133,13 +2129,13 @@ pub fn seL4_Fault_UserException_set_FaultIP(arg_seL4_Fault_1: seL4_Fault_t, arg_ _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1360), "seL4_Fault_UserException_set_FaultIP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1360), "seL4_Fault_UserException_set_FaultIP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1362), "seL4_Fault_UserException_set_FaultIP"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1362), "seL4_Fault_UserException_set_FaultIP"); } if (!false) break; } @@ -2154,7 +2150,7 @@ pub fn seL4_Fault_UserException_ptr_get_FaultIP(arg_seL4_Fault_ptr: [*c]seL4_Fau _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1373), "seL4_Fault_UserException_ptr_get_FaultIP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1373), "seL4_Fault_UserException_ptr_get_FaultIP"); } if (!false) break; } @@ -2171,13 +2167,13 @@ pub fn seL4_Fault_UserException_ptr_set_FaultIP(arg_seL4_Fault_ptr: [*c]seL4_Fau _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1387), "seL4_Fault_UserException_ptr_set_FaultIP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1387), "seL4_Fault_UserException_ptr_set_FaultIP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1390), "seL4_Fault_UserException_ptr_set_FaultIP"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1390), "seL4_Fault_UserException_ptr_set_FaultIP"); } if (!false) break; } @@ -2191,7 +2187,7 @@ pub fn seL4_Fault_UserException_get_Stack(arg_seL4_Fault_1: seL4_Fault_t) callco _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1400), "seL4_Fault_UserException_get_Stack"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1400), "seL4_Fault_UserException_get_Stack"); } if (!false) break; } @@ -2208,13 +2204,13 @@ pub fn seL4_Fault_UserException_set_Stack(arg_seL4_Fault_1: seL4_Fault_t, arg_v6 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1413), "seL4_Fault_UserException_set_Stack"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1413), "seL4_Fault_UserException_set_Stack"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1415), "seL4_Fault_UserException_set_Stack"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1415), "seL4_Fault_UserException_set_Stack"); } if (!false) break; } @@ -2229,7 +2225,7 @@ pub fn seL4_Fault_UserException_ptr_get_Stack(arg_seL4_Fault_ptr: [*c]seL4_Fault _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1426), "seL4_Fault_UserException_ptr_get_Stack"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1426), "seL4_Fault_UserException_ptr_get_Stack"); } if (!false) break; } @@ -2246,13 +2242,13 @@ pub fn seL4_Fault_UserException_ptr_set_Stack(arg_seL4_Fault_ptr: [*c]seL4_Fault _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1440), "seL4_Fault_UserException_ptr_set_Stack"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1440), "seL4_Fault_UserException_ptr_set_Stack"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1443), "seL4_Fault_UserException_ptr_set_Stack"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1443), "seL4_Fault_UserException_ptr_set_Stack"); } if (!false) break; } @@ -2266,7 +2262,7 @@ pub fn seL4_Fault_UserException_get_SPSR(arg_seL4_Fault_1: seL4_Fault_t) callcon _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1453), "seL4_Fault_UserException_get_SPSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1453), "seL4_Fault_UserException_get_SPSR"); } if (!false) break; } @@ -2283,13 +2279,13 @@ pub fn seL4_Fault_UserException_set_SPSR(arg_seL4_Fault_1: seL4_Fault_t, arg_v64 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1466), "seL4_Fault_UserException_set_SPSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1466), "seL4_Fault_UserException_set_SPSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1468), "seL4_Fault_UserException_set_SPSR"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1468), "seL4_Fault_UserException_set_SPSR"); } if (!false) break; } @@ -2304,7 +2300,7 @@ pub fn seL4_Fault_UserException_ptr_get_SPSR(arg_seL4_Fault_ptr: [*c]seL4_Fault_ _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1479), "seL4_Fault_UserException_ptr_get_SPSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1479), "seL4_Fault_UserException_ptr_get_SPSR"); } if (!false) break; } @@ -2321,13 +2317,13 @@ pub fn seL4_Fault_UserException_ptr_set_SPSR(arg_seL4_Fault_ptr: [*c]seL4_Fault_ _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1493), "seL4_Fault_UserException_ptr_set_SPSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1493), "seL4_Fault_UserException_ptr_set_SPSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1496), "seL4_Fault_UserException_ptr_set_SPSR"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1496), "seL4_Fault_UserException_ptr_set_SPSR"); } if (!false) break; } @@ -2341,7 +2337,7 @@ pub fn seL4_Fault_UserException_get_Number(arg_seL4_Fault_1: seL4_Fault_t) callc _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1506), "seL4_Fault_UserException_get_Number"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1506), "seL4_Fault_UserException_get_Number"); } if (!false) break; } @@ -2358,13 +2354,13 @@ pub fn seL4_Fault_UserException_set_Number(arg_seL4_Fault_1: seL4_Fault_t, arg_v _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1519), "seL4_Fault_UserException_set_Number"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1519), "seL4_Fault_UserException_set_Number"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1521), "seL4_Fault_UserException_set_Number"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1521), "seL4_Fault_UserException_set_Number"); } if (!false) break; } @@ -2379,7 +2375,7 @@ pub fn seL4_Fault_UserException_ptr_get_Number(arg_seL4_Fault_ptr: [*c]seL4_Faul _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1532), "seL4_Fault_UserException_ptr_get_Number"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1532), "seL4_Fault_UserException_ptr_get_Number"); } if (!false) break; } @@ -2396,13 +2392,13 @@ pub fn seL4_Fault_UserException_ptr_set_Number(arg_seL4_Fault_ptr: [*c]seL4_Faul _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1546), "seL4_Fault_UserException_ptr_set_Number"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1546), "seL4_Fault_UserException_ptr_set_Number"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1549), "seL4_Fault_UserException_ptr_set_Number"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1549), "seL4_Fault_UserException_ptr_set_Number"); } if (!false) break; } @@ -2416,7 +2412,7 @@ pub fn seL4_Fault_UserException_get_Code(arg_seL4_Fault_1: seL4_Fault_t) callcon _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1559), "seL4_Fault_UserException_get_Code"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1559), "seL4_Fault_UserException_get_Code"); } if (!false) break; } @@ -2433,13 +2429,13 @@ pub fn seL4_Fault_UserException_set_Code(arg_seL4_Fault_1: seL4_Fault_t, arg_v64 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1572), "seL4_Fault_UserException_set_Code"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1572), "seL4_Fault_UserException_set_Code"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1574), "seL4_Fault_UserException_set_Code"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1574), "seL4_Fault_UserException_set_Code"); } if (!false) break; } @@ -2454,7 +2450,7 @@ pub fn seL4_Fault_UserException_ptr_get_Code(arg_seL4_Fault_ptr: [*c]seL4_Fault_ _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1585), "seL4_Fault_UserException_ptr_get_Code"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1585), "seL4_Fault_UserException_ptr_get_Code"); } if (!false) break; } @@ -2471,13 +2467,13 @@ pub fn seL4_Fault_UserException_ptr_set_Code(arg_seL4_Fault_ptr: [*c]seL4_Fault_ _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_UserException))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1599), "seL4_Fault_UserException_ptr_set_Code"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_UserException", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1599), "seL4_Fault_UserException_ptr_set_Code"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1602), "seL4_Fault_UserException_ptr_set_Code"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1602), "seL4_Fault_UserException_ptr_set_Code"); } if (!false) break; } @@ -2493,7 +2489,7 @@ pub fn seL4_Fault_Timeout_new(arg_data: seL4_Uint64, arg_consumed: seL4_Uint64) _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_Timeout & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_Timeout & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1613), "seL4_Fault_Timeout_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_Timeout & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_Timeout & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1613), "seL4_Fault_Timeout_new"); } if (!false) break; } @@ -2522,7 +2518,7 @@ pub fn seL4_Fault_Timeout_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_data _ = &consumed; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_Timeout & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_Timeout & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1639), "seL4_Fault_Timeout_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_Timeout & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_Timeout & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1639), "seL4_Fault_Timeout_ptr_new"); } if (!false) break; } @@ -2548,7 +2544,7 @@ pub fn seL4_Fault_Timeout_get_data(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1664), "seL4_Fault_Timeout_get_data"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1664), "seL4_Fault_Timeout_get_data"); } if (!false) break; } @@ -2565,13 +2561,13 @@ pub fn seL4_Fault_Timeout_set_data(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1677), "seL4_Fault_Timeout_set_data"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1677), "seL4_Fault_Timeout_set_data"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1679), "seL4_Fault_Timeout_set_data"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1679), "seL4_Fault_Timeout_set_data"); } if (!false) break; } @@ -2586,7 +2582,7 @@ pub fn seL4_Fault_Timeout_ptr_get_data(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1690), "seL4_Fault_Timeout_ptr_get_data"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1690), "seL4_Fault_Timeout_ptr_get_data"); } if (!false) break; } @@ -2603,13 +2599,13 @@ pub fn seL4_Fault_Timeout_ptr_set_data(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1704), "seL4_Fault_Timeout_ptr_set_data"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1704), "seL4_Fault_Timeout_ptr_set_data"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1707), "seL4_Fault_Timeout_ptr_set_data"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1707), "seL4_Fault_Timeout_ptr_set_data"); } if (!false) break; } @@ -2623,7 +2619,7 @@ pub fn seL4_Fault_Timeout_get_consumed(arg_seL4_Fault_1: seL4_Fault_t) callconv( _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1717), "seL4_Fault_Timeout_get_consumed"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1717), "seL4_Fault_Timeout_get_consumed"); } if (!false) break; } @@ -2640,13 +2636,13 @@ pub fn seL4_Fault_Timeout_set_consumed(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1730), "seL4_Fault_Timeout_set_consumed"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1730), "seL4_Fault_Timeout_set_consumed"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1732), "seL4_Fault_Timeout_set_consumed"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1732), "seL4_Fault_Timeout_set_consumed"); } if (!false) break; } @@ -2661,7 +2657,7 @@ pub fn seL4_Fault_Timeout_ptr_get_consumed(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1743), "seL4_Fault_Timeout_ptr_get_consumed"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1743), "seL4_Fault_Timeout_ptr_get_consumed"); } if (!false) break; } @@ -2678,13 +2674,13 @@ pub fn seL4_Fault_Timeout_ptr_set_consumed(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_Timeout))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1757), "seL4_Fault_Timeout_ptr_set_consumed"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_Timeout", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1757), "seL4_Fault_Timeout_ptr_set_consumed"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1760), "seL4_Fault_Timeout_ptr_set_consumed"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1760), "seL4_Fault_Timeout_ptr_set_consumed"); } if (!false) break; } @@ -2704,7 +2700,7 @@ pub fn seL4_Fault_VMFault_new(arg_IP: seL4_Uint64, arg_Addr: seL4_Uint64, arg_Pr _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VMFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VMFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1771), "seL4_Fault_VMFault_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VMFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VMFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1771), "seL4_Fault_VMFault_new"); } if (!false) break; } @@ -2737,7 +2733,7 @@ pub fn seL4_Fault_VMFault_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_IP: _ = &FSR; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VMFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VMFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1799), "seL4_Fault_VMFault_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VMFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VMFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1799), "seL4_Fault_VMFault_ptr_new"); } if (!false) break; } @@ -2763,7 +2759,7 @@ pub fn seL4_Fault_VMFault_get_IP(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) se _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1826), "seL4_Fault_VMFault_get_IP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1826), "seL4_Fault_VMFault_get_IP"); } if (!false) break; } @@ -2780,13 +2776,13 @@ pub fn seL4_Fault_VMFault_set_IP(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4_U _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1839), "seL4_Fault_VMFault_set_IP"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1839), "seL4_Fault_VMFault_set_IP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1841), "seL4_Fault_VMFault_set_IP"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1841), "seL4_Fault_VMFault_set_IP"); } if (!false) break; } @@ -2801,7 +2797,7 @@ pub fn seL4_Fault_VMFault_ptr_get_IP(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) callc _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1852), "seL4_Fault_VMFault_ptr_get_IP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1852), "seL4_Fault_VMFault_ptr_get_IP"); } if (!false) break; } @@ -2818,13 +2814,13 @@ pub fn seL4_Fault_VMFault_ptr_set_IP(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_v _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1866), "seL4_Fault_VMFault_ptr_set_IP"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1866), "seL4_Fault_VMFault_ptr_set_IP"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1869), "seL4_Fault_VMFault_ptr_set_IP"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1869), "seL4_Fault_VMFault_ptr_set_IP"); } if (!false) break; } @@ -2838,7 +2834,7 @@ pub fn seL4_Fault_VMFault_get_Addr(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1879), "seL4_Fault_VMFault_get_Addr"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1879), "seL4_Fault_VMFault_get_Addr"); } if (!false) break; } @@ -2855,13 +2851,13 @@ pub fn seL4_Fault_VMFault_set_Addr(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1892), "seL4_Fault_VMFault_set_Addr"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1892), "seL4_Fault_VMFault_set_Addr"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1894), "seL4_Fault_VMFault_set_Addr"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1894), "seL4_Fault_VMFault_set_Addr"); } if (!false) break; } @@ -2876,7 +2872,7 @@ pub fn seL4_Fault_VMFault_ptr_get_Addr(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) cal _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1905), "seL4_Fault_VMFault_ptr_get_Addr"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1905), "seL4_Fault_VMFault_ptr_get_Addr"); } if (!false) break; } @@ -2893,13 +2889,13 @@ pub fn seL4_Fault_VMFault_ptr_set_Addr(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1919), "seL4_Fault_VMFault_ptr_set_Addr"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1919), "seL4_Fault_VMFault_ptr_set_Addr"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1922), "seL4_Fault_VMFault_ptr_set_Addr"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1922), "seL4_Fault_VMFault_ptr_set_Addr"); } if (!false) break; } @@ -2913,7 +2909,7 @@ pub fn seL4_Fault_VMFault_get_PrefetchFault(arg_seL4_Fault_1: seL4_Fault_t) call _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1932), "seL4_Fault_VMFault_get_PrefetchFault"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1932), "seL4_Fault_VMFault_get_PrefetchFault"); } if (!false) break; } @@ -2930,13 +2926,13 @@ pub fn seL4_Fault_VMFault_set_PrefetchFault(arg_seL4_Fault_1: seL4_Fault_t, arg_ _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1945), "seL4_Fault_VMFault_set_PrefetchFault"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1945), "seL4_Fault_VMFault_set_PrefetchFault"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1947), "seL4_Fault_VMFault_set_PrefetchFault"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1947), "seL4_Fault_VMFault_set_PrefetchFault"); } if (!false) break; } @@ -2951,7 +2947,7 @@ pub fn seL4_Fault_VMFault_ptr_get_PrefetchFault(arg_seL4_Fault_ptr: [*c]seL4_Fau _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1958), "seL4_Fault_VMFault_ptr_get_PrefetchFault"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1958), "seL4_Fault_VMFault_ptr_get_PrefetchFault"); } if (!false) break; } @@ -2968,13 +2964,13 @@ pub fn seL4_Fault_VMFault_ptr_set_PrefetchFault(arg_seL4_Fault_ptr: [*c]seL4_Fau _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1972), "seL4_Fault_VMFault_ptr_set_PrefetchFault"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1972), "seL4_Fault_VMFault_ptr_set_PrefetchFault"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1975), "seL4_Fault_VMFault_ptr_set_PrefetchFault"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1975), "seL4_Fault_VMFault_ptr_set_PrefetchFault"); } if (!false) break; } @@ -2988,7 +2984,7 @@ pub fn seL4_Fault_VMFault_get_FSR(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) s _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1985), "seL4_Fault_VMFault_get_FSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1985), "seL4_Fault_VMFault_get_FSR"); } if (!false) break; } @@ -3005,13 +3001,13 @@ pub fn seL4_Fault_VMFault_set_FSR(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL4_ _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1998), "seL4_Fault_VMFault_set_FSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 1998), "seL4_Fault_VMFault_set_FSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2000), "seL4_Fault_VMFault_set_FSR"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2000), "seL4_Fault_VMFault_set_FSR"); } if (!false) break; } @@ -3026,7 +3022,7 @@ pub fn seL4_Fault_VMFault_ptr_get_FSR(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) call _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2011), "seL4_Fault_VMFault_ptr_get_FSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2011), "seL4_Fault_VMFault_ptr_get_FSR"); } if (!false) break; } @@ -3043,13 +3039,13 @@ pub fn seL4_Fault_VMFault_ptr_set_FSR(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_ _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VMFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2025), "seL4_Fault_VMFault_ptr_set_FSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VMFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2025), "seL4_Fault_VMFault_ptr_set_FSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2028), "seL4_Fault_VMFault_ptr_set_FSR"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2028), "seL4_Fault_VMFault_ptr_set_FSR"); } if (!false) break; } @@ -3063,7 +3059,7 @@ pub fn seL4_Fault_VGICMaintenance_new(arg_IDX: seL4_Uint64) callconv(.C) seL4_Fa _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VGICMaintenance & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VGICMaintenance & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2039), "seL4_Fault_VGICMaintenance_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VGICMaintenance & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VGICMaintenance & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2039), "seL4_Fault_VGICMaintenance_new"); } if (!false) break; } @@ -3090,7 +3086,7 @@ pub fn seL4_Fault_VGICMaintenance_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, _ = &IDX; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VGICMaintenance & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VGICMaintenance & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2064), "seL4_Fault_VGICMaintenance_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VGICMaintenance & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VGICMaintenance & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2064), "seL4_Fault_VGICMaintenance_ptr_new"); } if (!false) break; } @@ -3116,7 +3112,7 @@ pub fn seL4_Fault_VGICMaintenance_get_IDX(arg_seL4_Fault_1: seL4_Fault_t) callco _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2088), "seL4_Fault_VGICMaintenance_get_IDX"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2088), "seL4_Fault_VGICMaintenance_get_IDX"); } if (!false) break; } @@ -3133,13 +3129,13 @@ pub fn seL4_Fault_VGICMaintenance_set_IDX(arg_seL4_Fault_1: seL4_Fault_t, arg_v6 _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2101), "seL4_Fault_VGICMaintenance_set_IDX"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2101), "seL4_Fault_VGICMaintenance_set_IDX"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2103), "seL4_Fault_VGICMaintenance_set_IDX"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2103), "seL4_Fault_VGICMaintenance_set_IDX"); } if (!false) break; } @@ -3154,7 +3150,7 @@ pub fn seL4_Fault_VGICMaintenance_ptr_get_IDX(arg_seL4_Fault_ptr: [*c]seL4_Fault _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2114), "seL4_Fault_VGICMaintenance_ptr_get_IDX"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2114), "seL4_Fault_VGICMaintenance_ptr_get_IDX"); } if (!false) break; } @@ -3171,13 +3167,13 @@ pub fn seL4_Fault_VGICMaintenance_ptr_set_IDX(arg_seL4_Fault_ptr: [*c]seL4_Fault _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VGICMaintenance))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2128), "seL4_Fault_VGICMaintenance_ptr_set_IDX"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VGICMaintenance", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2128), "seL4_Fault_VGICMaintenance_ptr_set_IDX"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2131), "seL4_Fault_VGICMaintenance_ptr_set_IDX"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2131), "seL4_Fault_VGICMaintenance_ptr_set_IDX"); } if (!false) break; } @@ -3191,13 +3187,13 @@ pub fn seL4_Fault_VCPUFault_new(arg_HSR: seL4_Uint64) callconv(.C) seL4_Fault_t _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, HSR))) & ~@as(c_ulonglong, 4294967295)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, HSR))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(HSR & ~0xffffffffull) == ((0 && (HSR & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2142), "seL4_Fault_VCPUFault_new"); + __assert_fail("(HSR & ~0xffffffffull) == ((0 && (HSR & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2142), "seL4_Fault_VCPUFault_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VCPUFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VCPUFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2143), "seL4_Fault_VCPUFault_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VCPUFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VCPUFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2143), "seL4_Fault_VCPUFault_new"); } if (!false) break; } @@ -3224,13 +3220,13 @@ pub fn seL4_Fault_VCPUFault_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_HS _ = &HSR; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, HSR))) & ~@as(c_ulonglong, 4294967295)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, HSR))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(HSR & ~0xffffffffull) == ((0 && (HSR & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2168), "seL4_Fault_VCPUFault_ptr_new"); + __assert_fail("(HSR & ~0xffffffffull) == ((0 && (HSR & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2168), "seL4_Fault_VCPUFault_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VCPUFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VCPUFault & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2169), "seL4_Fault_VCPUFault_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VCPUFault & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VCPUFault & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2169), "seL4_Fault_VCPUFault_ptr_new"); } if (!false) break; } @@ -3256,7 +3252,7 @@ pub fn seL4_Fault_VCPUFault_get_HSR(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2193), "seL4_Fault_VCPUFault_get_HSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2193), "seL4_Fault_VCPUFault_get_HSR"); } if (!false) break; } @@ -3273,13 +3269,13 @@ pub fn seL4_Fault_VCPUFault_set_HSR(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2206), "seL4_Fault_VCPUFault_set_HSR"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2206), "seL4_Fault_VCPUFault_set_HSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 4294967295) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2208), "seL4_Fault_VCPUFault_set_HSR"); + __assert_fail("(((~0xffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2208), "seL4_Fault_VCPUFault_set_HSR"); } if (!false) break; } @@ -3294,7 +3290,7 @@ pub fn seL4_Fault_VCPUFault_ptr_get_HSR(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) ca _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2219), "seL4_Fault_VCPUFault_ptr_get_HSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2219), "seL4_Fault_VCPUFault_ptr_get_HSR"); } if (!false) break; } @@ -3311,13 +3307,13 @@ pub fn seL4_Fault_VCPUFault_ptr_set_HSR(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, ar _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VCPUFault))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2233), "seL4_Fault_VCPUFault_ptr_set_HSR"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VCPUFault", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2233), "seL4_Fault_VCPUFault_ptr_set_HSR"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 4294967295) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2236), "seL4_Fault_VCPUFault_ptr_set_HSR"); + __assert_fail("(((~0xffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2236), "seL4_Fault_VCPUFault_ptr_set_HSR"); } if (!false) break; } @@ -3331,7 +3327,7 @@ pub fn seL4_Fault_VPPIEvent_new(arg_irq: seL4_Uint64) callconv(.C) seL4_Fault_t _ = &seL4_Fault_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VPPIEvent & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VPPIEvent & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2247), "seL4_Fault_VPPIEvent_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VPPIEvent & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VPPIEvent & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2247), "seL4_Fault_VPPIEvent_new"); } if (!false) break; } @@ -3358,7 +3354,7 @@ pub fn seL4_Fault_VPPIEvent_ptr_new(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, arg_ir _ = &irq; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent)))))) & ~@as(c_ulonglong, 15)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent)))))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("((seL4_Uint64)seL4_Fault_VPPIEvent & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VPPIEvent & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2272), "seL4_Fault_VPPIEvent_ptr_new"); + __assert_fail("((seL4_Uint64)seL4_Fault_VPPIEvent & ~0xfull) == ((0 && ((seL4_Uint64)seL4_Fault_VPPIEvent & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2272), "seL4_Fault_VPPIEvent_ptr_new"); } if (!false) break; } @@ -3384,7 +3380,7 @@ pub fn seL4_Fault_VPPIEvent_get_irq(arg_seL4_Fault_1: seL4_Fault_t) callconv(.C) _ = &ret; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2296), "seL4_Fault_VPPIEvent_get_irq"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2296), "seL4_Fault_VPPIEvent_get_irq"); } if (!false) break; } @@ -3401,13 +3397,13 @@ pub fn seL4_Fault_VPPIEvent_set_irq(arg_seL4_Fault_1: seL4_Fault_t, arg_v64: seL _ = &v64; while (true) { if (!(((seL4_Fault_1.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent))))) { - __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2309), "seL4_Fault_VPPIEvent_set_irq"); + __assert_fail("((seL4_Fault.words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2309), "seL4_Fault_VPPIEvent_set_irq"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2311), "seL4_Fault_VPPIEvent_set_irq"); + __assert_fail("(((~0xffffffffffffffffull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2311), "seL4_Fault_VPPIEvent_set_irq"); } if (!false) break; } @@ -3422,7 +3418,7 @@ pub fn seL4_Fault_VPPIEvent_ptr_get_irq(arg_seL4_Fault_ptr: [*c]seL4_Fault_t) ca _ = &ret; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2322), "seL4_Fault_VPPIEvent_ptr_get_irq"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2322), "seL4_Fault_VPPIEvent_ptr_get_irq"); } if (!false) break; } @@ -3439,13 +3435,13 @@ pub fn seL4_Fault_VPPIEvent_ptr_set_irq(arg_seL4_Fault_ptr: [*c]seL4_Fault_t, ar _ = &v64; while (true) { if (!(((seL4_Fault_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] >> @intCast(0)) & @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 15))))) == @as(seL4_Uint64, @bitCast(@as(c_long, seL4_Fault_VPPIEvent))))) { - __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2336), "seL4_Fault_VPPIEvent_ptr_set_irq"); + __assert_fail("((seL4_Fault_ptr->words[0] >> 0) & 0xf) == seL4_Fault_VPPIEvent", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2336), "seL4_Fault_VPPIEvent_ptr_set_irq"); } if (!false) break; } while (true) { if (!((((~@as(c_ulonglong, 18446744073709551615) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2339), "seL4_Fault_VPPIEvent_ptr_set_irq"); + __assert_fail("(((~0xffffffffffffffffull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/types_gen.h", @as(c_int, 2339), "seL4_Fault_VPPIEvent_ptr_set_irq"); } if (!false) break; } @@ -3515,18 +3511,20 @@ pub const seL4_MaxPrio: c_int = 255; pub const enum_priorityConstants = c_int; pub const seL4_MsgLengthBits: c_int = 7; pub const seL4_MsgExtraCapBits: c_int = 2; -pub const enum_seL4_MsgLimits = c_uint; pub const seL4_MsgMaxLength: c_int = 120; -const enum_unnamed_1 = c_uint; +pub const enum_seL4_MsgLimits = c_uint; pub const seL4_NoFailure: c_int = 0; pub const seL4_InvalidRoot: c_int = 1; pub const seL4_MissingCapability: c_int = 2; pub const seL4_DepthMismatch: c_int = 3; pub const seL4_GuardMismatch: c_int = 4; pub const _enum_pad_seL4_LookupFailureType: c_ulong = 9223372036854775807; -pub const seL4_LookupFailureType = c_ulong; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_LookupFailureType = c_ulong; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub fn seL4_MaxExtraRefills(arg_size: seL4_Word) callconv(.C) seL4_Word { var size = arg_size; _ = &size; @@ -3549,13 +3547,13 @@ pub fn seL4_CNode_CapData_new(arg_guard: seL4_Uint64, arg_guardSize: seL4_Uint64 _ = &seL4_CNode_CapData_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guard))) & ~@as(c_ulonglong, 288230376151711743)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guard))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(guard & ~0x3ffffffffffffffull) == ((0 && (guard & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 18), "seL4_CNode_CapData_new"); + __assert_fail("(guard & ~0x3ffffffffffffffull) == ((0 && (guard & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 18), "seL4_CNode_CapData_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guardSize))) & ~@as(c_ulonglong, 63)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guardSize))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(guardSize & ~0x3full) == ((0 && (guardSize & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 19), "seL4_CNode_CapData_new"); + __assert_fail("(guardSize & ~0x3full) == ((0 && (guardSize & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 19), "seL4_CNode_CapData_new"); } if (!false) break; } @@ -3571,13 +3569,13 @@ pub fn seL4_CNode_CapData_ptr_new(arg_seL4_CNode_CapData_ptr: [*c]seL4_CNode_Cap _ = &guardSize; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guard))) & ~@as(c_ulonglong, 288230376151711743)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guard))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(guard & ~0x3ffffffffffffffull) == ((0 && (guard & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 31), "seL4_CNode_CapData_ptr_new"); + __assert_fail("(guard & ~0x3ffffffffffffffull) == ((0 && (guard & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 31), "seL4_CNode_CapData_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guardSize))) & ~@as(c_ulonglong, 63)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, guardSize))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(guardSize & ~0x3full) == ((0 && (guardSize & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 32), "seL4_CNode_CapData_ptr_new"); + __assert_fail("(guardSize & ~0x3full) == ((0 && (guardSize & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 32), "seL4_CNode_CapData_ptr_new"); } if (!false) break; } @@ -3601,7 +3599,7 @@ pub fn seL4_CNode_CapData_set_guard(arg_seL4_CNode_CapData_1: seL4_CNode_CapData _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 18446744073709551552) >> @intCast(6)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffc0ull >> 6 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 53), "seL4_CNode_CapData_set_guard"); + __assert_fail("(((~0xffffffffffffffc0ull >> 6 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 53), "seL4_CNode_CapData_set_guard"); } if (!false) break; } @@ -3627,12 +3625,12 @@ pub fn seL4_CNode_CapData_ptr_set_guard(arg_seL4_CNode_CapData_ptr: [*c]seL4_CNo _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 18446744073709551552) >> @intCast(6)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xffffffffffffffc0ull >> 6) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 73), "seL4_CNode_CapData_ptr_set_guard"); + __assert_fail("(((~0xffffffffffffffc0ull >> 6) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 73), "seL4_CNode_CapData_ptr_set_guard"); } if (!false) break; } seL4_CNode_CapData_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] &= @as(seL4_Uint64, @bitCast(@as(c_ulong, @truncate(~@as(c_ulonglong, 18446744073709551552))))); - seL4_CNode_CapData_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] |= (v64 << @intCast(6)) & @as(c_ulong, 18446744073709551552); + seL4_CNode_CapData_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] |= @as(seL4_Uint64, @bitCast((v64 << @intCast(6)) & @as(c_ulong, 18446744073709551552))); } pub fn seL4_CNode_CapData_get_guardSize(arg_seL4_CNode_CapData_1: seL4_CNode_CapData_t) callconv(.C) seL4_Uint64 { var seL4_CNode_CapData_1 = arg_seL4_CNode_CapData_1; @@ -3652,7 +3650,7 @@ pub fn seL4_CNode_CapData_set_guardSize(arg_seL4_CNode_CapData_1: seL4_CNode_Cap _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 63) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x3full >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 92), "seL4_CNode_CapData_set_guardSize"); + __assert_fail("(((~0x3full >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 92), "seL4_CNode_CapData_set_guardSize"); } if (!false) break; } @@ -3678,7 +3676,7 @@ pub fn seL4_CNode_CapData_ptr_set_guardSize(arg_seL4_CNode_CapData_ptr: [*c]seL4 _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 63) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x3full >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 112), "seL4_CNode_CapData_ptr_set_guardSize"); + __assert_fail("(((~0x3full >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 112), "seL4_CNode_CapData_ptr_set_guardSize"); } if (!false) break; } @@ -3702,25 +3700,25 @@ pub fn seL4_CapRights_new(arg_capAllowGrantReply: seL4_Uint64, arg_capAllowGrant _ = &seL4_CapRights_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrantReply))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrantReply))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowGrantReply & ~0x1ull) == ((0 && (capAllowGrantReply & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 127), "seL4_CapRights_new"); + __assert_fail("(capAllowGrantReply & ~0x1ull) == ((0 && (capAllowGrantReply & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 127), "seL4_CapRights_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrant))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrant))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowGrant & ~0x1ull) == ((0 && (capAllowGrant & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 128), "seL4_CapRights_new"); + __assert_fail("(capAllowGrant & ~0x1ull) == ((0 && (capAllowGrant & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 128), "seL4_CapRights_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowRead))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowRead))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowRead & ~0x1ull) == ((0 && (capAllowRead & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 129), "seL4_CapRights_new"); + __assert_fail("(capAllowRead & ~0x1ull) == ((0 && (capAllowRead & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 129), "seL4_CapRights_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowWrite))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowWrite))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowWrite & ~0x1ull) == ((0 && (capAllowWrite & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 130), "seL4_CapRights_new"); + __assert_fail("(capAllowWrite & ~0x1ull) == ((0 && (capAllowWrite & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 130), "seL4_CapRights_new"); } if (!false) break; } @@ -3740,25 +3738,25 @@ pub fn seL4_CapRights_ptr_new(arg_seL4_CapRights_ptr: [*c]seL4_CapRights_t, arg_ _ = &capAllowWrite; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrantReply))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrantReply))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowGrantReply & ~0x1ull) == ((0 && (capAllowGrantReply & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 144), "seL4_CapRights_ptr_new"); + __assert_fail("(capAllowGrantReply & ~0x1ull) == ((0 && (capAllowGrantReply & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 144), "seL4_CapRights_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrant))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowGrant))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowGrant & ~0x1ull) == ((0 && (capAllowGrant & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 145), "seL4_CapRights_ptr_new"); + __assert_fail("(capAllowGrant & ~0x1ull) == ((0 && (capAllowGrant & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 145), "seL4_CapRights_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowRead))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowRead))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowRead & ~0x1ull) == ((0 && (capAllowRead & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 146), "seL4_CapRights_ptr_new"); + __assert_fail("(capAllowRead & ~0x1ull) == ((0 && (capAllowRead & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 146), "seL4_CapRights_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowWrite))) & ~@as(c_ulonglong, 1)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capAllowWrite))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capAllowWrite & ~0x1ull) == ((0 && (capAllowWrite & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 147), "seL4_CapRights_ptr_new"); + __assert_fail("(capAllowWrite & ~0x1ull) == ((0 && (capAllowWrite & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 147), "seL4_CapRights_ptr_new"); } if (!false) break; } @@ -3782,7 +3780,7 @@ pub fn seL4_CapRights_set_capAllowGrantReply(arg_seL4_CapRights_1: seL4_CapRight _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 8) >> @intCast(3)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x8ull >> 3 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 170), "seL4_CapRights_set_capAllowGrantReply"); + __assert_fail("(((~0x8ull >> 3 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 170), "seL4_CapRights_set_capAllowGrantReply"); } if (!false) break; } @@ -3808,7 +3806,7 @@ pub fn seL4_CapRights_ptr_set_capAllowGrantReply(arg_seL4_CapRights_ptr: [*c]seL _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 8) >> @intCast(3)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x8ull >> 3) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 190), "seL4_CapRights_ptr_set_capAllowGrantReply"); + __assert_fail("(((~0x8ull >> 3) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 190), "seL4_CapRights_ptr_set_capAllowGrantReply"); } if (!false) break; } @@ -3833,7 +3831,7 @@ pub fn seL4_CapRights_set_capAllowGrant(arg_seL4_CapRights_1: seL4_CapRights_t, _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 4) >> @intCast(2)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x4ull >> 2 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 209), "seL4_CapRights_set_capAllowGrant"); + __assert_fail("(((~0x4ull >> 2 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 209), "seL4_CapRights_set_capAllowGrant"); } if (!false) break; } @@ -3859,7 +3857,7 @@ pub fn seL4_CapRights_ptr_set_capAllowGrant(arg_seL4_CapRights_ptr: [*c]seL4_Cap _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 4) >> @intCast(2)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x4ull >> 2) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 229), "seL4_CapRights_ptr_set_capAllowGrant"); + __assert_fail("(((~0x4ull >> 2) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 229), "seL4_CapRights_ptr_set_capAllowGrant"); } if (!false) break; } @@ -3884,7 +3882,7 @@ pub fn seL4_CapRights_set_capAllowRead(arg_seL4_CapRights_1: seL4_CapRights_t, a _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 2) >> @intCast(1)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x2ull >> 1 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 248), "seL4_CapRights_set_capAllowRead"); + __assert_fail("(((~0x2ull >> 1 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 248), "seL4_CapRights_set_capAllowRead"); } if (!false) break; } @@ -3910,7 +3908,7 @@ pub fn seL4_CapRights_ptr_set_capAllowRead(arg_seL4_CapRights_ptr: [*c]seL4_CapR _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 2) >> @intCast(1)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x2ull >> 1) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 268), "seL4_CapRights_ptr_set_capAllowRead"); + __assert_fail("(((~0x2ull >> 1) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 268), "seL4_CapRights_ptr_set_capAllowRead"); } if (!false) break; } @@ -3935,7 +3933,7 @@ pub fn seL4_CapRights_set_capAllowWrite(arg_seL4_CapRights_1: seL4_CapRights_t, _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 1) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x1ull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 287), "seL4_CapRights_set_capAllowWrite"); + __assert_fail("(((~0x1ull >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 287), "seL4_CapRights_set_capAllowWrite"); } if (!false) break; } @@ -3961,7 +3959,7 @@ pub fn seL4_CapRights_ptr_set_capAllowWrite(arg_seL4_CapRights_ptr: [*c]seL4_Cap _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 1) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x1ull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 307), "seL4_CapRights_ptr_set_capAllowWrite"); + __assert_fail("(((~0x1ull >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 307), "seL4_CapRights_ptr_set_capAllowWrite"); } if (!false) break; } @@ -3985,25 +3983,25 @@ pub fn seL4_MessageInfo_new(arg_label: seL4_Uint64, arg_capsUnwrapped: seL4_Uint _ = &seL4_MessageInfo_1; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, label))) & ~@as(c_ulonglong, 4503599627370495)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, label))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(label & ~0xfffffffffffffull) == ((0 && (label & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 322), "seL4_MessageInfo_new"); + __assert_fail("(label & ~0xfffffffffffffull) == ((0 && (label & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 322), "seL4_MessageInfo_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capsUnwrapped))) & ~@as(c_ulonglong, 7)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capsUnwrapped))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capsUnwrapped & ~0x7ull) == ((0 && (capsUnwrapped & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 323), "seL4_MessageInfo_new"); + __assert_fail("(capsUnwrapped & ~0x7ull) == ((0 && (capsUnwrapped & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 323), "seL4_MessageInfo_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, extraCaps))) & ~@as(c_ulonglong, 3)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, extraCaps))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(extraCaps & ~0x3ull) == ((0 && (extraCaps & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 324), "seL4_MessageInfo_new"); + __assert_fail("(extraCaps & ~0x3ull) == ((0 && (extraCaps & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 324), "seL4_MessageInfo_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, length))) & ~@as(c_ulonglong, 127)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, length))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(length & ~0x7full) == ((0 && (length & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 325), "seL4_MessageInfo_new"); + __assert_fail("(length & ~0x7full) == ((0 && (length & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 325), "seL4_MessageInfo_new"); } if (!false) break; } @@ -4023,25 +4021,25 @@ pub fn seL4_MessageInfo_ptr_new(arg_seL4_MessageInfo_ptr: [*c]seL4_MessageInfo_t _ = &length; while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, label))) & ~@as(c_ulonglong, 4503599627370495)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, label))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(label & ~0xfffffffffffffull) == ((0 && (label & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 339), "seL4_MessageInfo_ptr_new"); + __assert_fail("(label & ~0xfffffffffffffull) == ((0 && (label & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 339), "seL4_MessageInfo_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capsUnwrapped))) & ~@as(c_ulonglong, 7)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, capsUnwrapped))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(capsUnwrapped & ~0x7ull) == ((0 && (capsUnwrapped & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 340), "seL4_MessageInfo_ptr_new"); + __assert_fail("(capsUnwrapped & ~0x7ull) == ((0 && (capsUnwrapped & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 340), "seL4_MessageInfo_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, extraCaps))) & ~@as(c_ulonglong, 3)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, extraCaps))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(extraCaps & ~0x3ull) == ((0 && (extraCaps & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 341), "seL4_MessageInfo_ptr_new"); + __assert_fail("(extraCaps & ~0x3ull) == ((0 && (extraCaps & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 341), "seL4_MessageInfo_ptr_new"); } if (!false) break; } while (true) { if (!((@as(c_ulonglong, @bitCast(@as(c_ulonglong, length))) & ~@as(c_ulonglong, 127)) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, length))) & (@as(c_ulonglong, 1) << @intCast(63))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(length & ~0x7full) == ((0 && (length & (1ull << 63))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 342), "seL4_MessageInfo_ptr_new"); + __assert_fail("(length & ~0x7full) == ((0 && (length & (1ull << 63))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 342), "seL4_MessageInfo_ptr_new"); } if (!false) break; } @@ -4065,7 +4063,7 @@ pub fn seL4_MessageInfo_set_label(arg_seL4_MessageInfo_1: seL4_MessageInfo_t, ar _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 18446744073709547520) >> @intCast(12)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xfffffffffffff000ull >> 12 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 365), "seL4_MessageInfo_set_label"); + __assert_fail("(((~0xfffffffffffff000ull >> 12 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 365), "seL4_MessageInfo_set_label"); } if (!false) break; } @@ -4091,12 +4089,12 @@ pub fn seL4_MessageInfo_ptr_set_label(arg_seL4_MessageInfo_ptr: [*c]seL4_Message _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 18446744073709547520) >> @intCast(12)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xfffffffffffff000ull >> 12) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 385), "seL4_MessageInfo_ptr_set_label"); + __assert_fail("(((~0xfffffffffffff000ull >> 12) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 385), "seL4_MessageInfo_ptr_set_label"); } if (!false) break; } seL4_MessageInfo_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] &= @as(seL4_Uint64, @bitCast(@as(c_ulong, @truncate(~@as(c_ulonglong, 18446744073709547520))))); - seL4_MessageInfo_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] |= (v64 << @intCast(12)) & @as(c_ulong, 18446744073709547520); + seL4_MessageInfo_ptr.*.words[@as(c_uint, @intCast(@as(c_int, 0)))] |= @as(seL4_Uint64, @bitCast((v64 << @intCast(12)) & @as(c_ulong, 18446744073709547520))); } pub fn seL4_MessageInfo_get_capsUnwrapped(arg_seL4_MessageInfo_1: seL4_MessageInfo_t) callconv(.C) seL4_Uint64 { var seL4_MessageInfo_1 = arg_seL4_MessageInfo_1; @@ -4116,7 +4114,7 @@ pub fn seL4_MessageInfo_set_capsUnwrapped(arg_seL4_MessageInfo_1: seL4_MessageIn _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 3584) >> @intCast(9)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xe00ull >> 9 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 404), "seL4_MessageInfo_set_capsUnwrapped"); + __assert_fail("(((~0xe00ull >> 9 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 404), "seL4_MessageInfo_set_capsUnwrapped"); } if (!false) break; } @@ -4142,7 +4140,7 @@ pub fn seL4_MessageInfo_ptr_set_capsUnwrapped(arg_seL4_MessageInfo_ptr: [*c]seL4 _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 3584) >> @intCast(9)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0xe00ull >> 9) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 424), "seL4_MessageInfo_ptr_set_capsUnwrapped"); + __assert_fail("(((~0xe00ull >> 9) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 424), "seL4_MessageInfo_ptr_set_capsUnwrapped"); } if (!false) break; } @@ -4167,7 +4165,7 @@ pub fn seL4_MessageInfo_set_extraCaps(arg_seL4_MessageInfo_1: seL4_MessageInfo_t _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 384) >> @intCast(7)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x180ull >> 7 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 443), "seL4_MessageInfo_set_extraCaps"); + __assert_fail("(((~0x180ull >> 7 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 443), "seL4_MessageInfo_set_extraCaps"); } if (!false) break; } @@ -4193,7 +4191,7 @@ pub fn seL4_MessageInfo_ptr_set_extraCaps(arg_seL4_MessageInfo_ptr: [*c]seL4_Mes _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 384) >> @intCast(7)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x180ull >> 7) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 463), "seL4_MessageInfo_ptr_set_extraCaps"); + __assert_fail("(((~0x180ull >> 7) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 463), "seL4_MessageInfo_ptr_set_extraCaps"); } if (!false) break; } @@ -4218,7 +4216,7 @@ pub fn seL4_MessageInfo_set_length(arg_seL4_MessageInfo_1: seL4_MessageInfo_t, a _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 127) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x7full >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 482), "seL4_MessageInfo_set_length"); + __assert_fail("(((~0x7full >> 0 ) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 482), "seL4_MessageInfo_set_length"); } if (!false) break; } @@ -4244,7 +4242,7 @@ pub fn seL4_MessageInfo_ptr_set_length(arg_seL4_MessageInfo_ptr: [*c]seL4_Messag _ = &v64; while (true) { if (!((((~@as(c_ulonglong, 127) >> @intCast(0)) | @as(c_ulonglong, @bitCast(@as(c_longlong, @as(c_int, 0))))) & @as(c_ulonglong, @bitCast(@as(c_ulonglong, v64)))) == @as(c_ulonglong, @bitCast(@as(c_longlong, if (false and ((@as(c_ulonglong, @bitCast(@as(c_ulonglong, v64))) & (@as(c_ulonglong, 1) << @intCast(@as(c_int, 63)))) != 0)) @as(c_int, 0) else @as(c_int, 0)))))) { - __assert_fail("(((~0x7full >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/shared_types_gen.h", @as(c_int, 502), "seL4_MessageInfo_ptr_set_length"); + __assert_fail("(((~0x7full >> 0) | 0x0) & v64) == ((0 && (v64 & (1ull << (63)))) ? 0x0 : 0)", "/home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/shared_types_gen.h", @as(c_int, 502), "seL4_MessageInfo_ptr_set_length"); } if (!false) break; } @@ -4562,8 +4560,10 @@ pub fn seL4_NBSendWait(arg_dest: seL4_CPtr, arg_msgInfo: seL4_MessageInfo_t, arg sender.* = badge; } return info; -} // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:490:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:487:26: warning: unable to translate function, demoted to extern +} +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:490:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:487:26: warning: unable to translate function, demoted to extern pub extern fn seL4_Yield() callconv(.C) void; pub fn seL4_Wait(arg_src: seL4_CPtr, arg_sender: [*c]seL4_Word) callconv(.C) seL4_MessageInfo_t { var src = arg_src; @@ -4629,7 +4629,7 @@ pub fn seL4_Poll(arg_src: seL4_CPtr, arg_sender: [*c]seL4_Word) callconv(.C) seL pub fn seL4_Signal(arg_dest: seL4_CPtr) callconv(.C) void { var dest = arg_dest; _ = &dest; - libmicrokit.zig_arm_sys_send_null(@as(seL4_Word, @bitCast(@as(c_long, seL4_SysSend))), dest, seL4_MessageInfo_new(@as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0))))).words[@as(c_uint, @intCast(@as(c_int, 0)))]); + arm_sys_send_null(@as(seL4_Word, @bitCast(@as(c_long, seL4_SysSend))), dest, seL4_MessageInfo_new(@as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0))))).words[@as(c_uint, @intCast(@as(c_int, 0)))]); } pub fn seL4_DebugPutChar(arg_c: u8) callconv(.C) void { var c = arg_c; @@ -4665,8 +4665,10 @@ pub fn seL4_DebugDumpScheduler() callconv(.C) void { } pub fn seL4_DebugHalt() callconv(.C) void { arm_sys_null(@as(seL4_Word, @bitCast(@as(c_long, seL4_SysDebugHalt)))); -} // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:617:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:614:26: warning: unable to translate function, demoted to extern +} +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:617:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:614:26: warning: unable to translate function, demoted to extern pub extern fn seL4_DebugSnapshot() callconv(.C) void; pub fn seL4_DebugCapIdentify(arg_cap: seL4_CPtr) callconv(.C) seL4_Uint32 { var cap = arg_cap; @@ -4703,18 +4705,30 @@ pub fn seL4_DebugNameThread(arg_tcb: seL4_CPtr, arg_name: [*c]const u8) callconv var unused5: seL4_Word = 0; _ = &unused5; libmicrokit.zig_arm_sys_send_recv(@as(seL4_Word, @bitCast(@as(c_long, seL4_SysDebugNameThread))), tcb, &unused0, @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 0)))), &unused1, &unused2, &unused3, &unused4, &unused5, @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 0))))); -} // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:71:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:57:20: warning: unable to translate function, demoted to extern -pub extern fn arm_sys_send(arg_sys: seL4_Word, arg_dest: seL4_Word, arg_info_arg: seL4_Word, arg_mr0: seL4_Word, arg_mr1: seL4_Word, arg_mr2: seL4_Word, arg_mr3: seL4_Word) callconv(.C) void; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:109:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:102:20: warning: unable to translate function, demoted to extern -pub extern fn arm_sys_send_null(arg_sys: seL4_Word, arg_src: seL4_Word, arg_info_arg: seL4_Word) callconv(.C) void; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:131:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:116:20: warning: unable to translate function, demoted to extern -pub extern fn arm_sys_recv(arg_sys: seL4_Word, arg_src: seL4_Word, arg_out_badge: [*c]seL4_Word, arg_out_info: [*c]seL4_Word, arg_out_mr0: [*c]seL4_Word, arg_out_mr1: [*c]seL4_Word, arg_out_mr2: [*c]seL4_Word, arg_out_mr3: [*c]seL4_Word, arg_reply: seL4_Word) callconv(.C) void; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:162:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:146:20: warning: unable to translate function, demoted to extern -pub extern fn arm_sys_send_recv(arg_sys: seL4_Word, arg_dest: seL4_Word, arg_out_badge: [*c]seL4_Word, arg_info_arg: seL4_Word, arg_out_info: [*c]seL4_Word, arg_in_out_mr0: [*c]seL4_Word, arg_in_out_mr1: [*c]seL4_Word, arg_in_out_mr2: [*c]seL4_Word, arg_in_out_mr3: [*c]seL4_Word, arg_reply: seL4_Word) callconv(.C) void; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:197:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:178:20: warning: unable to translate function, demoted to extern -pub extern fn arm_sys_nbsend_recv(arg_sys: seL4_Word, arg_dest: seL4_Word, arg_src: seL4_Word, arg_out_badge: [*c]seL4_Word, arg_info_arg: seL4_Word, arg_out_info: [*c]seL4_Word, arg_in_out_mr0: [*c]seL4_Word, arg_in_out_mr1: [*c]seL4_Word, arg_in_out_mr2: [*c]seL4_Word, arg_in_out_mr3: [*c]seL4_Word, arg_reply: seL4_Word) callconv(.C) void; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:217:5: warning: TODO implement translation of stmt class GCCAsmStmtClass -// microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:214:20: warning: unable to translate function, demoted to extern +} +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:71:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:57:20: warning: unable to translate function, demoted to extern +pub extern fn arm_sys_send(arg_sys: seL4_Word, arg_dest: seL4_Word, arg_info_arg: seL4_Word, arg_mr0: seL4_Word, arg_mr1: seL4_Word, arg_mr2: seL4_Word, arg_mr3: seL4_Word) callconv(.C) void; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:109:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:102:20: warning: unable to translate function, demoted to extern +pub extern fn arm_sys_send_null(arg_sys: seL4_Word, arg_src: seL4_Word, arg_info_arg: seL4_Word) callconv(.C) void; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:131:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:116:20: warning: unable to translate function, demoted to extern +pub extern fn arm_sys_recv(arg_sys: seL4_Word, arg_src: seL4_Word, arg_out_badge: [*c]seL4_Word, arg_out_info: [*c]seL4_Word, arg_out_mr0: [*c]seL4_Word, arg_out_mr1: [*c]seL4_Word, arg_out_mr2: [*c]seL4_Word, arg_out_mr3: [*c]seL4_Word, arg_reply: seL4_Word) callconv(.C) void; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:162:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:146:20: warning: unable to translate function, demoted to extern +pub extern fn arm_sys_send_recv(arg_sys: seL4_Word, arg_dest: seL4_Word, arg_out_badge: [*c]seL4_Word, arg_info_arg: seL4_Word, arg_out_info: [*c]seL4_Word, arg_in_out_mr0: [*c]seL4_Word, arg_in_out_mr1: [*c]seL4_Word, arg_in_out_mr2: [*c]seL4_Word, arg_in_out_mr3: [*c]seL4_Word, arg_reply: seL4_Word) callconv(.C) void; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:197:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:178:20: warning: unable to translate function, demoted to extern +pub extern fn arm_sys_nbsend_recv(arg_sys: seL4_Word, arg_dest: seL4_Word, arg_src: seL4_Word, arg_out_badge: [*c]seL4_Word, arg_info_arg: seL4_Word, arg_out_info: [*c]seL4_Word, arg_in_out_mr0: [*c]seL4_Word, arg_in_out_mr1: [*c]seL4_Word, arg_in_out_mr2: [*c]seL4_Word, arg_in_out_mr3: [*c]seL4_Word, arg_reply: seL4_Word) callconv(.C) void; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:217:5: warning: TODO implement translation of stmt class GCCAsmStmtClass + +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:214:20: warning: unable to translate function, demoted to extern pub extern fn arm_sys_null(arg_sys: seL4_Word) callconv(.C) void; pub fn seL4_SendWithMRs(arg_dest: seL4_CPtr, arg_msgInfo: seL4_MessageInfo_t, arg_mr0: [*c]seL4_Word, arg_mr1: [*c]seL4_Word, arg_mr2: [*c]seL4_Word, arg_mr3: [*c]seL4_Word) callconv(.C) void { var dest = arg_dest; @@ -5171,6 +5185,7 @@ pub const __type_seL4_ARM_IOPageTable_size_incorrect = [1]c_ulong; pub const __type_seL4_ARM_SMC_size_incorrect = [1]c_ulong; pub const __type_seL4_UserContext_size_incorrect = [1]c_ulong; pub const __type_seL4_ARM_SMCContext_size_incorrect = [1]c_ulong; +pub const __type_seL4_VCPUReg_size_incorrect = [1]c_ulong; pub const __type_seL4_ARM_SIDControl_size_incorrect = [1]c_ulong; pub const __type_seL4_ARM_SID_size_incorrect = [1]c_ulong; pub const __type_seL4_ARM_CBControl_size_incorrect = [1]c_ulong; @@ -5870,7 +5885,7 @@ pub fn seL4_ARM_VCPU_InjectIRQ(arg__service: seL4_ARM_VCPU, arg_virq: seL4_Uint1 } return result; } -pub fn seL4_ARM_VCPU_ReadRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_Word) callconv(.C) seL4_ARM_VCPU_ReadRegs_t { +pub fn seL4_ARM_VCPU_ReadRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_VCPUReg) callconv(.C) seL4_ARM_VCPU_ReadRegs_t { var _service = arg__service; _ = &_service; var field = arg_field; @@ -5889,7 +5904,7 @@ pub fn seL4_ARM_VCPU_ReadRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_Word) _ = &mr2; var mr3: seL4_Word = undefined; _ = &mr3; - mr0 = field; + mr0 = @as(seL4_Word, @bitCast(field)); mr1 = 0; mr2 = 0; mr3 = 0; @@ -5905,7 +5920,7 @@ pub fn seL4_ARM_VCPU_ReadRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_Word) result.value = mr0; return result; } -pub fn seL4_ARM_VCPU_WriteRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_Word, arg_value: seL4_Word) callconv(.C) seL4_Error { +pub fn seL4_ARM_VCPU_WriteRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_VCPUReg, arg_value: seL4_Word) callconv(.C) seL4_Error { var _service = arg__service; _ = &_service; var field = arg_field; @@ -5926,7 +5941,7 @@ pub fn seL4_ARM_VCPU_WriteRegs(arg__service: seL4_ARM_VCPU, arg_field: seL4_Word _ = &mr2; var mr3: seL4_Word = undefined; _ = &mr3; - mr0 = field; + mr0 = @as(seL4_Word, @bitCast(field)); mr1 = value; mr2 = 0; mr3 = 0; @@ -7447,7 +7462,7 @@ pub const seL4_CapSMMUCBControl: c_int = 13; pub const seL4_CapInitThreadSC: c_int = 14; pub const seL4_CapSMC: c_int = 15; pub const seL4_NumInitialCaps: c_int = 16; -const enum_unnamed_2 = c_uint; +pub const enum_seL4_RootCNodeCapSlots = c_uint; pub const seL4_SlotPos = seL4_Word; pub const struct_seL4_SlotRegion = extern struct { start: seL4_SlotPos = @import("std").mem.zeroes(seL4_SlotPos), @@ -7460,7 +7475,8 @@ pub const struct_seL4_UntypedDesc = extern struct { isDevice: seL4_Uint8 = @import("std").mem.zeroes(seL4_Uint8), padding: [6]seL4_Uint8 = @import("std").mem.zeroes([6]seL4_Uint8), }; -pub const seL4_UntypedDesc = struct_seL4_UntypedDesc; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_UntypedDesc = struct_seL4_UntypedDesc; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub const struct_seL4_BootInfo = extern struct { extraLen: seL4_Word = @import("std").mem.zeroes(seL4_Word), nodeID: seL4_NodeId = @import("std").mem.zeroes(seL4_NodeId), @@ -7479,7 +7495,8 @@ pub const struct_seL4_BootInfo = extern struct { untyped: seL4_SlotRegion = @import("std").mem.zeroes(seL4_SlotRegion), untypedList: [230]seL4_UntypedDesc = @import("std").mem.zeroes([230]seL4_UntypedDesc), }; -pub const seL4_BootInfo = struct_seL4_BootInfo; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_BootInfo = struct_seL4_BootInfo; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub const SEL4_BOOTINFO_HEADER_PADDING: c_int = 0; pub const SEL4_BOOTINFO_HEADER_X86_VBE: c_int = 1; pub const SEL4_BOOTINFO_HEADER_X86_MBMMAP: c_int = 2; @@ -7494,7 +7511,8 @@ pub const struct_seL4_BootInfoHeader = extern struct { id: seL4_Word = @import("std").mem.zeroes(seL4_Word), len: seL4_Word = @import("std").mem.zeroes(seL4_Word), }; -pub const seL4_BootInfoHeader = struct_seL4_BootInfoHeader; // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration +pub const seL4_BootInfoHeader = struct_seL4_BootInfoHeader; +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:43: warning: ignoring StaticAssert declaration pub extern fn seL4_InitBootInfo(bi: [*c]seL4_BootInfo) void; pub extern fn seL4_GetBootInfo() [*c]seL4_BootInfo; pub fn seL4_getArchFault(arg_tag: seL4_MessageInfo_t) callconv(.C) seL4_Fault_t { @@ -7576,14 +7594,14 @@ pub fn seL4_TimeoutReply_new(arg_resume: seL4_Bool, arg_regs: seL4_UserContext, return info; } pub const seL4_CapRights = seL4_CapRights_t; -const struct_unnamed_3 = extern struct { +const struct_unnamed_1 = extern struct { fault_ip: seL4_Word = @import("std").mem.zeroes(seL4_Word), fault_addr: seL4_Word = @import("std").mem.zeroes(seL4_Word), prefetch_fault: seL4_Word = @import("std").mem.zeroes(seL4_Word), fsr: seL4_Word = @import("std").mem.zeroes(seL4_Word), }; pub const seL4_PageFaultIpcRegisters = extern union { - regs: struct_unnamed_3, + regs: struct_unnamed_1, raw: [4]seL4_Word, }; pub const seL4_FaultType = seL4_Fault_tag_t; @@ -7650,44 +7668,22 @@ pub fn seL4_CapData_Guard_new(arg_guard: seL4_Word, arg_bits: seL4_Word) callcon return seL4_CNode_CapData_new(guard, bits).words[@as(c_uint, @intCast(@as(c_int, 0)))]; } pub const microkit_channel = c_uint; -pub const microkit_id = c_uint; +pub const microkit_child = c_uint; pub const microkit_msginfo = seL4_MessageInfo_t; pub extern fn init() void; pub extern fn notified(ch: microkit_channel) void; pub extern fn protected(ch: microkit_channel, msginfo: microkit_msginfo) microkit_msginfo; -pub extern fn fault(ch: microkit_channel, msginfo: microkit_msginfo) void; +pub extern fn fault(child: microkit_child, msginfo: microkit_msginfo, reply_msginfo: [*c]microkit_msginfo) seL4_Bool; pub extern var microkit_name: [16]u8; -pub extern var have_signal: bool; -pub extern var signal_cap: seL4_CPtr; -pub extern var signal_msg: seL4_MessageInfo_t; +pub extern var microkit_have_signal: seL4_Bool; +pub extern var microkit_signal_cap: seL4_CPtr; +pub extern var microkit_signal_msg: seL4_MessageInfo_t; pub extern fn microkit_dbg_putc(c: c_int) void; pub extern fn microkit_dbg_puts(s: [*c]const u8) void; -pub fn memzero(arg_s: ?*anyopaque, arg_n: c_ulong) callconv(.C) void { - var s = arg_s; - _ = &s; - var n = arg_n; - _ = &n; - var p: [*c]u8 = undefined; - _ = &p; - { - p = @as([*c]u8, @ptrCast(@alignCast(s))); - while (n > @as(c_ulong, @bitCast(@as(c_long, @as(c_int, 0))))) : (_ = blk: { - n -%= 1; - break :blk blk_1: { - const ref = &p; - const tmp = ref.*; - ref.* += 1; - break :blk_1 tmp; - }; - }) { - p.* = 0; - } - } -} pub fn microkit_internal_crash(arg_err: seL4_Error) callconv(.C) void { var err = arg_err; _ = &err; - var x: [*c]c_int = @as([*c]c_int, @ptrFromInt(@as(usize, @bitCast(@as(c_ulong, err))))); + var x: [*c]c_int = @as([*c]c_int, @ptrFromInt(@as(seL4_Word, @bitCast(@as(c_ulong, err))))); _ = &x; x.* = 0; } @@ -7701,53 +7697,70 @@ pub fn microkit_irq_ack(arg_ch: microkit_channel) callconv(.C) void { _ = &ch; _ = seL4_IRQHandler_Ack(@as(seL4_IRQHandler, @bitCast(@as(c_ulong, @as(microkit_channel, @bitCast(@as(c_int, 138))) +% ch)))); } -pub fn microkit_notify_delayed(arg_ch: microkit_channel) callconv(.C) void { - var ch = arg_ch; - _ = &ch; - have_signal = @as(c_int, 1) != 0; - signal_msg = seL4_MessageInfo_new(@as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0))))); - signal_cap = @as(seL4_CPtr, @bitCast(@as(c_ulong, @as(microkit_channel, @bitCast(@as(c_int, 10))) +% ch))); -} -pub fn microkit_irq_ack_delayed(arg_ch: microkit_channel) callconv(.C) void { - var ch = arg_ch; - _ = &ch; - have_signal = @as(c_int, 1) != 0; - signal_msg = seL4_MessageInfo_new(@as(seL4_Uint64, @bitCast(@as(c_long, IRQAckIRQ))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0))))); - signal_cap = @as(seL4_CPtr, @bitCast(@as(c_ulong, @as(microkit_channel, @bitCast(@as(c_int, 138))) +% ch))); -} -pub fn microkit_pd_restart(arg_pd: microkit_id, arg_entry_point: usize) callconv(.C) void { +pub fn microkit_pd_restart(arg_pd: microkit_child, arg_entry_point: seL4_Word) callconv(.C) void { var pd = arg_pd; _ = &pd; var entry_point = arg_entry_point; _ = &entry_point; var err: seL4_Error = undefined; _ = &err; - var ctxt: seL4_UserContext = undefined; + var ctxt: seL4_UserContext = seL4_UserContext{ + .pc = @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 0)))), + .sp = @import("std").mem.zeroes(seL4_Word), + .spsr = @import("std").mem.zeroes(seL4_Word), + .x0 = @import("std").mem.zeroes(seL4_Word), + .x1 = @import("std").mem.zeroes(seL4_Word), + .x2 = @import("std").mem.zeroes(seL4_Word), + .x3 = @import("std").mem.zeroes(seL4_Word), + .x4 = @import("std").mem.zeroes(seL4_Word), + .x5 = @import("std").mem.zeroes(seL4_Word), + .x6 = @import("std").mem.zeroes(seL4_Word), + .x7 = @import("std").mem.zeroes(seL4_Word), + .x8 = @import("std").mem.zeroes(seL4_Word), + .x16 = @import("std").mem.zeroes(seL4_Word), + .x17 = @import("std").mem.zeroes(seL4_Word), + .x18 = @import("std").mem.zeroes(seL4_Word), + .x29 = @import("std").mem.zeroes(seL4_Word), + .x30 = @import("std").mem.zeroes(seL4_Word), + .x9 = @import("std").mem.zeroes(seL4_Word), + .x10 = @import("std").mem.zeroes(seL4_Word), + .x11 = @import("std").mem.zeroes(seL4_Word), + .x12 = @import("std").mem.zeroes(seL4_Word), + .x13 = @import("std").mem.zeroes(seL4_Word), + .x14 = @import("std").mem.zeroes(seL4_Word), + .x15 = @import("std").mem.zeroes(seL4_Word), + .x19 = @import("std").mem.zeroes(seL4_Word), + .x20 = @import("std").mem.zeroes(seL4_Word), + .x21 = @import("std").mem.zeroes(seL4_Word), + .x22 = @import("std").mem.zeroes(seL4_Word), + .x23 = @import("std").mem.zeroes(seL4_Word), + .x24 = @import("std").mem.zeroes(seL4_Word), + .x25 = @import("std").mem.zeroes(seL4_Word), + .x26 = @import("std").mem.zeroes(seL4_Word), + .x27 = @import("std").mem.zeroes(seL4_Word), + .x28 = @import("std").mem.zeroes(seL4_Word), + .tpidr_el0 = @import("std").mem.zeroes(seL4_Word), + .tpidrro_el0 = @import("std").mem.zeroes(seL4_Word), + }; _ = &ctxt; - memzero(@as(?*anyopaque, @ptrCast(&ctxt)), @sizeOf(seL4_UserContext)); ctxt.pc = entry_point; - err = seL4_TCB_WriteRegisters(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 202))) +% pd))), @as(seL4_Bool, @bitCast(@as(i8, @truncate(@as(c_int, 1))))), @as(seL4_Uint8, @bitCast(@as(i8, @truncate(@as(c_int, 0))))), @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 1)))), &ctxt); + err = seL4_TCB_WriteRegisters(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 202))) +% pd))), @as(seL4_Bool, @bitCast(@as(i8, @truncate(@as(c_int, 1))))), @as(seL4_Uint8, @bitCast(@as(i8, @truncate(@as(c_int, 0))))), @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 1)))), &ctxt); if (err != @as(c_uint, @bitCast(seL4_NoError))) { microkit_dbg_puts("microkit_pd_restart: error writing TCB registers\n"); microkit_internal_crash(err); } } -pub fn microkit_pd_stop(arg_pd: microkit_id) callconv(.C) void { +pub fn microkit_pd_stop(arg_pd: microkit_child) callconv(.C) void { var pd = arg_pd; _ = &pd; var err: seL4_Error = undefined; _ = &err; - err = seL4_TCB_Suspend(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 202))) +% pd)))); + err = seL4_TCB_Suspend(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 202))) +% pd)))); if (err != @as(c_uint, @bitCast(seL4_NoError))) { - microkit_dbg_puts("microkit_pd_stop: error suspending TCB\n"); + microkit_dbg_puts("microkit_pd_stop: error writing TCB registers\n"); microkit_internal_crash(err); } } -pub fn microkit_fault_reply(arg_msginfo: microkit_msginfo) callconv(.C) void { - var msginfo = arg_msginfo; - _ = &msginfo; - seL4_Send(@as(seL4_CPtr, @bitCast(@as(c_long, @as(c_int, 4)))), msginfo); -} pub fn microkit_ppcall(arg_ch: microkit_channel, arg_msginfo: microkit_msginfo) callconv(.C) microkit_msginfo { var ch = arg_ch; _ = &ch; @@ -7755,61 +7768,102 @@ pub fn microkit_ppcall(arg_ch: microkit_channel, arg_msginfo: microkit_msginfo) _ = &msginfo; return seL4_Call(@as(seL4_CPtr, @bitCast(@as(c_ulong, @as(microkit_channel, @bitCast(@as(c_int, 74))) +% ch))), msginfo); } -pub fn microkit_msginfo_new(arg_label: u64, arg_count: u16) callconv(.C) microkit_msginfo { +pub fn microkit_msginfo_new(arg_label: seL4_Word, arg_count: seL4_Uint16) callconv(.C) microkit_msginfo { var label = arg_label; _ = &label; var count = arg_count; _ = &count; return seL4_MessageInfo_new(label, @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_ulong, count)))); } -pub fn microkit_msginfo_get_label(arg_msginfo: microkit_msginfo) callconv(.C) u64 { +pub fn microkit_msginfo_get_label(arg_msginfo: microkit_msginfo) callconv(.C) seL4_Word { var msginfo = arg_msginfo; _ = &msginfo; return seL4_MessageInfo_get_label(msginfo); } -pub fn microkit_mr_set(arg_mr: u8, arg_value: u64) callconv(.C) void { +pub fn microkit_msginfo_get_count(arg_msginfo: microkit_msginfo) callconv(.C) seL4_Word { + var msginfo = arg_msginfo; + _ = &msginfo; + return seL4_MessageInfo_get_length(msginfo); +} +pub fn microkit_mr_set(arg_mr: seL4_Uint8, arg_value: seL4_Word) callconv(.C) void { var mr = arg_mr; _ = &mr; var value = arg_value; _ = &value; seL4_SetMR(@as(c_int, @bitCast(@as(c_uint, mr))), value); } -pub fn microkit_mr_get(arg_mr: u8) callconv(.C) u64 { +pub fn microkit_mr_get(arg_mr: seL4_Uint8) callconv(.C) seL4_Word { var mr = arg_mr; _ = &mr; return seL4_GetMR(@as(c_int, @bitCast(@as(c_uint, mr)))); } -pub fn microkit_vm_restart(arg_vm: microkit_id, arg_entry_point: usize) callconv(.C) void { - var vm = arg_vm; - _ = &vm; +pub fn microkit_vcpu_restart(arg_vcpu: microkit_child, arg_entry_point: seL4_Word) callconv(.C) void { + var vcpu = arg_vcpu; + _ = &vcpu; var entry_point = arg_entry_point; _ = &entry_point; var err: seL4_Error = undefined; _ = &err; - var ctxt: seL4_UserContext = undefined; + var ctxt: seL4_UserContext = seL4_UserContext{ + .pc = @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 0)))), + .sp = @import("std").mem.zeroes(seL4_Word), + .spsr = @import("std").mem.zeroes(seL4_Word), + .x0 = @import("std").mem.zeroes(seL4_Word), + .x1 = @import("std").mem.zeroes(seL4_Word), + .x2 = @import("std").mem.zeroes(seL4_Word), + .x3 = @import("std").mem.zeroes(seL4_Word), + .x4 = @import("std").mem.zeroes(seL4_Word), + .x5 = @import("std").mem.zeroes(seL4_Word), + .x6 = @import("std").mem.zeroes(seL4_Word), + .x7 = @import("std").mem.zeroes(seL4_Word), + .x8 = @import("std").mem.zeroes(seL4_Word), + .x16 = @import("std").mem.zeroes(seL4_Word), + .x17 = @import("std").mem.zeroes(seL4_Word), + .x18 = @import("std").mem.zeroes(seL4_Word), + .x29 = @import("std").mem.zeroes(seL4_Word), + .x30 = @import("std").mem.zeroes(seL4_Word), + .x9 = @import("std").mem.zeroes(seL4_Word), + .x10 = @import("std").mem.zeroes(seL4_Word), + .x11 = @import("std").mem.zeroes(seL4_Word), + .x12 = @import("std").mem.zeroes(seL4_Word), + .x13 = @import("std").mem.zeroes(seL4_Word), + .x14 = @import("std").mem.zeroes(seL4_Word), + .x15 = @import("std").mem.zeroes(seL4_Word), + .x19 = @import("std").mem.zeroes(seL4_Word), + .x20 = @import("std").mem.zeroes(seL4_Word), + .x21 = @import("std").mem.zeroes(seL4_Word), + .x22 = @import("std").mem.zeroes(seL4_Word), + .x23 = @import("std").mem.zeroes(seL4_Word), + .x24 = @import("std").mem.zeroes(seL4_Word), + .x25 = @import("std").mem.zeroes(seL4_Word), + .x26 = @import("std").mem.zeroes(seL4_Word), + .x27 = @import("std").mem.zeroes(seL4_Word), + .x28 = @import("std").mem.zeroes(seL4_Word), + .tpidr_el0 = @import("std").mem.zeroes(seL4_Word), + .tpidrro_el0 = @import("std").mem.zeroes(seL4_Word), + }; _ = &ctxt; - memzero(@as(?*anyopaque, @ptrCast(&ctxt)), @sizeOf(seL4_UserContext)); ctxt.pc = entry_point; - err = seL4_TCB_WriteRegisters(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 266))) +% vm))), @as(seL4_Bool, @bitCast(@as(i8, @truncate(@as(c_int, 1))))), @as(seL4_Uint8, @bitCast(@as(i8, @truncate(@as(c_int, 0))))), @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 1)))), &ctxt); + err = seL4_TCB_WriteRegisters(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 266))) +% vcpu))), @as(seL4_Bool, @bitCast(@as(i8, @truncate(@as(c_int, 1))))), @as(seL4_Uint8, @bitCast(@as(i8, @truncate(@as(c_int, 0))))), @as(seL4_Word, @bitCast(@as(c_long, @as(c_int, 1)))), &ctxt); if (err != @as(c_uint, @bitCast(seL4_NoError))) { microkit_dbg_puts("microkit_vm_restart: error writing registers\n"); microkit_internal_crash(err); } } -pub fn microkit_vm_stop(arg_vm: microkit_id) callconv(.C) void { - var vm = arg_vm; - _ = &vm; +pub fn microkit_vcpu_stop(arg_vcpu: microkit_child) callconv(.C) void { + var vcpu = arg_vcpu; + _ = &vcpu; var err: seL4_Error = undefined; _ = &err; - err = seL4_TCB_Suspend(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 266))) +% vm)))); + err = seL4_TCB_Suspend(@as(seL4_TCB, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 266))) +% vcpu)))); if (err != @as(c_uint, @bitCast(seL4_NoError))) { microkit_dbg_puts("microkit_vm_stop: error suspending TCB\n"); microkit_internal_crash(err); } } -pub fn microkit_arm_vcpu_inject_irq(arg_vm: microkit_id, arg_irq: u16, arg_priority: u8, arg_group: u8, arg_index: u8) callconv(.C) void { - var vm = arg_vm; - _ = &vm; +pub fn microkit_vcpu_arm_inject_irq(arg_vcpu: microkit_child, arg_irq: seL4_Uint16, arg_priority: seL4_Uint8, arg_group: seL4_Uint8, arg_index: seL4_Uint8) callconv(.C) void { + var vcpu = arg_vcpu; + _ = &vcpu; var irq = arg_irq; _ = &irq; var priority = arg_priority; @@ -7820,111 +7874,74 @@ pub fn microkit_arm_vcpu_inject_irq(arg_vm: microkit_id, arg_irq: u16, arg_prior _ = &index; var err: seL4_Error = undefined; _ = &err; - err = seL4_ARM_VCPU_InjectIRQ(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 330))) +% vm))), irq, priority, group, index); + err = seL4_ARM_VCPU_InjectIRQ(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 330))) +% vcpu))), irq, priority, group, index); if (err != @as(c_uint, @bitCast(seL4_NoError))) { microkit_dbg_puts("microkit_arm_vcpu_inject_irq: error injecting IRQ\n"); microkit_internal_crash(err); } } -pub fn microkit_arm_vcpu_ack_vppi(arg_vm: microkit_id, arg_irq: u64) callconv(.C) void { - var vm = arg_vm; - _ = &vm; +pub fn microkit_vcpu_arm_ack_vppi(arg_vcpu: microkit_child, arg_irq: seL4_Word) callconv(.C) void { + var vcpu = arg_vcpu; + _ = &vcpu; var irq = arg_irq; _ = &irq; var err: seL4_Error = undefined; _ = &err; - err = seL4_ARM_VCPU_AckVPPI(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 330))) +% vm))), irq); + err = seL4_ARM_VCPU_AckVPPI(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 330))) +% vcpu))), irq); if (err != @as(c_uint, @bitCast(seL4_NoError))) { microkit_dbg_puts("microkit_arm_vcpu_ack_vppi: error acking VPPI\n"); microkit_internal_crash(err); } } -pub fn microkit_arm_vcpu_read_reg(arg_vm: microkit_id, arg_reg: u64) callconv(.C) seL4_Word { - var vm = arg_vm; - _ = &vm; +pub fn microkit_vcpu_arm_read_reg(arg_vcpu: microkit_child, arg_reg: seL4_Word) callconv(.C) seL4_Word { + var vcpu = arg_vcpu; + _ = &vcpu; var reg = arg_reg; _ = ® var ret: seL4_ARM_VCPU_ReadRegs_t = undefined; _ = &ret; - ret = seL4_ARM_VCPU_ReadRegs(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 330))) +% vm))), reg); + ret = seL4_ARM_VCPU_ReadRegs(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 330))) +% vcpu))), @as(c_ulong, @bitCast(reg))); if (ret.@"error" != seL4_NoError) { - microkit_dbg_puts("microkit_arm_vcpu_read_reg: error reading VCPU register\n"); + microkit_dbg_puts("microkit_arm_vcpu_read_reg: error reading vCPU register\n"); microkit_internal_crash(@as(c_uint, @bitCast(ret.@"error"))); } return ret.value; } -pub fn microkit_arm_vcpu_write_reg(arg_vm: microkit_id, arg_reg: u64, arg_value: u64) callconv(.C) void { - var vm = arg_vm; - _ = &vm; +pub fn microkit_vcpu_arm_write_reg(arg_vcpu: microkit_child, arg_reg: seL4_Word, arg_value: seL4_Word) callconv(.C) void { + var vcpu = arg_vcpu; + _ = &vcpu; var reg = arg_reg; _ = ® var value = arg_value; _ = &value; var err: seL4_Error = undefined; _ = &err; - err = seL4_ARM_VCPU_WriteRegs(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_id, @bitCast(@as(c_int, 330))) +% vm))), reg, value); + err = seL4_ARM_VCPU_WriteRegs(@as(seL4_ARM_VCPU, @bitCast(@as(c_ulong, @as(microkit_child, @bitCast(@as(c_int, 330))) +% vcpu))), @as(c_ulong, @bitCast(reg)), value); if (err != @as(c_uint, @bitCast(seL4_NoError))) { - microkit_dbg_puts("microkit_arm_vcpu_write_reg: error VPPI\n"); + microkit_dbg_puts("microkit_arm_vcpu_write_reg: error writing vCPU register\n"); microkit_internal_crash(err); } } -pub const __INTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); // (no file):90:9 -pub const __UINTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); // (no file):96:9 -pub const __INT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); // (no file):194:9 -pub const __UINT32_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `U`"); // (no file):216:9 -pub const __UINT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); // (no file):224:9 -pub const __stdint_join3 = @compileError("unable to translate C expr: unexpected token '##'"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:287:9 -pub const __int_c_join = @compileError("unable to translate C expr: unexpected token '##'"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:324:9 -pub const __uint_c = @compileError("unable to translate macro: undefined identifier `U`"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:326:9 -pub const __INTN_MIN = @compileError("unable to translate macro: undefined identifier `INT`"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:894:10 -pub const __INTN_MAX = @compileError("unable to translate macro: undefined identifier `INT`"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:895:10 -pub const __UINTN_MAX = @compileError("unable to translate macro: undefined identifier `UINT`"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:896:9 -pub const __INTN_C = @compileError("unable to translate macro: undefined identifier `INT`"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:897:10 -pub const __UINTN_C = @compileError("unable to translate macro: undefined identifier `UINT`"); // /home/ivanv/zigs/zig-linux-x86_64-0.12.0-dev.1746+19af8aac8/lib/include/stdint.h:898:9 -pub const CONFIG_SEL4_ARCH = @compileError("unable to translate macro: undefined identifier `aarch64`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/kernel/gen_config.h:16:9 -pub const CONFIG_ARCH = @compileError("unable to translate macro: undefined identifier `arm`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/kernel/gen_config.h:18:9 -pub const CONFIG_ARM_PLAT = @compileError("unable to translate macro: undefined identifier `qemu`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/kernel/gen_config.h:20:9 -pub const CONFIG_PLAT = @compileError("unable to translate macro: undefined identifier `qemu`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/kernel/gen_config.h:38:9 -pub const CONFIG_KERNEL_BENCHMARK = @compileError("unable to translate macro: undefined identifier `none`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/kernel/gen_config.h:110:9 -pub const CONFIG_KERNEL_OPT_LEVEL = @compileError("unable to translate macro: undefined identifier `O2`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/kernel/gen_config.h:122:9 -pub const CONFIG_LIB_SEL4_FUNCTION_ATTRIBUTE = @compileError("unable to translate C expr: unexpected token 'inline'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/gen_config.h:6:9 -pub const CONST = @compileError("unable to translate C expr: unexpected token '__attribute__'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:12:9 -pub const PURE = @compileError("unable to translate macro: undefined identifier `__pure__`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:16:9 -pub const SEL4_PACKED = @compileError("unable to translate macro: undefined identifier `packed`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:19:9 -pub const SEL4_DEPRECATED = @compileError("unable to translate macro: undefined identifier `deprecated`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:20:9 -pub const SEL4_DEPRECATE_MACRO = @compileError("unable to translate macro: undefined identifier `_Pragma`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:21:9 -pub const LIBSEL4_UNUSED = @compileError("unable to translate macro: undefined identifier `unused`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:23:9 -pub const LIBSEL4_WEAK = @compileError("unable to translate macro: undefined identifier `weak`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:24:9 -pub const LIBSEL4_NOINLINE = @compileError("unable to translate macro: undefined identifier `noinline`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:25:9 -pub const LIBSEL4_INLINE = @compileError("unable to translate C expr: unexpected token 'static'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:30:9 -pub const LIBSEL4_INLINE_FUNC = @compileError("unable to translate C expr: unexpected token 'static'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:31:9 -pub const SEL4_COMPILE_ASSERT = @compileError("unable to translate C expr: unexpected token '_Static_assert'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:48:9 -pub const SEL4_SIZE_SANITY = @compileError("unable to translate macro: undefined identifier `_`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:55:9 -pub const SEL4_FORCE_LONG_ENUM = @compileError("unable to translate macro: undefined identifier `_enum_pad_`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/macros.h:64:9 -pub const seL4_integer_size_assert = @compileError("unable to translate macro: undefined identifier `sizeof_`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:29:9 -pub const _seL4_int64_fmt = @compileError("unable to translate macro: undefined identifier `l`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:75:9 -pub const _macro_str_concat_helper2 = @compileError("unable to translate C expr: unexpected token '#'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:90:9 -pub const _macro_str_concat_helper1 = @compileError("unable to translate C expr: expected ',' or ')' instead got '##'"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:91:9 -pub const SEL4_PRId64 = @compileError("unable to translate macro: undefined identifier `d`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:94:9 -pub const SEL4_PRIi64 = @compileError("unable to translate macro: undefined identifier `i`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:95:9 -pub const SEL4_PRIu64 = @compileError("unable to translate macro: undefined identifier `u`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:96:9 -pub const SEL4_PRIx64 = @compileError("unable to translate macro: undefined identifier `x`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:97:9 -pub const SEL4_PRId_word = @compileError("unable to translate macro: undefined identifier `d`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:122:9 -pub const SEL4_PRIi_word = @compileError("unable to translate macro: undefined identifier `i`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:123:9 -pub const SEL4_PRIu_word = @compileError("unable to translate macro: undefined identifier `u`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:124:9 -pub const SEL4_PRIx_word = @compileError("unable to translate macro: undefined identifier `x`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/simple_types.h:125:9 -pub const seL4_Fail = @compileError("unable to translate macro: undefined identifier `__FILE__`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/assert.h:28:9 -pub const seL4_Assert = @compileError("unable to translate macro: undefined identifier `__FILE__`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/assert.h:34:9 -pub const MCS_PARAM_DECL = @compileError("unable to translate macro: undefined identifier `reply_reg`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:14:9 -pub const MCS_PARAM = @compileError("unable to translate macro: undefined identifier `reply_reg`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/sel4_arch/syscalls.h:15:9 -pub const LIBSEL4_MCS_REPLY = @compileError("unable to translate macro: undefined identifier `reply`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/sel4/arch/syscalls.h:15:9 -pub const assert_size_correct = @compileError("unable to translate macro: undefined identifier `__type_`"); // microkit-sdk-1.2.6/board/qemu_arm_virt/debug/include/interfaces/sel4_client.h:18:9 +pub fn microkit_deferred_notify(arg_ch: microkit_channel) callconv(.C) void { + var ch = arg_ch; + _ = &ch; + microkit_have_signal = 1; + microkit_signal_msg = seL4_MessageInfo_new(@as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0))))); + microkit_signal_cap = @as(seL4_CPtr, @bitCast(@as(c_ulong, @as(microkit_channel, @bitCast(@as(c_int, 10))) +% ch))); +} +pub fn microkit_deferred_irq_ack(arg_ch: microkit_channel) callconv(.C) void { + var ch = arg_ch; + _ = &ch; + microkit_have_signal = 1; + microkit_signal_msg = seL4_MessageInfo_new(@as(seL4_Uint64, @bitCast(@as(c_long, IRQAckIRQ))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0)))), @as(seL4_Uint64, @bitCast(@as(c_long, @as(c_int, 0))))); + microkit_signal_cap = @as(seL4_CPtr, @bitCast(@as(c_ulong, @as(microkit_channel, @bitCast(@as(c_int, 138))) +% ch))); +} pub const __llvm__ = @as(c_int, 1); pub const __clang__ = @as(c_int, 1); -pub const __clang_major__ = @as(c_int, 17); -pub const __clang_minor__ = @as(c_int, 0); -pub const __clang_patchlevel__ = @as(c_int, 3); -pub const __clang_version__ = "17.0.3 (https://github.com/ziglang/zig-bootstrap 1dc1fa6a122996fcd030cc956385e055289e09d9)"; +pub const __clang_major__ = @as(c_int, 18); +pub const __clang_minor__ = @as(c_int, 1); +pub const __clang_patchlevel__ = @as(c_int, 7); +pub const __clang_version__ = "18.1.7 (https://github.com/ziglang/zig-bootstrap e3fe3904af3801454499e3a54c8f8a8c444d3a12)"; pub const __GNUC__ = @as(c_int, 4); pub const __GNUC_MINOR__ = @as(c_int, 2); pub const __GNUC_PATCHLEVEL__ = @as(c_int, 1); @@ -7935,6 +7952,11 @@ pub const __ATOMIC_ACQUIRE = @as(c_int, 2); pub const __ATOMIC_RELEASE = @as(c_int, 3); pub const __ATOMIC_ACQ_REL = @as(c_int, 4); pub const __ATOMIC_SEQ_CST = @as(c_int, 5); +pub const __MEMORY_SCOPE_SYSTEM = @as(c_int, 0); +pub const __MEMORY_SCOPE_DEVICE = @as(c_int, 1); +pub const __MEMORY_SCOPE_WRKGRP = @as(c_int, 2); +pub const __MEMORY_SCOPE_WVFRNT = @as(c_int, 3); +pub const __MEMORY_SCOPE_SINGLE = @as(c_int, 4); pub const __OPENCL_MEMORY_SCOPE_WORK_ITEM = @as(c_int, 0); pub const __OPENCL_MEMORY_SCOPE_WORK_GROUP = @as(c_int, 1); pub const __OPENCL_MEMORY_SCOPE_DEVICE = @as(c_int, 2); @@ -7951,7 +7973,7 @@ pub const __FPCLASS_POSSUBNORMAL = @as(c_int, 0x0080); pub const __FPCLASS_POSNORMAL = @as(c_int, 0x0100); pub const __FPCLASS_POSINF = @as(c_int, 0x0200); pub const __PRAGMA_REDEFINE_EXTNAME = @as(c_int, 1); -pub const __VERSION__ = "Clang 17.0.3 (https://github.com/ziglang/zig-bootstrap 1dc1fa6a122996fcd030cc956385e055289e09d9)"; +pub const __VERSION__ = "Clang 18.1.7 (https://github.com/ziglang/zig-bootstrap e3fe3904af3801454499e3a54c8f8a8c444d3a12)"; pub const __OBJC_BOOL_IS_BOOL = @as(c_int, 0); pub const __CONSTANT_CFSTRINGS__ = @as(c_int, 1); pub const __clang_literal_encoding__ = "UTF-8"; @@ -8007,11 +8029,15 @@ pub const __SIZEOF_INT128__ = @as(c_int, 16); pub const __INTMAX_TYPE__ = c_long; pub const __INTMAX_FMTd__ = "ld"; pub const __INTMAX_FMTi__ = "li"; +pub const __INTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); +// (no file):95:9 pub const __UINTMAX_TYPE__ = c_ulong; pub const __UINTMAX_FMTo__ = "lo"; pub const __UINTMAX_FMTu__ = "lu"; pub const __UINTMAX_FMTx__ = "lx"; pub const __UINTMAX_FMTX__ = "lX"; +pub const __UINTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); +// (no file):101:9 pub const __PTRDIFF_TYPE__ = c_long; pub const __PTRDIFF_FMTd__ = "ld"; pub const __PTRDIFF_FMTi__ = "li"; @@ -8109,6 +8135,8 @@ pub const __INT32_C_SUFFIX__ = ""; pub const __INT64_TYPE__ = c_long; pub const __INT64_FMTd__ = "ld"; pub const __INT64_FMTi__ = "li"; +pub const __INT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); +// (no file):199:9 pub const __UINT8_TYPE__ = u8; pub const __UINT8_FMTo__ = "hho"; pub const __UINT8_FMTu__ = "hhu"; @@ -8130,6 +8158,8 @@ pub const __UINT32_FMTo__ = "o"; pub const __UINT32_FMTu__ = "u"; pub const __UINT32_FMTx__ = "x"; pub const __UINT32_FMTX__ = "X"; +pub const __UINT32_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `U`"); +// (no file):221:9 pub const __UINT32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const __INT32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __UINT64_TYPE__ = c_ulong; @@ -8137,6 +8167,8 @@ pub const __UINT64_FMTo__ = "lo"; pub const __UINT64_FMTu__ = "lu"; pub const __UINT64_FMTx__ = "lx"; pub const __UINT64_FMTX__ = "lX"; +pub const __UINT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); +// (no file):229:9 pub const __UINT64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __INT64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __INT_LEAST8_TYPE__ = i8; @@ -8273,6 +8305,8 @@ pub const __ARM_FEATURE_DIV = @as(c_int, 1); pub const __ARM_FEATURE_NUMERIC_MAXMIN = @as(c_int, 1); pub const __ARM_FEATURE_DIRECTED_ROUNDING = @as(c_int, 1); pub const __ARM_ALIGN_MAX_STACK_PWR = @as(c_int, 4); +pub const __ARM_STATE_ZA = @as(c_int, 1); +pub const __ARM_STATE_ZT0 = @as(c_int, 1); pub const __ARM_FP = @as(c_int, 0xE); pub const __ARM_FP16_FORMAT_IEEE = @as(c_int, 1); pub const __ARM_FP16_ARGS = @as(c_int, 1); @@ -8285,6 +8319,7 @@ pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 = @as(c_int, 1); +pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 = @as(c_int, 1); pub const __FP_FAST_FMA = @as(c_int, 1); pub const __FP_FAST_FMAF = @as(c_int, 1); pub const __STDC__ = @as(c_int, 1); @@ -8294,146 +8329,22 @@ pub const __STDC_UTF_16__ = @as(c_int, 1); pub const __STDC_UTF_32__ = @as(c_int, 1); pub const _DEBUG = @as(c_int, 1); pub const __GCC_HAVE_DWARF2_CFI_ASM = @as(c_int, 1); -pub const __STDBOOL_H = ""; -pub const __bool_true_false_are_defined = @as(c_int, 1); -pub const @"bool" = bool; -pub const @"true" = @as(c_int, 1); -pub const @"false" = @as(c_int, 0); -pub const __CLANG_STDINT_H = ""; -pub const __int_least64_t = i64; -pub const __uint_least64_t = u64; -pub const __int_least32_t = i64; -pub const __uint_least32_t = u64; -pub const __int_least16_t = i64; -pub const __uint_least16_t = u64; -pub const __int_least8_t = i64; -pub const __uint_least8_t = u64; -pub const __uint32_t_defined = ""; -pub const __int8_t_defined = ""; -pub const __intptr_t_defined = ""; -pub const _INTPTR_T = ""; -pub const _UINTPTR_T = ""; -pub inline fn __int_c(v: anytype, suffix: anytype) @TypeOf(__int_c_join(v, suffix)) { - _ = &v; - _ = &suffix; - return __int_c_join(v, suffix); -} -pub const __int64_c_suffix = __INT64_C_SUFFIX__; -pub const __int32_c_suffix = __INT64_C_SUFFIX__; -pub const __int16_c_suffix = __INT64_C_SUFFIX__; -pub const __int8_c_suffix = __INT64_C_SUFFIX__; -pub inline fn INT64_C(v: anytype) @TypeOf(__int_c(v, __int64_c_suffix)) { - _ = &v; - return __int_c(v, __int64_c_suffix); -} -pub inline fn UINT64_C(v: anytype) @TypeOf(__uint_c(v, __int64_c_suffix)) { - _ = &v; - return __uint_c(v, __int64_c_suffix); -} -pub inline fn INT32_C(v: anytype) @TypeOf(__int_c(v, __int32_c_suffix)) { - _ = &v; - return __int_c(v, __int32_c_suffix); -} -pub inline fn UINT32_C(v: anytype) @TypeOf(__uint_c(v, __int32_c_suffix)) { - _ = &v; - return __uint_c(v, __int32_c_suffix); -} -pub inline fn INT16_C(v: anytype) @TypeOf(__int_c(v, __int16_c_suffix)) { - _ = &v; - return __int_c(v, __int16_c_suffix); -} -pub inline fn UINT16_C(v: anytype) @TypeOf(__uint_c(v, __int16_c_suffix)) { - _ = &v; - return __uint_c(v, __int16_c_suffix); -} -pub inline fn INT8_C(v: anytype) @TypeOf(__int_c(v, __int8_c_suffix)) { - _ = &v; - return __int_c(v, __int8_c_suffix); -} -pub inline fn UINT8_C(v: anytype) @TypeOf(__uint_c(v, __int8_c_suffix)) { - _ = &v; - return __uint_c(v, __int8_c_suffix); -} -pub const INT64_MAX = INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); -pub const INT64_MIN = -INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); -pub const UINT64_MAX = UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); -pub const __INT_LEAST64_MIN = INT64_MIN; -pub const __INT_LEAST64_MAX = INT64_MAX; -pub const __UINT_LEAST64_MAX = UINT64_MAX; -pub const __INT_LEAST32_MIN = INT64_MIN; -pub const __INT_LEAST32_MAX = INT64_MAX; -pub const __UINT_LEAST32_MAX = UINT64_MAX; -pub const __INT_LEAST16_MIN = INT64_MIN; -pub const __INT_LEAST16_MAX = INT64_MAX; -pub const __UINT_LEAST16_MAX = UINT64_MAX; -pub const __INT_LEAST8_MIN = INT64_MIN; -pub const __INT_LEAST8_MAX = INT64_MAX; -pub const __UINT_LEAST8_MAX = UINT64_MAX; -pub const INT_LEAST64_MIN = __INT_LEAST64_MIN; -pub const INT_LEAST64_MAX = __INT_LEAST64_MAX; -pub const UINT_LEAST64_MAX = __UINT_LEAST64_MAX; -pub const INT_FAST64_MIN = __INT_LEAST64_MIN; -pub const INT_FAST64_MAX = __INT_LEAST64_MAX; -pub const UINT_FAST64_MAX = __UINT_LEAST64_MAX; -pub const INT32_MAX = INT32_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal)); -pub const INT32_MIN = -INT32_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal)) - @as(c_int, 1); -pub const UINT32_MAX = UINT32_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 4294967295, .decimal)); -pub const INT_LEAST32_MIN = __INT_LEAST32_MIN; -pub const INT_LEAST32_MAX = __INT_LEAST32_MAX; -pub const UINT_LEAST32_MAX = __UINT_LEAST32_MAX; -pub const INT_FAST32_MIN = __INT_LEAST32_MIN; -pub const INT_FAST32_MAX = __INT_LEAST32_MAX; -pub const UINT_FAST32_MAX = __UINT_LEAST32_MAX; -pub const INT16_MAX = INT16_C(@as(c_int, 32767)); -pub const INT16_MIN = -INT16_C(@as(c_int, 32767)) - @as(c_int, 1); -pub const UINT16_MAX = UINT16_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal)); -pub const INT_LEAST16_MIN = __INT_LEAST16_MIN; -pub const INT_LEAST16_MAX = __INT_LEAST16_MAX; -pub const UINT_LEAST16_MAX = __UINT_LEAST16_MAX; -pub const INT_FAST16_MIN = __INT_LEAST16_MIN; -pub const INT_FAST16_MAX = __INT_LEAST16_MAX; -pub const UINT_FAST16_MAX = __UINT_LEAST16_MAX; -pub const INT8_MAX = INT8_C(@as(c_int, 127)); -pub const INT8_MIN = -INT8_C(@as(c_int, 127)) - @as(c_int, 1); -pub const UINT8_MAX = UINT8_C(@as(c_int, 255)); -pub const INT_LEAST8_MIN = __INT_LEAST8_MIN; -pub const INT_LEAST8_MAX = __INT_LEAST8_MAX; -pub const UINT_LEAST8_MAX = __UINT_LEAST8_MAX; -pub const INT_FAST8_MIN = __INT_LEAST8_MIN; -pub const INT_FAST8_MAX = __INT_LEAST8_MAX; -pub const UINT_FAST8_MAX = __UINT_LEAST8_MAX; -pub const INTPTR_MIN = -__INTPTR_MAX__ - @as(c_int, 1); -pub const INTPTR_MAX = __INTPTR_MAX__; -pub const UINTPTR_MAX = __UINTPTR_MAX__; -pub const PTRDIFF_MIN = -__PTRDIFF_MAX__ - @as(c_int, 1); -pub const PTRDIFF_MAX = __PTRDIFF_MAX__; -pub const SIZE_MAX = __SIZE_MAX__; -pub const INTMAX_MIN = -__INTMAX_MAX__ - @as(c_int, 1); -pub const INTMAX_MAX = __INTMAX_MAX__; -pub const UINTMAX_MAX = __UINTMAX_MAX__; -pub const SIG_ATOMIC_MIN = __INTN_MIN(__SIG_ATOMIC_WIDTH__); -pub const SIG_ATOMIC_MAX = __INTN_MAX(__SIG_ATOMIC_WIDTH__); -pub const WINT_MIN = __INTN_MIN(__WINT_WIDTH__); -pub const WINT_MAX = __INTN_MAX(__WINT_WIDTH__); -pub const WCHAR_MAX = __WCHAR_MAX__; -pub const WCHAR_MIN = __UINTN_C(__WCHAR_WIDTH__, @as(c_int, 0)); -pub inline fn INTMAX_C(v: anytype) @TypeOf(__int_c(v, __INTMAX_C_SUFFIX__)) { - _ = &v; - return __int_c(v, __INTMAX_C_SUFFIX__); -} -pub inline fn UINTMAX_C(v: anytype) @TypeOf(__int_c(v, __UINTMAX_C_SUFFIX__)) { - _ = &v; - return __int_c(v, __UINTMAX_C_SUFFIX__); -} pub const __thread = ""; pub const CONFIG_ARM_HIKEY_OUTSTANDING_PREFETCHERS = @as(c_int, 0); pub const CONFIG_ARM_HIKEY_PREFETCHER_STRIDE = @as(c_int, 0); pub const CONFIG_ARM_HIKEY_PREFETCHER_NPFSTRM = @as(c_int, 0); pub const CONFIG_ARCH_AARCH64 = @as(c_int, 1); +pub const CONFIG_SEL4_ARCH = @compileError("unable to translate macro: undefined identifier `aarch64`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/kernel/gen_config.h:16:9 pub const CONFIG_ARCH_ARM = @as(c_int, 1); +pub const CONFIG_ARCH = @compileError("unable to translate macro: undefined identifier `arm`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/kernel/gen_config.h:18:9 pub const CONFIG_WORD_SIZE = @as(c_int, 64); -pub const CONFIG_USER_TOP = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0xa0000000, .hex); +pub const CONFIG_ARM_PLAT = @compileError("unable to translate macro: undefined identifier `qemu`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/kernel/gen_config.h:20:9 pub const CONFIG_PLAT_QEMU_ARM_VIRT = @as(c_int, 1); +pub const CONFIG_PLAT = @compileError("unable to translate macro: undefined identifier `qemu`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/kernel/gen_config.h:38:9 pub const CONFIG_ARM_CORTEX_A53 = @as(c_int, 1); pub const CONFIG_ARCH_ARM_V8A = @as(c_int, 1); pub const CONFIG_ARM_MACH = ""; @@ -8444,6 +8355,8 @@ pub const CONFIG_ARM_HYPERVISOR_SUPPORT = @as(c_int, 1); pub const CONFIG_AARCH64_USER_CACHE_ENABLE = @as(c_int, 1); pub const CONFIG_L1_CACHE_LINE_SIZE_BITS = @as(c_int, 6); pub const CONFIG_EXPORT_PCNT_USER = @as(c_int, 1); +pub const CONFIG_EXPORT_PTMR_USER = @as(c_int, 1); +pub const CONFIG_VTIMER_UPDATE_VOFFSET = @as(c_int, 1); pub const CONFIG_HAVE_FPU = @as(c_int, 1); pub const CONFIG_PADDR_USER_DEVICE_TOP = @import("std").zig.c_translation.promoteIntLiteral(c_int, 1099511627776, .decimal); pub const CONFIG_ROOT_CNODE_SIZE_BITS = @as(c_int, 12); @@ -8461,35 +8374,91 @@ pub const CONFIG_FPU_MAX_RESTORES_SINCE_SWITCH = @as(c_int, 64); pub const CONFIG_DEBUG_BUILD = @as(c_int, 1); pub const CONFIG_PRINTING = @as(c_int, 1); pub const CONFIG_NO_BENCHMARKS = @as(c_int, 1); +pub const CONFIG_KERNEL_BENCHMARK = @compileError("unable to translate macro: undefined identifier `none`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/kernel/gen_config.h:110:9 pub const CONFIG_MAX_NUM_TRACE_POINTS = @as(c_int, 0); pub const CONFIG_IRQ_REPORTING = @as(c_int, 1); pub const CONFIG_COLOUR_PRINTING = @as(c_int, 1); pub const CONFIG_USER_STACK_TRACE_LENGTH = @as(c_int, 16); pub const CONFIG_KERNEL_OPT_LEVEL_O2 = @as(c_int, 1); +pub const CONFIG_KERNEL_OPT_LEVEL = @compileError("unable to translate macro: undefined identifier `O2`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/kernel/gen_config.h:122:9 pub const CONFIG_KERNEL_OPTIMISATION_CLONE_FUNCTIONS = @as(c_int, 1); pub const CONFIG_KERNEL_WCET_SCALE = @as(c_int, 1); pub const CONFIG_KERNEL_STATIC_MAX_PERIOD_US = @as(c_int, 0); pub const CONFIG_LIB_SEL4_INLINE_INVOCATIONS = @as(c_int, 1); +pub const CONFIG_LIB_SEL4_FUNCTION_ATTRIBUTE = @compileError("unable to translate C expr: unexpected token 'inline'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/gen_config.h:6:9 pub const CONFIG_LIB_SEL4_PRINT_INVOCATION_ERRORS = @as(c_int, 0); +pub const CONST = @compileError("unable to translate C expr: unexpected token '__attribute__'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:12:9 +pub const PURE = @compileError("unable to translate macro: undefined identifier `__pure__`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:16:9 +pub const SEL4_PACKED = @compileError("unable to translate macro: undefined identifier `packed`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:19:9 +pub const SEL4_DEPRECATED = @compileError("unable to translate macro: undefined identifier `deprecated`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:20:9 +pub const SEL4_DEPRECATE_MACRO = @compileError("unable to translate macro: undefined identifier `_Pragma`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:21:9 +pub const LIBSEL4_UNUSED = @compileError("unable to translate macro: undefined identifier `unused`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:23:9 +pub const LIBSEL4_WEAK = @compileError("unable to translate macro: undefined identifier `weak`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:24:9 +pub const LIBSEL4_NOINLINE = @compileError("unable to translate macro: undefined identifier `noinline`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:25:9 +pub const LIBSEL4_INLINE = @compileError("unable to translate C expr: unexpected token 'static'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:30:9 +pub const LIBSEL4_INLINE_FUNC = @compileError("unable to translate C expr: unexpected token 'static'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:31:9 +pub const SEL4_COMPILE_ASSERT = @compileError("unable to translate C expr: unexpected token '_Static_assert'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:48:9 +pub const SEL4_SIZE_SANITY = @compileError("unable to translate macro: undefined identifier `_`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:55:9 +pub const SEL4_FORCE_LONG_ENUM = @compileError("unable to translate macro: undefined identifier `_enum_pad_`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/macros.h:64:9 pub inline fn LIBSEL4_BIT(n: anytype) @TypeOf(@as(c_ulong, 1) << n) { _ = &n; return @as(c_ulong, 1) << n; } pub const SEL4_WORD_IS_UINT64 = ""; pub const SEL4_INT64_IS_LONG = ""; +pub const seL4_integer_size_assert = @compileError("unable to translate macro: undefined identifier `sizeof_`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:29:9 pub const _seL4_int8_type = u8; pub const _seL4_int16_type = c_short; pub const _seL4_int32_type = c_int; pub const _seL4_int64_type = c_long; +pub const _seL4_int64_fmt = @compileError("unable to translate macro: undefined identifier `l`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:75:9 +pub const _macro_str_concat_helper2 = @compileError("unable to translate C expr: unexpected token '#'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:90:9 +pub const _macro_str_concat_helper1 = @compileError("unable to translate C expr: expected ',' or ')' instead got '##'"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:91:9 pub inline fn _macro_str_concat(x: anytype, y: anytype) @TypeOf(_macro_str_concat_helper1(x, y)) { _ = &x; _ = &y; return _macro_str_concat_helper1(x, y); } +pub const SEL4_PRId64 = @compileError("unable to translate macro: undefined identifier `d`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:94:9 +pub const SEL4_PRIi64 = @compileError("unable to translate macro: undefined identifier `i`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:95:9 +pub const SEL4_PRIu64 = @compileError("unable to translate macro: undefined identifier `u`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:96:9 +pub const SEL4_PRIx64 = @compileError("unable to translate macro: undefined identifier `x`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:97:9 pub const seL4_True = @as(c_int, 1); pub const seL4_False = @as(c_int, 0); pub const seL4_Null = @import("std").zig.c_translation.cast(?*anyopaque, @as(c_int, 0)); pub const _seL4_word_fmt = _seL4_int64_fmt; +pub const SEL4_PRId_word = @compileError("unable to translate macro: undefined identifier `d`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:122:9 +pub const SEL4_PRIi_word = @compileError("unable to translate macro: undefined identifier `i`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:123:9 +pub const SEL4_PRIu_word = @compileError("unable to translate macro: undefined identifier `u`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:124:9 +pub const SEL4_PRIx_word = @compileError("unable to translate macro: undefined identifier `x`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/simple_types.h:125:9 pub const SEL4_PRI_word = SEL4_PRIu_word; pub const seL4_DataFault = @as(c_int, 0); pub const seL4_InstructionFault = @as(c_int, 1); @@ -8520,6 +8489,10 @@ pub const seL4_MaxUntypedBits = @as(c_int, 47); pub const seL4_FastMessageRegisters = @as(c_int, 4); pub const seL4_IPCBufferSizeBits = @as(c_int, 10); pub const seL4_UserTop = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x000000ffffffffff, .hex); +pub const seL4_Fail = @compileError("unable to translate macro: undefined identifier `__FILE__`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/assert.h:28:9 +pub const seL4_Assert = @compileError("unable to translate macro: undefined identifier `__FILE__`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/assert.h:34:9 pub inline fn seL4_CompileTimeAssert(expr: anytype) @TypeOf(SEL4_COMPILE_ASSERT(seL4_CompileTimeAssert, expr)) { _ = &expr; return SEL4_COMPILE_ASSERT(seL4_CompileTimeAssert, expr); @@ -8548,6 +8521,14 @@ pub const seL4_GuardBits = @as(c_int, 58); pub const seL4_BadgeBits = @as(c_int, 64); pub const seL4_UntypedRetypeMaxObjects = CONFIG_RETYPE_FAN_OUT_LIMIT; pub const seL4_NilData = @as(c_int, 0); +pub const MCS_PARAM_DECL = @compileError("unable to translate macro: undefined identifier `reply_reg`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:14:9 +pub const MCS_PARAM = @compileError("unable to translate macro: undefined identifier `reply_reg`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/sel4_arch/syscalls.h:15:9 +pub const LIBSEL4_MCS_REPLY = @compileError("unable to translate macro: undefined identifier `reply`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/sel4/arch/syscalls.h:15:9 +pub const assert_size_correct = @compileError("unable to translate macro: undefined identifier `__type_`"); +// /home/ivanv/ts/microkit/release/microkit-sdk-1.4.0/board/qemu_virt_aarch64/debug/include/interfaces/sel4_client.h:19:9 pub const seL4_CapInitThreadPD = seL4_CapInitThreadVSpace; pub const seL4_BootInfoFrameBits = seL4_PageBits; pub const seL4_BootInfoFrameSize = LIBSEL4_BIT(seL4_BootInfoFrameBits); @@ -8587,10 +8568,8 @@ pub const seL4_VMFault = SEL4_DEPRECATE_MACRO(seL4_Fault_VMFault); pub const seL4_NumHWBreakpoints = @as(c_int, 10); pub const seL4_NumExclusiveBreakpoints = @as(c_int, 6); pub const seL4_NumExclusiveWatchpoints = @as(c_int, 4); -pub const REPLY_CAP = @as(c_int, 4); -pub const MONITOR_ENDPOINT_CAP = @as(c_int, 5); +pub const MONITOR_EP = @as(c_int, 5); pub const TCB_CAP = @as(c_int, 6); -pub const SMC_CAP = @as(c_int, 7); pub const BASE_OUTPUT_NOTIFICATION_CAP = @as(c_int, 10); pub const BASE_ENDPOINT_CAP = @as(c_int, 74); pub const BASE_IRQ_CAP = @as(c_int, 138); @@ -8617,3 +8596,4 @@ pub const seL4_ARM_SIDControl_GetFault = struct_seL4_ARM_SIDControl_GetFault; pub const seL4_ARM_CB_CBGetFault = struct_seL4_ARM_CB_CBGetFault; pub const seL4_TCB_GetBreakpoint = struct_seL4_TCB_GetBreakpoint; pub const seL4_TCB_ConfigureSingleStepping = struct_seL4_TCB_ConfigureSingleStepping; +pub const seL4_RootCNodeCapSlots = enum_seL4_RootCNodeCapSlots; diff --git a/examples/zig/src/vmm.zig b/examples/zig/src/vmm.zig index db20ba384..51f9cd82c 100644 --- a/examples/zig/src/vmm.zig +++ b/examples/zig/src/vmm.zig @@ -127,13 +127,15 @@ export fn notified(ch: microkit.microkit_channel) callconv(.C) void { } } -extern fn fault_handle(id: microkit.microkit_id, msginfo: microkit.microkit_msginfo) callconv(.C) bool; +extern fn fault_handle(id: microkit.microkit_child, msginfo: microkit.microkit_msginfo) callconv(.C) bool; -export fn fault(id: microkit.microkit_id, msginfo: microkit.microkit_msginfo) callconv(.C) void { +export fn fault(id: microkit.microkit_child, msginfo: microkit.microkit_msginfo, msginfo_reply: *microkit.microkit_msginfo) callconv(.C) bool { if (fault_handle(id, msginfo)) { // Now that we have handled the fault, we reply to it so that the guest can resume execution. - microkit.microkit_fault_reply(microkit.microkit_msginfo_new(0, 0)); + msginfo_reply.* = microkit.microkit_msginfo_new(0, 0); + return true; } else { log.err("Failed to handle fault\n", .{}); + return false; } } diff --git a/examples/zig/zig_vmm.system b/examples/zig/zig_vmm.system index 4337eb713..c0f77ba49 100644 --- a/examples/zig/zig_vmm.system +++ b/examples/zig/zig_vmm.system @@ -36,7 +36,8 @@ at the same address in the VMMs virutal address space. --> - + +