The block driver protocol and libblockdriver's bdr_ioctl hook are changed, as well as the users of this hook. Other parts of the system are expected to change accordingly eventually, since the ioctl(2) prototype has been aligned with NetBSD's. Change-Id: Ide46245b22cfa89ed267a38088fb0ab7696eba92
11 lines
348 B
C
11 lines
348 B
C
#ifndef _BLOCKDRIVER_TRACE_H
|
|
#define _BLOCKDRIVER_TRACE_H
|
|
|
|
int trace_ctl(dev_t minor, unsigned long request, endpoint_t endpt,
|
|
cp_grant_id_t grant);
|
|
|
|
void trace_start(thread_id_t thread_id, message *m_ptr);
|
|
void trace_setsize(thread_id_t thread_id, size_t size);
|
|
void trace_finish(thread_id_t thread_id, int r);
|
|
|
|
#endif /* _BLOCKDRIVER_TRACE_H */
|