Changeset 26e7d6d in mainline for kernel/arch/mips64/include/arch.h


Ignore:
Timestamp:
2011-09-19T16:31:00Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a347a11
Parents:
3842a955 (diff), 086290d (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 mainline changes

File:
1 moved

Legend:

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

    r3842a955 r26e7d6d  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
    3  * Copyright (c) 2010 Lenka Trochtova
     2 * Copyright (c) 2005 Martin Decky
    43 * All rights reserved.
    54 *
     
    2827 */
    2928
    30 /** @addtogroup libc
     29/** @addtogroup mips64
    3130 * @{
    3231 */
     
    3433 */
    3534
    36 #ifndef LIBC_DEVMAN_OBSOLETE_H_
    37 #define LIBC_DEVMAN_OBSOLETE_H_
     35#ifndef KERN_mips64_ARCH_H_
     36#define KERN_mips64_ARCH_H_
    3837
    39 #include <ipc/devman.h>
    40 #include <async.h>
    41 #include <bool.h>
     38#include <typedefs.h>
    4239
    43 extern int devman_obsolete_get_phone(devman_interface_t, unsigned int);
    44 extern void devman_obsolete_hangup_phone(devman_interface_t);
     40#define TASKMAP_MAX_RECORDS        32
     41#define CPUMAP_MAX_RECORDS         32
     42#define BOOTINFO_TASK_NAME_BUFLEN  32
    4543
    46 extern int devman_obsolete_device_connect(devman_handle_t, unsigned int);
    47 extern int devman_obsolete_parent_device_connect(devman_handle_t, unsigned int);
     44extern size_t cpu_count;
     45
     46typedef struct {
     47        void *addr;
     48        size_t size;
     49        char name[BOOTINFO_TASK_NAME_BUFLEN];
     50} utask_t;
     51
     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);
    4859
    4960#endif
Note: See TracChangeset for help on using the changeset viewer.