Changeset da74747 in mainline for kernel/genarch/include/kbd/z8530.h
- Timestamp:
- 2006-08-09T12:24:58Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 287920f
- Parents:
- e2882a7
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/kbd/z8530.h
re2882a7 rda74747 1 1 /* 2 * Copyright (C) 200 6Jakub Jermar2 * Copyright (C) 2001-2004 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup sparc6429 /** @addtogroup genarch 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file 34 * @brief Headers for Zilog 8530 serial port / keyboard driver. 33 35 */ 34 36 35 #include <arch/drivers/i8042.h> 36 #include <genarch/i8042/i8042.h> 37 #include <arch/boot/boot.h> 38 #include <arch/types.h> 39 #include <arch/mm/page.h> 37 #ifndef KERN_Z8530_H_ 38 #define KERN_Z8530_H_ 40 39 41 volatile uint8_t *kbd_virt_address = NULL; 40 #include <genarch/kbd/scanc_sun.h> 42 41 43 void kbd_init() 44 { 45 kbd_virt_address = (uint8_t *) hw_map(bootinfo.keyboard.addr, LAST_REG); 46 i8042_init(); 47 } 42 #define SPECIAL '?' 43 44 extern char sc_primary_map[]; 45 extern char sc_secondary_map[]; 46 47 extern void z8530_init(void); 48 extern void z8530_poll(void); 49 extern void z8530_grab(void); 50 extern void z8530_release(void); 51 52 #endif 48 53 49 54 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.