X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=kern%2Fproc.c;h=db3cf50dab18236ab964aec533ce10ff0b7925fc;hb=78af5b91002a94c63e33d1c6ccb6017b9362cb09;hp=84357658d569d989a323ea1921838ae308f177bd;hpb=11f6115fdbc7499f6700379ea8a839849850f9f9;p=bertos.git diff --git a/kern/proc.c b/kern/proc.c index 84357658..db3cf50d 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,12 @@ /*#* *#* $Log$ + *#* Revision 1.15 2004/09/20 03:29:39 bernie + *#* C++ fixes. + *#* + *#* Revision 1.14 2004/09/14 21:06:44 bernie + *#* Use debug.h instead of kdebug.h. + *#* *#* Revision 1.13 2004/08/29 21:58:53 bernie *#* Include macros.h explicityl. *#* @@ -61,17 +67,19 @@ #include "cpu.h" #include "event.h" #include "hw.h" -#include +#include #include /* ARCH_EMUL */ #include /* ABS() */ #include /* memset() */ -/*! CPU dependent context switching routines - * \note This function *MUST* preserve also the status of the interrupts. +/*! + * CPU dependent context switching routines. + * + * \note This function *MUST* preserve also the status of the interrupts. */ -extern void asm_switch_context(cpustack_t **new_sp, cpustack_t **save_sp); -extern int asm_switch_version(void); +EXTERN_C void asm_switch_context(cpustack_t **new_sp, cpustack_t **save_sp); +EXTERN_C int asm_switch_version(void); /* * The scheduer tracks ready and waiting processes