* Moved phys_addr_t definition to SupportDefs.h.
* Added phys_size_t. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36934 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3e711c79d8
commit
ea021b94d8
@ -28,7 +28,6 @@
|
||||
|
||||
typedef unsigned long haiku_build_addr_t;
|
||||
#define addr_t haiku_build_addr_t
|
||||
#define phys_addr_t haiku_build_addr_t
|
||||
|
||||
#include <Errors.h>
|
||||
|
||||
|
@ -57,6 +57,13 @@ typedef int64 bigtime_t;
|
||||
typedef uint32 type_code;
|
||||
typedef uint32 perform_code;
|
||||
|
||||
#ifdef HAIKU_HOST_PLATFORM_64_BIT
|
||||
typedef uint64 phys_addr_t;
|
||||
#else
|
||||
typedef uint32 phys_addr_t;
|
||||
#endif
|
||||
typedef phys_addr_t phys_size_t;
|
||||
|
||||
|
||||
/* printf()/scanf() format strings for [u]int* types */
|
||||
#define B_PRId8 PRId8
|
||||
|
@ -56,6 +56,9 @@ typedef int64 nanotime_t;
|
||||
typedef uint32 type_code;
|
||||
typedef uint32 perform_code;
|
||||
|
||||
typedef __haiku_phys_addr_t phys_addr_t;
|
||||
typedef phys_addr_t phys_size_t;
|
||||
|
||||
|
||||
/* printf()/scanf() format strings for [u]int* types */
|
||||
#define B_PRId8 "d"
|
||||
|
@ -50,7 +50,6 @@ typedef __haiku_std_int32 nlink_t;
|
||||
typedef char* caddr_t;
|
||||
|
||||
typedef __haiku_addr_t addr_t;
|
||||
typedef __haiku_phys_addr_t phys_addr_t;
|
||||
typedef __haiku_int32 key_t;
|
||||
|
||||
#include <null.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2007-2009, Ingo Weinhold, bonefish@cs.tu-berlin.de.
|
||||
* Copyright 2007-2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _FSSH_API_WRAPPER_H
|
||||
@ -1492,6 +1492,7 @@
|
||||
|
||||
#define addr_t fssh_addr_t
|
||||
#define phys_addr_t fssh_phys_addr_t
|
||||
#define phys_size_t fssh_phys_size_t
|
||||
|
||||
#define dev_t fssh_dev_t
|
||||
#define ino_t fssh_ino_t
|
||||
|
@ -23,6 +23,7 @@ typedef uint32_t fssh_phys_addr_t;
|
||||
typedef uint32_t fssh_size_t;
|
||||
typedef int32_t fssh_ssize_t;
|
||||
#endif
|
||||
typedef fssh_phys_addr_t fssh_phys_size_t;
|
||||
|
||||
typedef int32_t fssh_dev_t;
|
||||
typedef int64_t fssh_ino_t;
|
||||
|
Loading…
Reference in New Issue
Block a user