"addr" to "addr_t", cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7847 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,7 +17,7 @@ typedef struct vm_page {
|
|||||||
|
|
||||||
struct vm_page *hash_next;
|
struct vm_page *hash_next;
|
||||||
|
|
||||||
addr ppn; // physical page number
|
addr_t ppn; // physical page number
|
||||||
off_t offset;
|
off_t offset;
|
||||||
|
|
||||||
struct vm_cache_ref *cache_ref;
|
struct vm_cache_ref *cache_ref;
|
||||||
@@ -27,8 +27,8 @@ typedef struct vm_page {
|
|||||||
|
|
||||||
int32 ref_count;
|
int32 ref_count;
|
||||||
|
|
||||||
unsigned int type : 2;
|
uint32 type : 2;
|
||||||
unsigned int state : 3;
|
uint32 state : 3;
|
||||||
} vm_page;
|
} vm_page;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@@ -65,16 +65,16 @@ typedef struct vm_cache {
|
|||||||
struct vm_cache *source;
|
struct vm_cache *source;
|
||||||
struct vm_store *store;
|
struct vm_store *store;
|
||||||
off_t virtual_size;
|
off_t virtual_size;
|
||||||
unsigned int temporary : 1;
|
uint32 temporary : 1;
|
||||||
unsigned int scan_skip : 1;
|
uint32 scan_skip : 1;
|
||||||
} vm_cache;
|
} vm_cache;
|
||||||
|
|
||||||
// vm region
|
// vm region
|
||||||
typedef struct vm_region {
|
typedef struct vm_region {
|
||||||
char *name;
|
char *name;
|
||||||
region_id id;
|
region_id id;
|
||||||
addr base;
|
addr_t base;
|
||||||
addr size;
|
addr_t size;
|
||||||
int lock;
|
int lock;
|
||||||
int wiring;
|
int wiring;
|
||||||
int32 ref_count;
|
int32 ref_count;
|
||||||
@@ -97,8 +97,8 @@ typedef struct vm_virtual_map {
|
|||||||
int change_count;
|
int change_count;
|
||||||
sem_id sem;
|
sem_id sem;
|
||||||
struct vm_address_space *aspace;
|
struct vm_address_space *aspace;
|
||||||
addr base;
|
addr_t base;
|
||||||
addr size;
|
addr_t size;
|
||||||
} vm_virtual_map;
|
} vm_virtual_map;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@@ -115,10 +115,10 @@ typedef struct vm_address_space {
|
|||||||
int32 ref_count;
|
int32 ref_count;
|
||||||
int32 fault_count;
|
int32 fault_count;
|
||||||
int state;
|
int state;
|
||||||
addr scan_va;
|
addr_t scan_va;
|
||||||
addr working_set_size;
|
addr_t working_set_size;
|
||||||
addr max_working_set;
|
addr_t max_working_set;
|
||||||
addr min_working_set;
|
addr_t min_working_set;
|
||||||
bigtime_t last_working_set_adjust;
|
bigtime_t last_working_set_adjust;
|
||||||
struct vm_address_space *hash_next;
|
struct vm_address_space *hash_next;
|
||||||
} vm_address_space;
|
} vm_address_space;
|
||||||
|
|||||||
Reference in New Issue
Block a user