diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-08-30 19:52:45 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-08-30 19:52:45 +0000 |
| commit | 06cb237af682fbc45a72c4e43e3f8126b2c9cac6 (patch) | |
| tree | a0eb1898429941f00da446e1e8c8efdd35864ff9 /apps/plugin.h | |
| parent | 56fd6f9316ee196bfd16a2f102469cb6b040d397 (diff) | |
| download | rockbox-06cb237af682fbc45a72c4e43e3f8126b2c9cac6.zip rockbox-06cb237af682fbc45a72c4e43e3f8126b2c9cac6.tar.gz rockbox-06cb237af682fbc45a72c4e43e3f8126b2c9cac6.tar.bz2 rockbox-06cb237af682fbc45a72c4e43e3f8126b2c9cac6.tar.xz | |
New debug feature: Use the SH1 user break controller to catch illegal memory accesses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 43f8b89..078dc12 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -51,7 +51,7 @@ #ifdef PLUGIN #if defined(DEBUG) || defined(SIMULATOR) -#define DEBUGF rb->debugf +#define DEBUGF rb->debugf #define LDEBUGF rb->debugf #else #define DEBUGF(...) @@ -60,7 +60,7 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 26 +#define PLUGIN_API_VERSION 27 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -295,6 +295,9 @@ struct plugin_api { unsigned long (*find_next_frame)(int fd, int *offset, int max_offset, unsigned long last_header); unsigned long (*mpeg_get_last_header)(void); +#ifndef SIMULATOR + int (*system_memory_guard)(int newmode); +#endif }; /* defined by the plugin loader (plugin.c) */ |