mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 05:29:43 +08:00
Update due to RTEMS printer API changes
This commit is contained in:
parent
628512a031
commit
32fd702138
@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <machine/cpu.h>
|
#include <machine/cpu.h>
|
||||||
#ifndef __rtems__
|
#ifndef __rtems__
|
||||||
#include <machine/md_var.h>
|
#include <machine/md_var.h>
|
||||||
#include <machine/stdarg.h>
|
|
||||||
#else /* __rtems__ */
|
#else /* __rtems__ */
|
||||||
#ifdef INTR_FILTER
|
#ifdef INTR_FILTER
|
||||||
#error INTR_FILTER is currently not suppported with RTEMS
|
#error INTR_FILTER is currently not suppported with RTEMS
|
||||||
@ -67,6 +66,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <machine/rtems-bsd-thread.h>
|
#include <machine/rtems-bsd-thread.h>
|
||||||
#define RTEMSBSD_SWI_WAKEUP_EVENT RTEMS_EVENT_31
|
#define RTEMSBSD_SWI_WAKEUP_EVENT RTEMS_EVENT_31
|
||||||
#endif /* __rtems__ */
|
#endif /* __rtems__ */
|
||||||
|
#include <machine/stdarg.h>
|
||||||
#ifdef DDB
|
#ifdef DDB
|
||||||
#include <ddb/ddb.h>
|
#include <ddb/ddb.h>
|
||||||
#include <ddb/db_sym.h>
|
#include <ddb/db_sym.h>
|
||||||
|
@ -1 +1 @@
|
|||||||
/* EMPTY */
|
#include <stdarg.h>
|
||||||
|
@ -44,6 +44,8 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
panic(const char *fmt, ...)
|
panic(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
#include <sys/mutex.h>
|
#include <sys/mutex.h>
|
||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#undef printf
|
#undef printf
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <rtems/printer.h>
|
||||||
#include <rtems/stackchk.h>
|
#include <rtems/stackchk.h>
|
||||||
#include <rtems/bsd/bsd.h>
|
#include <rtems/bsd/bsd.h>
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#include <machine/rtems-bsd-commands.h>
|
#include <machine/rtems-bsd-commands.h>
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
#include <rtems/printer.h>
|
||||||
#include <rtems/stackchk.h>
|
#include <rtems/stackchk.h>
|
||||||
#include <rtems/bsd/bsd.h>
|
#include <rtems/bsd/bsd.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user