vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / kernel / bus_managers / ps2 / PS2.h
blob67d03db8dedfd9448d3e44350f0a158e1e350e1b
1 /*
2 * Copyright 2005 Marcus Overhagen
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_H_
11 #define _PS2_H_
13 #include <bus_manager.h>
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
20 typedef struct {
21 bus_manager_info binfo;
23 int32 (*function1)();
24 int32 (*function2)();
26 } ps2_module_info;
28 #define B_PS2_MODULE_NAME "bus_managers/ps2/v1"
31 #ifdef __cplusplus
33 #endif
35 #endif