Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/_uio.h
Show All 35 Lines | |||||
#define _SYS__UIO_H_ | #define _SYS__UIO_H_ | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
enum uio_rw { | enum uio_rw { | ||||
UIO_READ, | UIO_READ, | ||||
UIO_WRITE | UIO_WRITE | ||||
}; | }; | ||||
enum uio_bio_cmd { | |||||
UIO_BIO_READ, | |||||
UIO_BIO_WRITE, | |||||
UIO_BIO_SYNC | |||||
imp: DELETE needed as well? | |||||
Not Done Inline ActionsThat would be really sweet. But I don't think we need a UIO_BIO_DELETE until somebody writes aio_delete(). asomers: That would be really sweet. But I don't think we need a UIO_BIO_DELETE until somebody writes… | |||||
Not Done Inline ActionsFair point.... imp: Fair point.... | |||||
}; | |||||
/* Segment flag values. */ | /* Segment flag values. */ | ||||
enum uio_seg { | enum uio_seg { | ||||
UIO_USERSPACE, /* from user data space */ | UIO_USERSPACE, /* from user data space */ | ||||
UIO_SYSSPACE, /* from system space */ | UIO_SYSSPACE, /* from system space */ | ||||
UIO_NOCOPY /* don't copy, already in object */ | UIO_NOCOPY /* don't copy, already in object */ | ||||
}; | }; | ||||
#endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
#endif /* !_SYS__UIO_H_ */ | #endif /* !_SYS__UIO_H_ */ |
DELETE needed as well?