📄 bus_if.h
字号:
/* * This file is produced automatically. * Do not modify anything in here by hand. * * Created from source file * @/kern/bus_if.m * with * @/kern/makedevops.pl * * See the source file for legal information */#ifndef _bus_if_h_#define _bus_if_h_extern struct device_op_desc bus_print_child_desc;typedef int bus_print_child_t(device_t dev, device_t child);bus_print_child_t BUS_PRINT_CHILD;extern struct device_op_desc bus_probe_nomatch_desc;typedef void bus_probe_nomatch_t(device_t dev, device_t child);bus_probe_nomatch_t BUS_PROBE_NOMATCH;extern struct device_op_desc bus_read_ivar_desc;typedef int bus_read_ivar_t(device_t dev, device_t child, int index, uintptr_t *result);bus_read_ivar_t BUS_READ_IVAR;extern struct device_op_desc bus_write_ivar_desc;typedef int bus_write_ivar_t(device_t dev, device_t child, int index, uintptr_t value);bus_write_ivar_t BUS_WRITE_IVAR;extern struct device_op_desc bus_child_detached_desc;typedef void bus_child_detached_t(device_t dev, device_t child);bus_child_detached_t BUS_CHILD_DETACHED;extern struct device_op_desc bus_driver_added_desc;typedef void bus_driver_added_t(device_t dev, driver_t *driver);bus_driver_added_t BUS_DRIVER_ADDED;extern struct device_op_desc bus_add_child_desc;typedef device_t bus_add_child_t(device_t dev, int order, const char *name, int unit);bus_add_child_t BUS_ADD_CHILD;extern struct device_op_desc bus_alloc_resource_desc;typedef struct resource * bus_alloc_resource_t(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags);bus_alloc_resource_t BUS_ALLOC_RESOURCE;extern struct device_op_desc bus_activate_resource_desc;typedef int bus_activate_resource_t(device_t dev, device_t child, int type, int rid, struct resource *r);bus_activate_resource_t BUS_ACTIVATE_RESOURCE;extern struct device_op_desc bus_deactivate_resource_desc;typedef int bus_deactivate_resource_t(device_t dev, device_t child, int type, int rid, struct resource *r);bus_deactivate_resource_t BUS_DEACTIVATE_RESOURCE;extern struct device_op_desc bus_release_resource_desc;typedef int bus_release_resource_t(device_t dev, device_t child, int type, int rid, struct resource *res);bus_release_resource_t BUS_RELEASE_RESOURCE;extern struct device_op_desc bus_setup_intr_desc;typedef int bus_setup_intr_t(device_t dev, device_t child, struct resource *irq, int flags, driver_intr_t *intr, void *arg, void **cookiep);bus_setup_intr_t BUS_SETUP_INTR;extern struct device_op_desc bus_teardown_intr_desc;typedef int bus_teardown_intr_t(device_t dev, device_t child, struct resource *irq, void *cookie);bus_teardown_intr_t BUS_TEARDOWN_INTR;extern struct device_op_desc bus_set_resource_desc;typedef int bus_set_resource_t(device_t dev, device_t child, int type, int rid, u_long start, u_long count);bus_set_resource_t BUS_SET_RESOURCE;extern struct device_op_desc bus_get_resource_desc;typedef int bus_get_resource_t(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp);bus_get_resource_t BUS_GET_RESOURCE;extern struct device_op_desc bus_delete_resource_desc;typedef void bus_delete_resource_t(device_t dev, device_t child, int type, int rid);bus_delete_resource_t BUS_DELETE_RESOURCE;#endif /* _bus_if_h_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -