KallistiOS git master
Independent SDK for the Sega Dreamcast
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
exec.h File Reference

Program execution. More...

#include <sys/cdefs.h>

Go to the source code of this file.

Functions

void arch_exec_at (const void *image, uint32_t length, uint32_t address) __noreturn
 Replace the currently running binary.
 
void arch_exec (const void *image, uint32_t length) __noreturn
 Replace the currently running binary at the default address.
 

Detailed Description

Program execution.

This file contains functions that allow you to replace the currently running program with another binary that has already been loaded into memory. Doing so is expected to replace the currently running binary in its entirety, and these functions do not return to the calling function.

Author
Megan Potter