Rev 1787 | Rev 1851 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1793 | ||
---|---|---|---|
Line 1519... | Line 1519... | ||
1519 | return (unative_t) address; |
1519 | return (unative_t) address; |
1520 | else |
1520 | else |
1521 | return (unative_t) -1; |
1521 | return (unative_t) -1; |
1522 | } |
1522 | } |
1523 | 1523 | ||
1524 | /** Wrapper for as_area_resize. */ |
1524 | /** Wrapper for as_area_resize(). */ |
1525 | unative_t sys_as_area_resize(uintptr_t address, size_t size, int flags) |
1525 | unative_t sys_as_area_resize(uintptr_t address, size_t size, int flags) |
1526 | { |
1526 | { |
1527 | return (unative_t) as_area_resize(AS, address, size, 0); |
1527 | return (unative_t) as_area_resize(AS, address, size, 0); |
1528 | } |
1528 | } |
1529 | 1529 | ||
1530 | /** Wrapper for as_area_destroy. */ |
1530 | /** Wrapper for as_area_destroy(). */ |
1531 | unative_t sys_as_area_destroy(uintptr_t address) |
1531 | unative_t sys_as_area_destroy(uintptr_t address) |
1532 | { |
1532 | { |
1533 | return (unative_t) as_area_destroy(AS, address); |
1533 | return (unative_t) as_area_destroy(AS, address); |
1534 | } |
1534 | } |
1535 | 1535 |