dev_wic_serial.h

来自「思科路由器仿真器,用来仿7200系列得,可以在电脑上模拟路由器」· C头文件 代码 · 共 32 行

H
32
字号
/* * Cisco router simulation platform. * Copyright (c) 2007 Christophe Fillot (cf@utc.fr) * * WIC-1T & WIC-2T devices. */#ifndef __DEV_WIC_SERIAL_H__#define __DEV_WIC_SERIAL_H__#include <sys/types.h>#include "utils.h"#include "vm.h"#include "cpu.h"#include "device.h"enum {   WIC_SERIAL_MODEL_1T = 1,   WIC_SERIAL_MODEL_2T,};/* Create a WIC serial device */struct wic_serial_data *dev_wic_serial_init(vm_instance_t *vm,char *name,u_int model,                    m_uint64_t paddr,m_uint32_t len);/* Remove a WIC serial device */void dev_wic_serial_remove(struct wic_serial_data *d);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?