Changeset e4f8c77 in mainline for kernel/arch/mips64/include/arch.h
- Timestamp:
- 2011-07-13T22:39:18Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6910c8
- Parents:
- 5974661 (diff), 8ecef91 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips64/include/arch.h
r5974661 re4f8c77 1 1 /* 2 * Copyright (c) 200 9 Jiri Svoboda2 * Copyright (c) 2005 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kbdgen generic 30 * @brief HelenOS generic uspace keyboard handler. 31 * @ingroup kbd 29 /** @addtogroup mips64 32 30 * @{ 33 31 */ … … 35 33 */ 36 34 37 #ifndef K BD_LAYOUT_H_38 #define K BD_LAYOUT_H_35 #ifndef KERN_mips64_ARCH_H_ 36 #define KERN_mips64_ARCH_H_ 39 37 40 #include <sys/types.h> 41 #include <io/console.h> 38 #include <typedefs.h> 39 40 #define TASKMAP_MAX_RECORDS 32 41 #define CPUMAP_MAX_RECORDS 32 42 #define BOOTINFO_TASK_NAME_BUFLEN 32 43 44 extern size_t cpu_count; 42 45 43 46 typedef struct { 44 void (*reset)(void); 45 wchar_t (*parse_ev)(kbd_event_t *); 46 } layout_op_t; 47 void *addr; 48 size_t size; 49 char name[BOOTINFO_TASK_NAME_BUFLEN]; 50 } utask_t; 47 51 48 extern layout_op_t us_qwerty_op; 49 extern layout_op_t us_dvorak_op; 50 extern layout_op_t cz_op; 52 typedef struct { 53 uint32_t cpumap; 54 size_t cnt; 55 utask_t tasks[TASKMAP_MAX_RECORDS]; 56 } bootinfo_t; 57 58 extern void arch_pre_main(void *entry, bootinfo_t *bootinfo); 51 59 52 60 #endif 53 61 54 /** 55 * @} 62 /** @} 56 63 */
Note:
See TracChangeset
for help on using the changeset viewer.