Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / service_runtime / sys_memory.h
index c89c691..cad5453 100644 (file)
@@ -20,12 +20,12 @@ int32_t NaClSysBrk(struct NaClAppThread *natp,
                    uintptr_t            new_break);
 
 int32_t NaClSysMmap(struct NaClAppThread  *natp,
-                    void                  *start,
+                    uint32_t              start,
                     size_t                length,
                     int                   prot,
                     int                   flags,
                     int                   d,
-                    nacl_abi_off_t        *offp);
+                    uint32_t              offp);
 
 int32_t NaClSysMmapIntern(struct NaClApp  *nap,
                           void            *start,
@@ -35,14 +35,6 @@ int32_t NaClSysMmapIntern(struct NaClApp  *nap,
                           int             d,
                           nacl_abi_off_t  offset);
 
-int32_t NaClSysMmap(struct NaClAppThread  *natp,
-                    void                  *start,
-                    size_t                length,
-                    int                   prot,
-                    int                   flags,
-                    int                   d,
-                    nacl_abi_off_t        *offp);
-
 int32_t NaClSysMprotectInternal(struct NaClApp  *nap,
                                 uint32_t        start,
                                 size_t          length,
@@ -54,8 +46,8 @@ int32_t NaClSysMprotect(struct NaClAppThread  *natp,
                         int                   prot);
 
 int32_t NaClSysMunmap(struct NaClAppThread  *natp,
-                      void                  *start,
-                      size_t                length);
+                      uint32_t              start,
+                      uint32_t              length);
 
 EXTERN_C_END