2016-10-30 14:17:24 +00:00
|
|
|
/*
|
2013-12-05 14:45:14 +00:00
|
|
|
* \brief Definitions for FS front-end
|
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2014-01-22
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2014-2017 Genode Labs GmbH
|
2013-12-05 14:45:14 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2013-12-05 14:45:14 +00:00
|
|
|
*/
|
|
|
|
#ifndef _INCLUDE__RUMP_FS__FS_H_
|
|
|
|
#define _INCLUDE__RUMP_FS__FS_H_
|
|
|
|
|
|
|
|
/**
|
|
|
|
* File to upon the back-end will open a block session
|
|
|
|
*/
|
|
|
|
#define GENODE_BLOCK_SESSION "block_session"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Device to create within rump
|
|
|
|
*/
|
|
|
|
#define GENODE_DEVICE "/genode"
|
|
|
|
|
2017-10-23 09:00:41 +00:00
|
|
|
/**
|
|
|
|
* Device where to mount the block device
|
|
|
|
*/
|
|
|
|
#define GENODE_MOUNT_DIR "/mnt"
|
|
|
|
|
2013-12-05 14:45:14 +00:00
|
|
|
|
2017-01-06 13:23:53 +00:00
|
|
|
void rump_io_backend_init();
|
|
|
|
|
2013-12-05 14:45:14 +00:00
|
|
|
/**
|
|
|
|
* Sync I/O back-end with underlying Genode subsystems
|
|
|
|
*/
|
|
|
|
void rump_io_backend_sync();
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__RUMP_FS__FS_H_ */
|