diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h index 8630a89a..75d8a49b 100644 --- a/freebsd/sys/sys/systm.h +++ b/freebsd/sys/sys/systm.h @@ -348,6 +348,10 @@ int msleep_spin(void *chan, struct mtx *mtx, const char *wmesg, int timo) #define msleep_spin(chan, mtx, wmesg, timo) \ msleep((chan), (mtx), 0, (wmesg), (timo)) #endif /* __rtems__ */ +#ifdef __rtems__ +#include +#define pause _bsd_pause +#endif /* __rtems__ */ int pause(const char *wmesg, int timo); #define tsleep(chan, pri, wmesg, timo) \ _sleep((chan), NULL, (pri), (wmesg), (timo)) diff --git a/rtemsbsd/include/machine/rtems-bsd-symbols.h b/rtemsbsd/include/machine/rtems-bsd-symbols.h index 9b70caa8..23570a1c 100644 --- a/rtemsbsd/include/machine/rtems-bsd-symbols.h +++ b/rtemsbsd/include/machine/rtems-bsd-symbols.h @@ -317,7 +317,6 @@ #define ohci_resume _bsd_ohci_resume #define ohci_suspend _bsd_ohci_suspend #define panic _bsd_panic -#define pause _bsd_pause #define psignal _bsd_psignal #define root_bus_configure _bsd_root_bus_configure #define scsi_inquiry _bsd_scsi_inquiry