Преглед на файлове

Normalize this function's definition.

Don Porter преди 6 години
родител
ревизия
32c276f9ad
променени са 5 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 1 1
      Pal/src/host/FreeBSD/db_ipc.c
  2. 1 1
      Pal/src/host/Linux-SGX/db_ipc.c
  3. 1 1
      Pal/src/host/Linux/db_ipc.c
  4. 1 1
      Pal/src/host/Skeleton/db_ipc.c
  5. 1 1
      Pal/src/pal_internal.h

+ 1 - 1
Pal/src/host/FreeBSD/db_ipc.c

@@ -57,7 +57,7 @@ struct handle_ops gipc_ops = {
         .close              = &gipc_close,
     };
 
-int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, unsigned long * key)
+int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, uint64_t * key)
 {
     return -PAL_ERROR_NOTIMPLEMENTED;
 }

+ 1 - 1
Pal/src/host/Linux-SGX/db_ipc.c

@@ -52,7 +52,7 @@ struct handle_ops gipc_ops = {
         .close              = &gipc_close,
     };
 
-int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, unsigned long * key)
+int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, uint64_t * key)
 {
     return -PAL_ERROR_NOTIMPLEMENTED;
 }

+ 1 - 1
Pal/src/host/Linux/db_ipc.c

@@ -80,7 +80,7 @@ struct handle_ops gipc_ops = {
         .close              = &gipc_close,
     };
 
-int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, unsigned long * key)
+int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, uint64_t * key)
 {
     unsigned long token = 0;
     int fd = INLINE_SYSCALL(open, 3, GIPC_FILE, O_RDONLY|O_CLOEXEC, 0);

+ 1 - 1
Pal/src/host/Skeleton/db_ipc.c

@@ -51,7 +51,7 @@ struct handle_ops gipc_ops = {
         .close              = &gipc_close,
     };
 
-int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, PAL_NUM * key)
+int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, uint64_t * key)
 {
     return -PAL_ERROR_NOTIMPLEMENTED;
 }

+ 1 - 1
Pal/src/pal_internal.h

@@ -344,7 +344,7 @@ int _DkRandomBitsRead (void * buffer, int size);
 int _DkSegmentRegisterSet (int reg, const void * addr);
 int _DkSegmentRegisterGet (int reg, void ** addr);
 int _DkInstructionCacheFlush (const void * addr, int size);
-int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, unsigned long * key);
+int _DkCreatePhysicalMemoryChannel (PAL_HANDLE * handle, uint64_t * key);
 int _DkPhysicalMemoryCommit (PAL_HANDLE channel, int entries,
                              PAL_PTR * addrs, PAL_NUM * sizes, int flags);
 int _DkPhysicalMemoryMap (PAL_HANDLE channel, int entries,