vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / kernel / bus_managers / ps2 / ps2_service.h
blobf4cf1d30ec09e3cca7631351c8160a69adc9dc35
1 /*
2 * Copyright 2005-2010 Haiku, Inc.
3 * Distributed under the terms of the MIT License.
5 * PS/2 bus manager
7 * Authors (in chronological order):
8 * Marcus Overhagen (marcus@overhagen.de)
9 */
10 #ifndef __PS2_SERVICE_H
11 #define __PS2_SERVICE_H
14 #include "ps2_common.h"
15 #include "ps2_dev.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
22 status_t ps2_service_init(void);
23 void ps2_service_exit(void);
25 void ps2_service_notify_device_added(ps2_dev *dev);
26 void ps2_service_notify_device_republish(ps2_dev *dev);
27 void ps2_service_notify_device_removed(ps2_dev *dev);
29 #ifdef __cplusplus
31 #endif
34 #endif /* __PS2_SERVICE_H */