mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-01 06:23:35 +01:00
30 lines
491 B
C
30 lines
491 B
C
#ifndef _INTERNALS_GINT_H
|
|
#define _INTERNALS_GINT_H 1
|
|
|
|
//---
|
|
// Exception code strings.
|
|
//---
|
|
|
|
extern const char *gint_str[];
|
|
|
|
|
|
|
|
//---
|
|
// Register access.
|
|
//---
|
|
|
|
/*
|
|
gint_spc()
|
|
Returns the saved program counter, which is the last state of execution
|
|
saved by interrupt processing.
|
|
*/
|
|
unsigned int gint_spc(void);
|
|
|
|
/*
|
|
gint_ssr()
|
|
Returns the saved status register, which is the last configuration
|
|
saved by interrupt processing.
|
|
*/
|
|
unsigned int gint_ssr(void);
|
|
|
|
#endif // _INTERNALS_GINT_H
|