Subversion Repositories HelenOS

Rev

Rev 1838 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1838 Rev 1841
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
/** @addtogroup genarch
29
/** @addtogroup genarch
30
 * @{
30
 * @{
31
 */
31
 */
-
 
32
/**
32
/** @file
33
 * @file
-
 
34
 * @brief   Headers for Zilog 8530 serial port / keyboard driver.
33
 */
35
 */
34
 
36
 
35
#ifndef __I8042_H__
37
#ifndef KERN_Z8530_H_
36
#define __I8042_H__
38
#define KERN_Z8530_H_
37
 
39
 
38
#ifdef CONFIG_I8042_PC
-
 
39
#include <genarch/i8042/scanc_pc.h>
-
 
40
#endif
-
 
41
#ifdef CONFIG_I8042_SUN
-
 
42
#include <genarch/i8042/scanc_sun.h>
40
#include <genarch/kbd/scanc_sun.h>
43
#endif
-
 
44
 
41
 
45
#define SPECIAL     '?'
42
#define SPECIAL     '?'
46
 
43
 
47
extern char sc_primary_map[];
44
extern char sc_primary_map[];
48
extern char sc_secondary_map[];
45
extern char sc_secondary_map[];
49
 
46
 
50
extern void i8042_init(void);
47
extern void z8530_init(void);
51
extern void i8042_poll(void);
48
extern void z8530_poll(void);
52
extern void i8042_grab(void);
49
extern void z8530_grab(void);
53
extern void i8042_release(void);
50
extern void z8530_release(void);
54
 
51
 
55
#endif
52
#endif
56
 
53
 
57
/** @}
54
/** @}
58
 */
55
 */