Ignore:
Timestamp:
2012-06-29T13:02:14Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
722912e
Parents:
ba72f2b (diff), 0bbd13e (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

Trivial conflicts.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/mm/sun4u/km.h

    rba72f2b r6843a9c  
    11/*
    2  * Copyright (c) 2009 Lukas Mejdrech
     2 * Copyright (c) 2011 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libc
     29/** @addtogroup sparc64mm
    3030 * @{
    3131 */
    32 
    3332/** @file
    34  * Generic module functions.
    35  *
    36  * @todo MAKE IT POSSIBLE TO REMOVE THIS FILE VIA EITHER REPLACING PART OF ITS
    37  * FUNCTIONALITY OR VIA INTEGRATING ITS FUNCTIONALITY MORE TIGHTLY WITH THE REST
    38  * OF THE SYSTEM.
    3933 */
    4034
    41 #ifndef LIBC_MODULES_H_
    42 #define LIBC_MODULES_H_
     35#ifndef KERN_sparc64_sun4u_KM_H_
     36#define KERN_sparc64_sun4u_KM_H_
    4337
    44 #include <async.h>
    45 #include <ipc/services.h>
    46 #include <sys/time.h>
     38#include <typedefs.h>
    4739
    48 /** Connect to module function type definition.
     40/*
     41 * Be conservative and assume the 44-bit virtual address width as found
     42 * on the UltraSPARC CPU, even when running on a newer CPU, such as
     43 * UltraSPARC III, which has the full 64-bit virtual address width.
    4944 *
    50  * @return Session to the service.
    51  *
     45 * Do not use the 4 GiB area on either side of the VA hole to meet the
     46 * limitations of the UltraSPARC CPU.
    5247 */
    53 typedef async_sess_t *connect_module_t(services_t);
    5448
    55 extern void answer_call(ipc_callid_t, int, ipc_call_t *, size_t);
    56 extern async_sess_t *bind_service(services_t, sysarg_t, sysarg_t, sysarg_t,
    57     async_client_conn_t);
    58 extern async_sess_t *connect_to_service(services_t);
    59 extern int data_reply(void *, size_t);
    60 extern void refresh_answer(ipc_call_t *, size_t *);
     49#define KM_SPARC64_US_IDENTITY_START            UINT64_C(0x0000000000000000)
     50#define KM_SPARC64_US_IDENTITY_SIZE             UINT64_C(0x000007ff00000000)
     51
     52#define KM_SPARC64_US_NON_IDENTITY_START        UINT64_C(0xfffff80100000000)
     53#define KM_SPARC64_US_NON_IDENTITY_SIZE         UINT64_C(0x000007ff00000000)
     54
     55extern void km_identity_arch_init(void);
     56extern void km_non_identity_arch_init(void);
     57extern bool km_is_non_identity_arch(uintptr_t);
    6158
    6259#endif
Note: See TracChangeset for help on using the changeset viewer.