This patch moves more includes (most of them, to tell the truth) to common/include directory. This completes the list of includes needed to compile current trunk with the new libc (but to do that you need more patches in queue). This patch also contains some modification (for compilation with new headers) to the common includes under __NBSD_LIBC, the define used in mk script to specialize compilation with new includes.
29 lines
428 B
C
29 lines
428 B
C
#ifndef __SYS_VM_H__
|
|
#define __SYS_VM_H__
|
|
|
|
/*
|
|
sys/vm.h
|
|
*/
|
|
|
|
/* MIOCMAP */
|
|
struct mapreq
|
|
{
|
|
void *base;
|
|
size_t size;
|
|
off_t offset;
|
|
int readonly;
|
|
};
|
|
|
|
/* used in ioctl to tty for mapvm map and unmap request. */
|
|
struct mapreqvm
|
|
{
|
|
int flags; /* reserved, must be 0 */
|
|
off_t phys_offset;
|
|
size_t size;
|
|
int readonly;
|
|
char reserved[36]; /* reserved, must be 0 */
|
|
void *vaddr;
|
|
void *vaddr_ret;
|
|
};
|
|
|
|
#endif /* __SYS_VM_H__ */
|