|
* i386/i386at/gpl/linux/linux_block.c: Rewritten extensively.
(collect_buffer_pages): Deleted.
(alloc_buffer, free_buffer): Rewritten to use Mach page allocator.
(getblk, __brelse): Use Mach kernel allocator.
(check_for_error): Deleted.
(ll_rw_block): Allocate request structure on stack.
(rdwr_partial, rdwr_full, do_rdwr) New routines.
(block_read, block_write): Rewritten to use new routine do_rdwr.
(find_name): New routine.
(read_bsd_label, read_vtoc): New routines.
(init_partition): New routine.
(device_open): Rewritten for modularity. Allocate Linux block
variables on the stack.
(check_limit): New routine.
(device_read, device_write): Rewritten extensively. Map user
pages into kernel buffer before passing to driver. This is in
preparation for general Linux block driver support. Allocate
Linux block variables on the stack.
* i386/i386at/gpl/linux/linux_kmem.c:
(collect_buffer_pages): Deleted.
|