mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 10:27:12 +08:00
Move pause() define to <sys/systm.h>
This commit is contained in:
@@ -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 <unistd.h>
|
||||
#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))
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user