diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-17 14:08:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-17 14:08:53 +0000 |
commit | 598423fd309b4d0cf871bc1151b9d3d97a078cd6 (patch) | |
tree | 0a6e077a9dea07618985fc14f9410b7c59dbfc8d /src/templates | |
parent | a9b4e8fc7225e8e2f26554b388f9d069d8f05b5e (diff) | |
download | ChibiOS-598423fd309b4d0cf871bc1151b9d3d97a078cd6.tar.gz ChibiOS-598423fd309b4d0cf871bc1151b9d3d97a078cd6.tar.bz2 ChibiOS-598423fd309b4d0cf871bc1151b9d3d97a078cd6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@622 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/chcore.c | 4 | ||||
-rw-r--r-- | src/templates/chcore.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/chcore.c b/src/templates/chcore.c index 84f0b7418..677c4ea2f 100644 --- a/src/templates/chcore.c +++ b/src/templates/chcore.c @@ -72,13 +72,13 @@ void sys_unlock_from_isr(void) { * Disables all the interrupt sources.
* @note Of course non maskable interrupt sources are not included. */
-void sys_disable_all() {
+void sys_disable() {
}
/**
* Disables the interrupt sources that are not supposed to preempt the kernel. */
-void sys_disable(void) {
+void sys_suspend(void) {
}
/**
diff --git a/src/templates/chcore.h b/src/templates/chcore.h index dec2deee7..92852fead 100644 --- a/src/templates/chcore.h +++ b/src/templates/chcore.h @@ -130,8 +130,8 @@ typedef struct { extern "C" {
#endif
void sys_init(void);
- void sys_disable_all(void);
void sys_disable(void);
+ void sys_suspend(void);
void sys_enable(void);
void sys_lock(void);
void sys_unlock(void);
|