From 6e676e7754e9042c333ff7f3826766c6462f92be Mon Sep 17 00:00:00 2001 From: Grissiom Date: Tue, 20 Aug 2013 10:48:15 +0800 Subject: dev/portal: implement portal device Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes. --- include/rtdef.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/rtdef.h b/include/rtdef.h index 6caf713f45..09574d2233 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -740,6 +740,7 @@ enum rt_device_class_type RT_Device_Class_SDIO, /**< SDIO bus device */ RT_Device_Class_PM, /**< PM pseudo device */ RT_Device_Class_Pipe, /**< Pipe device */ + RT_Device_Class_Portal, /**< Portal device */ RT_Device_Class_Miscellaneous, /**< Miscellaneous device */ RT_Device_Class_Unknown /**< unknown device */ }; -- cgit v1.3.1