Changes between Version 5 and Version 6 of NewDriver
- Timestamp:
- Dec 22, 2009, 3:49:39 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewDriver
v5 v6 46 46 47 47 Interface function prototypes are defined in two headers: 48 * ` hexo/device.h` defines the class-agnostic functions: init, cleanup and irq,48 * `device/device.h` defines the class-agnostic functions: init, cleanup and irq, 49 49 * `device/`''class''`.h` defines the class-specific functions. for character devices, there is only a `request` function to implement. 50 50 … … 55 55 56 56 #include <device/char.h> 57 #include < hexo/device.h>57 #include <device/device.h> 58 58 59 59 /* The device constructor & destructor */ … … 110 110 #include <device/icu.h> 111 111 #include <hexo/types.h> 112 #include < hexo/device.h>112 #include <device/device.h> 113 113 #include <device/driver.h> 114 114 #include <hexo/iospace.h>