diff options
Diffstat (limited to 'device')
-rw-r--r-- | device/dev_lookup.c | 2 | ||||
-rw-r--r-- | device/dev_pager.c | 2 | ||||
-rw-r--r-- | device/ds_routines.c | 4 | ||||
-rw-r--r-- | device/net_io.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/device/dev_lookup.c b/device/dev_lookup.c index 746c394..3243a2c 100644 --- a/device/dev_lookup.c +++ b/device/dev_lookup.c @@ -401,7 +401,7 @@ dev_lookup_init() simple_lock_init(&dev_port_lock); - dev_hdr_zone = zinit(sizeof(struct mach_device), + dev_hdr_zone = zinit(sizeof(struct mach_device), 0, sizeof(struct mach_device) * NDEVICES, PAGE_SIZE, FALSE, diff --git a/device/dev_pager.c b/device/dev_pager.c index 2626330..6779d8e 100644 --- a/device/dev_pager.c +++ b/device/dev_pager.c @@ -174,6 +174,7 @@ void dev_pager_hash_init(void) size = sizeof(struct dev_pager_entry); dev_pager_hash_zone = zinit( size, + 0, size * 1000, PAGE_SIZE, FALSE, @@ -727,6 +728,7 @@ void device_pager_init(void) */ size = sizeof(struct dev_pager); dev_pager_zone = zinit(size, + 0, (vm_size_t) size * 1000, PAGE_SIZE, FALSE, diff --git a/device/ds_routines.c b/device/ds_routines.c index 303d6f7..0abd75b 100644 --- a/device/ds_routines.c +++ b/device/ds_routines.c @@ -1471,7 +1471,7 @@ void ds_init() */ device_io_map->wait_for_space = TRUE; - io_inband_zone = zinit(sizeof(io_buf_ptr_inband_t), + io_inband_zone = zinit(sizeof(io_buf_ptr_inband_t), 0, 1000 * sizeof(io_buf_ptr_inband_t), 10 * sizeof(io_buf_ptr_inband_t), FALSE, @@ -1519,7 +1519,7 @@ zone_t io_trap_zone; void ds_trap_init(void) { - io_trap_zone = zinit(IOTRAP_REQSIZE, + io_trap_zone = zinit(IOTRAP_REQSIZE, 0, 256 * IOTRAP_REQSIZE, 16 * IOTRAP_REQSIZE, FALSE, diff --git a/device/net_io.c b/device/net_io.c index 71d92b4..b565aa3 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -1494,6 +1494,7 @@ net_io_init() size = sizeof(struct net_rcv_port); net_rcv_zone = zinit(size, + 0, size * 1000, PAGE_SIZE, FALSE, @@ -1501,6 +1502,7 @@ net_io_init() size = sizeof(struct net_hash_entry); net_hash_entry_zone = zinit(size, + 0, size * 100, PAGE_SIZE, FALSE, |