mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Anastasiia Lukianenko](/assets/img/avatar_default.png)
Add initial infrastructure for Xen para-virtualized block device. This includes compile-time configuration and the skeleton for the future driver implementation. Add new class UCLASS_PVBLOCK which is going to be a parent for virtual block devices. Add new interface type IF_TYPE_PVBLOCK. Implement basic driver setup by reading XenStore configuration. Signed-off-by: Andrii Anisov <andrii_anisov@epam.com> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
18 lines
339 B
C
18 lines
339 B
C
/* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* (C) 2020 EPAM Systems Inc.
|
|
*/
|
|
|
|
#ifndef _PVBLOCK_H
|
|
#define _PVBLOCK_H
|
|
|
|
/**
|
|
* pvblock_init() - Initialize para-virtual block device class driver
|
|
*
|
|
* Bind PV block to UCLASS_ROOT device and probe all UCLASS_PVBLOCK
|
|
* virtual block devices.
|
|
*/
|
|
void pvblock_init(void);
|
|
|
|
#endif /* _PVBLOCK_H */
|