kos_sys/arch/
exec.rs

1
2
3
4
5
6
7
8
9
10
11
// Rust for KallistiOS/Dreamcast
// Copyright (C) 2024 Eric Fradella
// https://dreamcast.rs/

use crate::prelude::*;

#[link(name = "kallisti")]
extern "C" {
    pub fn arch_exec_at(image: *const c_void, length: u32, address: u32) -> !;
    pub fn arch_exec(image: *const c_void, length: u32) -> !;
}