mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 05:11:15 +08:00
Port IEEE 802.11.
This commit is contained in:
0
rtemsbsd/include/rtems/bsd/local/opt_platform.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_platform.h
Normal file
@@ -176,6 +176,14 @@
|
||||
#define _ALIGN(p) (((uintptr_t)(p) + _ALIGNBYTES) &~ _ALIGNBYTES)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* ALIGNED_POINTER is a boolean macro that checks whether an address
|
||||
* is valid to fetch data elements of type t from on this architecture.
|
||||
* This does not reflect the optimal alignment, just the possibility
|
||||
* (within reasonable limits).
|
||||
*/
|
||||
#define ALIGNED_POINTER(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0)
|
||||
|
||||
/*
|
||||
* Some macros for units conversion
|
||||
*/
|
||||
|
@@ -50,6 +50,8 @@
|
||||
#include <sys/proc.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <net80211/ieee80211_freebsd.h>
|
||||
|
||||
#include <rtems/bsd/bsd.h>
|
||||
|
||||
SYSINIT_REFERENCE(configure1);
|
||||
@@ -61,6 +63,8 @@ SYSINIT_DRIVER_REFERENCE(nexus, root);
|
||||
|
||||
RTEMS_BSD_DEFINE_SET(modmetadata_set, struct mod_metadata *);
|
||||
RTEMS_BSD_DEFINE_SET(sysctl_set, struct sysctl_oid *);
|
||||
RTEMS_BSD_DEFINE_SET(ieee80211_ioctl_getset, ieee80211_ioctl_getfunc *);
|
||||
RTEMS_BSD_DEFINE_SET(ieee80211_ioctl_setset, ieee80211_ioctl_setfunc *);
|
||||
|
||||
RTEMS_BSD_DEFINE_RWSET(sysinit_set, struct sysinit *);
|
||||
|
||||
|
Reference in New Issue
Block a user