Changeset 6843a9c in mainline for kernel/arch/sparc64/include/mm/sun4u/km.h
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- 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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/mm/sun4u/km.h
rba72f2b r6843a9c 1 1 /* 2 * Copyright (c) 20 09 Lukas Mejdrech2 * Copyright (c) 2011 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libc29 /** @addtogroup sparc64mm 30 30 * @{ 31 31 */ 32 33 32 /** @file 34 * Generic module functions.35 *36 * @todo MAKE IT POSSIBLE TO REMOVE THIS FILE VIA EITHER REPLACING PART OF ITS37 * FUNCTIONALITY OR VIA INTEGRATING ITS FUNCTIONALITY MORE TIGHTLY WITH THE REST38 * OF THE SYSTEM.39 33 */ 40 34 41 #ifndef LIBC_MODULES_H_42 #define LIBC_MODULES_H_35 #ifndef KERN_sparc64_sun4u_KM_H_ 36 #define KERN_sparc64_sun4u_KM_H_ 43 37 44 #include <async.h> 45 #include <ipc/services.h> 46 #include <sys/time.h> 38 #include <typedefs.h> 47 39 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. 49 44 * 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. 52 47 */ 53 typedef async_sess_t *connect_module_t(services_t);54 48 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 55 extern void km_identity_arch_init(void); 56 extern void km_non_identity_arch_init(void); 57 extern bool km_is_non_identity_arch(uintptr_t); 61 58 62 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.