Changeset 26e7d6d in mainline for kernel/arch/mips64/src/mm/page.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- 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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips64/src/mm/page.c
r3842a955 r26e7d6d 1 1 /* 2 * Copyright (c) 20 11 Martin Decky2 * Copyright (c) 2003-2004 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libc29 /** @addtogroup mips64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #include <a sync.h>36 #include < async_obsolete.h>37 #include < ns_obsolete.h>38 #include < kernel/ipc/ipc_methods.h>35 #include <arch/mm/page.h> 36 #include <genarch/mm/page_ht.h> 37 #include <mm/page.h> 38 #include <mm/frame.h> 39 39 40 int service_obsolete_connect(sysarg_t service, sysarg_t arg2, sysarg_t arg3)40 void page_arch_init(void) 41 41 { 42 return async_obsolete_connect_me_to(PHONE_NS, service, arg2, arg3);42 page_mapping_operations = &ht_mapping_operations; 43 43 } 44 44 45 int service_obsolete_connect_blocking(sysarg_t service, sysarg_t arg2, sysarg_t arg3) 45 /** Map device into kernel space 46 * - on mips, all devices are already mapped into kernel space, 47 * translate the physical address to uncached area 48 */ 49 uintptr_t hw_map(uintptr_t physaddr, size_t size) 46 50 { 47 return async_obsolete_connect_me_to_blocking(PHONE_NS, service, arg2, arg3);51 return physaddr + 0xffffffffa0000000; 48 52 } 49 53
Note:
See TracChangeset
for help on using the changeset viewer.