Add off_t and physaddr_t, and the copy_{to,from}_phys helper routines.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define STDINT_H
|
||||
|
||||
typedef unsigned size_t;
|
||||
typedef unsigned off_t;
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
@@ -13,4 +14,6 @@ typedef signed short int16_t;
|
||||
typedef signed long int32_t;
|
||||
typedef signed long long int64_t;
|
||||
|
||||
typedef unsigned long physaddr_t;
|
||||
|
||||
#endif /* STDINT_H */
|
||||
|
||||
Reference in New Issue
Block a user