Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5863a95 in mainline for kernel/generic/src/mm/as.c


Ignore:
Timestamp:
2010-12-17T08:59:35Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
58854f2
Parents:
70e5ad5 (diff), 11658b64 (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 development/ changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    r70e5ad5 r5863a95  
    20002000
    20012001/** Wrapper for as_area_create(). */
    2002 unative_t sys_as_area_create(uintptr_t address, size_t size, unsigned int flags)
     2002sysarg_t sys_as_area_create(uintptr_t address, size_t size, unsigned int flags)
    20032003{
    20042004        if (as_area_create(AS, flags | AS_AREA_CACHEABLE, size, address,
    20052005            AS_AREA_ATTR_NONE, &anon_backend, NULL))
    2006                 return (unative_t) address;
     2006                return (sysarg_t) address;
    20072007        else
    2008                 return (unative_t) -1;
     2008                return (sysarg_t) -1;
    20092009}
    20102010
    20112011/** Wrapper for as_area_resize(). */
    2012 unative_t sys_as_area_resize(uintptr_t address, size_t size, unsigned int flags)
    2013 {
    2014         return (unative_t) as_area_resize(AS, address, size, 0);
     2012sysarg_t sys_as_area_resize(uintptr_t address, size_t size, unsigned int flags)
     2013{
     2014        return (sysarg_t) as_area_resize(AS, address, size, 0);
    20152015}
    20162016
    20172017/** Wrapper for as_area_change_flags(). */
    2018 unative_t sys_as_area_change_flags(uintptr_t address, unsigned int flags)
    2019 {
    2020         return (unative_t) as_area_change_flags(AS, flags, address);
     2018sysarg_t sys_as_area_change_flags(uintptr_t address, unsigned int flags)
     2019{
     2020        return (sysarg_t) as_area_change_flags(AS, flags, address);
    20212021}
    20222022
    20232023/** Wrapper for as_area_destroy(). */
    2024 unative_t sys_as_area_destroy(uintptr_t address)
    2025 {
    2026         return (unative_t) as_area_destroy(AS, address);
     2024sysarg_t sys_as_area_destroy(uintptr_t address)
     2025{
     2026        return (sysarg_t) as_area_destroy(AS, address);
    20272027}
    20282028
Note: See TracChangeset for help on using the changeset viewer.