| 8 | #include <timer.h> |
| 9 | |
| 10 | class URandom : public Device { |
| 11 | public: |
| 12 | URandom(const char* name) : Device(name, TypeGenericDevice) { |
| 13 | flags = FS_NODE_CHARDEVICE; |
| 14 | } |
| 15 | |
| 16 | ssize_t Read(size_t, size_t, uint8_t*); |
| 17 | ssize_t Write(size_t, size_t, uint8_t*); |
| 18 | }; |
| 19 | |
| 20 | class Null : public Device { |
| 21 | public: |