示例#1
0
文件: DevFS.cpp 项目: FFalcon/jbushOS
int DeviceFileDescriptor::Control(int command, void *buffer)
{
	return fDevice->Control(command, buffer);
}
static status_t
SiS19X_control(void* cookie, uint32 op, void* buffer, size_t length)
{
    Device* device = (Device*) cookie;
    return device->Control(op, buffer, length);
}