projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename myself
[bertos.git]
/
bertos
/
drv
/
kdebug.c
diff --git
a/bertos/drv/kdebug.c
b/bertos/drv/kdebug.c
index c461b7281cbf2b496ef374119748fbdd082318d4..ac90ff038d8f9955b3e26874f9cca4c10d663ce9 100644
(file)
--- a/
bertos/drv/kdebug.c
+++ b/
bertos/drv/kdebug.c
@@
-27,28
+27,25
@@
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005, 2006, 2007 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005, 2006, 2007 Develer S.r.l. (http://www.develer.com/)
- * Copyright 2000, 2001, 2002 Bern
ardo
Innocenti <bernie@codewiz.org>
+ * Copyright 2000, 2001, 2002 Bern
ie
Innocenti <bernie@codewiz.org>
*
* -->
*
* \brief General pourpose debug support for embedded systems (implementation).
*
* \version $Id$
*
* -->
*
* \brief General pourpose debug support for embedded systems (implementation).
*
* \version $Id$
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Stefano Fedrigo <aleph@develer.com>
*/
* \author Stefano Fedrigo <aleph@develer.com>
*/
-#include <cpu/irq.h>
-#include <cpu/attr.h>
-#include <cpu/types.h>
-
+#include "cfg/cfg_debug.h"
#include <cfg/macros.h> /* for BV() */
#include <cfg/debug.h>
#include <cfg/macros.h> /* for BV() */
#include <cfg/debug.h>
+#include <cfg/os.h>
-#include <appconfig.h>
-#warning what about these?
-//#include <hw_cpu.h> /* for CLOCK_FREQ */
-//#include <hw_ser.h> /* Required for bus macros overrides */
+#include <cpu/irq.h>
+#include <cpu/attr.h>
+#include <cpu/types.h>
#include <mware/formatwr.h> /* for _formatted_write() */
#include <mware/pgm.h>
#include <mware/formatwr.h> /* for _formatted_write() */
#include <mware/pgm.h>
@@
-193,7
+190,7
@@
static void klocation(const char * PGM_ATTR file, int line)
PGM_FUNC(kputs)(PGM_STR(": "));
}
PGM_FUNC(kputs)(PGM_STR(": "));
}
-int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
+int PGM_FUNC(__
b
assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
{
klocation(file, line);
PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));
{
klocation(file, line);
PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));