X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fproc.c;h=db3cf50dab18236ab964aec533ce10ff0b7925fc;hb=f236c8017e2e0398805eedfa05d4b26e7c707a8e;hp=88791e0afb8b1e91df76b8b92fe6c46f2ec4461f;hpb=294f744f2676575fa3704a2fc321eac0b894e1da;p=bertos.git diff --git a/kern/proc.c b/kern/proc.c index 88791e0a..db3cf50d 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /*#* *#* $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. *#* @@ -70,11 +73,13 @@ #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