KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
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 length, uint32 address) __noreturn
 Replace the currently running binary.
 
void arch_exec (const void *image, uint32 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