mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 07:13:14 +08:00
Commented out methods to prevent linker errors.
Removed methods that would require we pull in more files that we didn't need at the moment.
This commit is contained in:
parent
c976506740
commit
9fe8c97ccd
@ -70,6 +70,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <freebsd/vm/vm_object.h>
|
#include <freebsd/vm/vm_object.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
SYSCTL_INT(_kern, KERN_IOV_MAX, iov_max, CTLFLAG_RD, NULL, UIO_MAXIOV,
|
SYSCTL_INT(_kern, KERN_IOV_MAX, iov_max, CTLFLAG_RD, NULL, UIO_MAXIOV,
|
||||||
"Maximum number of elements in an I/O vector; sysconf(_SC_IOV_MAX)");
|
"Maximum number of elements in an I/O vector; sysconf(_SC_IOV_MAX)");
|
||||||
|
|
||||||
@ -372,6 +373,7 @@ again:
|
|||||||
uio->uio_offset++;
|
uio->uio_offset++;
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* General routine to allocate a hash table with control of memory flags.
|
* General routine to allocate a hash table with control of memory flags.
|
||||||
@ -463,6 +465,7 @@ phashinit(int elements, struct malloc_type *type, u_long *nentries)
|
|||||||
return (hashtbl);
|
return (hashtbl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
void
|
void
|
||||||
uio_yield(void)
|
uio_yield(void)
|
||||||
{
|
{
|
||||||
@ -584,3 +587,4 @@ cloneuio(struct uio *uiop)
|
|||||||
bcopy(uiop->uio_iov, uio->uio_iov, iovlen);
|
bcopy(uiop->uio_iov, uio->uio_iov, iovlen);
|
||||||
return (uio);
|
return (uio);
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user