blob: f016fe15499f544e0c762acdae726d76d98dbddf [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0 */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
4 * Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00005 */
6
7#ifndef __UM_UBD_USER_H
8#define __UM_UBD_USER_H
9
10extern int start_io_thread(unsigned long sp, int *fds_out);
11extern int io_thread(void *arg);
12extern int kernel_fd;
13
14extern int ubd_read_poll(int timeout);
15extern int ubd_write_poll(int timeout);
16
17#define UBD_REQ_BUFFER_SIZE 64
18
19#endif
20