Changeset e4f8c77 in mainline for uspace/lib/c/arch


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.

Location:
uspace/lib/c/arch
Files:
18 added
9 edited
4 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/mips32/Makefile.common

    r5974661 re4f8c77  
    2727#
    2828
    29 GCC_CFLAGS += -mips3
     29GCC_CFLAGS += -mips3 -mabi=32
    3030
    3131ENDIANESS = LE
  • uspace/lib/c/arch/mips32/include/atomic.h

    r5974661 re4f8c77  
    3131 */
    3232/** @file
    33  * @ingroup libcmips32eb
     33 * @ingroup libcmips32
    3434 */
    3535
  • uspace/lib/c/arch/mips32/include/fibril.h

    r5974661 re4f8c77  
    2727 */
    2828
    29 /** @addtogroup libcmips32     
     29/** @addtogroup libcmips32
    3030 * @{
    3131 */
    3232/** @file
    33  * @ingroup libcmips32eb       
     33 * @ingroup libcmips32
    3434 */
    3535
  • uspace/lib/c/arch/mips32/include/thread.h

    r5974661 re4f8c77  
    2727 */
    2828
    29 /** @addtogroup libcmips32     
     29/** @addtogroup libcmips32
    3030 * @{
    3131 */
    3232/** @file
    33  * @ingroup libcmips32eb       
     33 * @ingroup libcmips32
    3434 */
    3535
  • uspace/lib/c/arch/mips32/include/tls.h

    r5974661 re4f8c77  
    2727 */
    2828
    29 /** @addtogroup libcmips32     
     29/** @addtogroup libcmips32
    3030 * @{
    3131 */
    3232/** @file
    33  * @ingroup libcmips32eb       
     33 * @ingroup libcmips32
    3434 */
    3535
  • uspace/lib/c/arch/mips32/include/types.h

    r5974661 re4f8c77  
    3131 */
    3232/** @file
    33  * @ingroup libcmips32eb
     33 * @ingroup libcmips32
    3434 */
    3535
  • uspace/lib/c/arch/mips32/src/syscall.c

    r5974661 re4f8c77  
    2727 */
    2828
    29  /** @addtogroup libcmips32
     29/** @addtogroup libcmips32
    3030 * @{
    3131 */
    3232/** @file
    33   * @ingroup libcmips32eb       
     33  * @ingroup libcmips32
    3434 */
    3535
     
    6464}
    6565
    66  /** @}
     66/** @}
    6767 */
    68 
  • uspace/lib/c/arch/mips32/src/tls.c

    r5974661 re4f8c77  
    2727 */
    2828
    29 /** @addtogroup libcmips32     
     29/** @addtogroup libcmips32
    3030 * @{
    3131 */
    3232/** @file
    33  * @ingroup libcmips32eb       
     33 * @ingroup libcmips32
    3434 */
    3535
  • uspace/lib/c/arch/mips32eb/Makefile.common

    r5974661 re4f8c77  
    2727#
    2828
    29 GCC_CFLAGS += -mips3
     29GCC_CFLAGS += -mips3 -mabi=32
    3030
    3131ENDIANESS = BE
  • uspace/lib/c/arch/mips64/Makefile.common

    r5974661 re4f8c77  
    11#
    22# Copyright (c) 2005 Martin Decky
    3 # Copyright (c) 2007 Jakub Jermar
    43# All rights reserved.
    54#
     
    2827#
    2928
    30 USPACE_PREFIX = ../../../..
    31 BINARY = fhc
     29GCC_CFLAGS += -mips3 -mabi=64
     30AFLAGS = -64
    3231
    33 SOURCES = \
    34         fhc.c
     32ENDIANESS = LE
    3533
    36 include $(USPACE_PREFIX)/Makefile.common
     34BFD_ARCH = mips:4000
     35BFD_NAME = elf64-tradlittlemips
  • uspace/lib/c/arch/mips64/Makefile.inc

    r5974661 re4f8c77  
    11#
    22# Copyright (c) 2005 Martin Decky
    3 # Copyright (c) 2007 Jakub Jermar
    43# All rights reserved.
    54#
     
    2827#
    2928
    30 USPACE_PREFIX = ../../..
    31 EXTRA_CFLAGS = -Iinclude
    32 BINARY = char_ms
     29ARCH_SOURCES = \
     30        arch/$(UARCH)/src/entry.s \
     31        arch/$(UARCH)/src/entryjmp.s \
     32        arch/$(UARCH)/src/thread_entry.s \
     33        arch/$(UARCH)/src/syscall.c \
     34        arch/$(UARCH)/src/fibril.S \
     35        arch/$(UARCH)/src/tls.c \
     36        arch/$(UARCH)/src/stacktrace.c \
     37        arch/$(UARCH)/src/stacktrace_asm.S
    3338
    34 SOURCES = \
    35         proto/ps2.c \
    36         char_mouse.c \
    37         chardev.c
    38 
    39 include $(USPACE_PREFIX)/Makefile.common
     39.PRECIOUS: arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/mips64/include/istate.h

    r5974661 re4f8c77  
    2727 */
    2828
    29 /** @addtogroup mouse
    30  * @brief
     29/** @addtogroup libcmips64
    3130 * @{
    3231 */
     
    3433 */
    3534
    36 #ifndef ADBDEV_H_
    37 #define ADBDEV_H_
     35#ifndef LIBC_mips64__ISTATE_H_
     36#define LIBC_mips64__ISTATE_H_
    3837
    39 #include <sys/types.h>
    40 
    41 extern int adb_dev_init(void);
     38#include <arch/istate.h>
    4239
    4340#endif
    4441
    45 /**
    46  * @}
    47  */
    48 
     42/** @}
     43 */
  • uspace/lib/c/arch/mips64/src/stacktrace.c

    r5974661 re4f8c77  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
    3  * Copyright (c) 2010 Lenka Trochtova
     2 * Copyright (c) 2010 Jakub Jermar
     3 * Copyright (c) 2010 Jiri Svoboda
    44 * All rights reserved.
    55 *
     
    2828 */
    2929
    30 /** @addtogroup libc
     30/** @addtogroup libcmips64 mips64
     31 * @ingroup lc
    3132 * @{
    3233 */
     
    3435 */
    3536
    36 #ifndef LIBC_DEVMAN_OBSOLETE_H_
    37 #define LIBC_DEVMAN_OBSOLETE_H_
     37#include <sys/types.h>
     38#include <bool.h>
     39#include <errno.h>
    3840
    39 #include <ipc/devman.h>
    40 #include <async.h>
    41 #include <bool.h>
     41#include <stacktrace.h>
    4242
    43 extern int devman_obsolete_get_phone(devman_interface_t, unsigned int);
    44 extern void devman_obsolete_hangup_phone(devman_interface_t);
     43bool stacktrace_fp_valid(stacktrace_t *st, uintptr_t fp)
     44{
     45        (void) st; (void) fp;
     46        return false;
     47}
    4548
    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);
     49int stacktrace_fp_prev(stacktrace_t *st, uintptr_t fp, uintptr_t *prev)
     50{
     51        (void) st; (void) fp; (void) prev;
     52        return ENOTSUP;
     53}
    4854
    49 #endif
     55int stacktrace_ra_get(stacktrace_t *st, uintptr_t fp, uintptr_t *ra)
     56{
     57        (void) st; (void) fp; (void) ra;
     58        return ENOTSUP;
     59}
    5060
    5161/** @}
Note: See TracChangeset for help on using the changeset viewer.