[Linux-hls-cvs] hls/hls/include hls_debug.h,1.2,1.3 hls_internal.h,1.4,1.5
Status: Pre-Alpha
Brought to you by:
lucabe
|
From: <lu...@us...> - 2003-12-13 12:27:18
|
Update of /cvsroot/linux-hls/hls/hls/include
In directory sc8-pr-cvs1:/tmp/cvs-serv15989/hls/include
Modified Files:
hls_debug.h hls_internal.h
Log Message:
- Misc cleanups
- Unbreak modular compilation
- Provide a way to move all the tasks away from HLS (echo null > /proc/HLS/default)
Index: hls_debug.h
===================================================================
RCS file: /cvsroot/linux-hls/hls/hls/include/hls_debug.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** hls_debug.h 25 Feb 2003 09:18:54 -0000 1.2
--- hls_debug.h 13 Dec 2003 12:27:15 -0000 1.3
***************
*** 45,49 ****
#endif // HLS_DBG_PRINT_LEVEL
! extern void _hls_assertion_failed(const char *assertion, int line, const char *file);
#define HLS_ASSERT(x) do { \
--- 45,63 ----
#endif // HLS_DBG_PRINT_LEVEL
! //extern void _hls_assertion_failed(const char *assertion, int line, const char *file);
! static inline void _hls_assertion_failed (const char *assertion, int line,
! const char *file)
! {
! hls_hard_printk ("%s:%d: failed HLS assertion: \"%s\".\n",
! file, line, assertion);
! hls_printk ("%s:%d: failed HLS assertion: \"%s\".\n",
! file, line, assertion);
! #if __HARD_PANIC__
! hls_panic(assertion);
! #else
! hls_hard_printk("HLS ERROR: not panicing, but continuing...\n");
! hls_printk("HLS ERROR: not panicing, but continuing...\n");
! #endif
! }
#define HLS_ASSERT(x) do { \
Index: hls_internal.h
===================================================================
RCS file: /cvsroot/linux-hls/hls/hls/include/hls_internal.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** hls_internal.h 29 Nov 2003 09:11:35 -0000 1.4
--- hls_internal.h 13 Dec 2003 12:27:15 -0000 1.5
***************
*** 60,63 ****
--- 60,64 ----
void hls_setrt(void *p);
void hls_convert_tasks(void);
+ void hls_release_tasks(void);
/* These are needed by procfs.c */
|