Changeset e3c762cd in mainline for generic/include/mm/page.h


Ignore:
Timestamp:
2006-05-05T11:59:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de07bcf
Parents:
22cf454d
Message:

Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/page.h

    r22cf454d re3c762cd  
    6161#define PAGE_GLOBAL             (1<<PAGE_GLOBAL_SHIFT)
    6262
    63 /* TODO - check that userspace is OK, platform specific functions etc */
    64 static inline void copy_to_uspace(void *dst, void *src, count_t cnt)
    65 {
    66         memcpy(dst, src, cnt);
    67 }
    68 
    69 static inline void copy_from_uspace(void *dst, void *src, count_t cnt)
    70 {
    71         memcpy(dst, src, cnt);
    72 }
    73 
    7463/** Operations to manipulate page mappings. */
    7564struct page_mapping_operations {
Note: See TracChangeset for help on using the changeset viewer.