Changeset e4f8c77 in mainline for kernel/arch/mips64/include/arch.h


Ignore:
Timestamp:
2011-07-13T22:39:18Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
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.
Message:

Merge libposix.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips64/include/arch.h

    r5974661 re4f8c77  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
     2 * Copyright (c) 2005 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup kbdgen generic
    30  * @brief HelenOS generic uspace keyboard handler.
    31  * @ingroup kbd
     29/** @addtogroup mips64
    3230 * @{
    3331 */
     
    3533 */
    3634
    37 #ifndef KBD_LAYOUT_H_
    38 #define KBD_LAYOUT_H_
     35#ifndef KERN_mips64_ARCH_H_
     36#define KERN_mips64_ARCH_H_
    3937
    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
     44extern size_t cpu_count;
    4245
    4346typedef 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;
    4751
    48 extern layout_op_t us_qwerty_op;
    49 extern layout_op_t us_dvorak_op;
    50 extern layout_op_t cz_op;
     52typedef struct {
     53        uint32_t cpumap;
     54        size_t cnt;
     55        utask_t tasks[TASKMAP_MAX_RECORDS];
     56} bootinfo_t;
     57
     58extern void arch_pre_main(void *entry, bootinfo_t *bootinfo);
    5159
    5260#endif
    5361
    54 /**
    55  * @}
     62/** @}
    5663 */
Note: See TracChangeset for help on using the changeset viewer.