mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 07:19:36 +08:00
parent
ab4be9ec77
commit
1d90e42327
@ -46,6 +46,13 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <vm/vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include "nvme_private.h"
|
#include "nvme_private.h"
|
||||||
|
#ifdef __rtems__
|
||||||
|
#include <rtems/score/smp.h>
|
||||||
|
#undef curcpu
|
||||||
|
#define curcpu _SMP_Get_current_processor()
|
||||||
|
#undef mp_ncpus
|
||||||
|
#define mp_ncpus _SMP_Get_processor_maximum()
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
#define B4_CHK_RDY_DELAY_MS 2300 /* work around controller bug */
|
#define B4_CHK_RDY_DELAY_MS 2300 /* work around controller bug */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user