people/sha0/winvblock.git
11 years ago[bus] Let a threaded bus free itself
Shao Miller [Wed, 15 Dec 2010 03:13:43 +0000 (22:13 -0500)]
[bus] Let a threaded bus free itself

Hook device__type::ops.free() so that when called, it
schedules a freeing action but doesn't actually free.

11 years ago[bus,driver] Introduce bus threading
Shao Miller [Wed, 15 Dec 2010 02:55:55 +0000 (21:55 -0500)]
[bus,driver] Introduce bus threading

The driver now calls bus__start_thread() on the main bus.

One can implement their own bus__thread_func routine and
assign it to the bus::thread member.  If one does so, one
should call bus__process_work_items() within the thread's
loop, and one should be responsible for freeing their bus.

11 years ago[bus] Introduce work item queue and processing
Shao Miller [Wed, 15 Dec 2010 01:33:17 +0000 (20:33 -0500)]
[bus] Introduce work item queue and processing

bus__add_work_item_() will add a work item.

bus__get_work_item_() will get and dequeue a work item.

bus__process_work_items() will walk the work item queue
and process each work item.

11 years ago[bus/pnp,disk/pnp,aoe] Get AoE sub-bus to work
Shao Miller [Tue, 14 Dec 2010 05:19:48 +0000 (00:19 -0500)]
[bus/pnp,disk/pnp,aoe] Get AoE sub-bus to work

Added some debugging messages to bus/pnp.c and disk/pnp.c.

Added a few PnP routines to bus/pnp.c.

Fixed a bug in aoe/bus.c where a hardware ID string was not
properly terminated.

Changed the IDs reported in aoe/bus.c.

A little note: The main WinVBlock bus might be better off
creating/deleting PDOs in its own thread context.

11 years ago[irp,aoe] Remove mini IRP handling scheme
Shao Miller [Mon, 13 Dec 2010 23:37:40 +0000 (18:37 -0500)]
[irp,aoe] Remove mini IRP handling scheme

Goodbye, mini IRP handling scheme.

Since AoE still had remnants but doesn't yet work as a
sub-bus anyway, some fair changes were made to the AoE
module, such as renaming functions and changing the
IRP_MJ_DEVICE_CONTROL; aoe_bus__dev_ctl_dispatch_().

11 years ago[project] Don't use mini IRP handling for IRP_MJ_PNP
Shao Miller [Mon, 13 Dec 2010 21:50:08 +0000 (16:50 -0500)]
[project] Don't use mini IRP handling for IRP_MJ_PNP

Use device::irp_mj.pnp(), instead.

This is the last of the IRP_MJ_* major functions that were
previously handled with the mini IRP handling scheme.

11 years ago[driver,device] Remove driver__default_dispatch function
Shao Miller [Mon, 13 Dec 2010 16:43:16 +0000 (11:43 -0500)]
[driver,device] Remove driver__default_dispatch function

driver__dispatch_() will handle the STATUS_NOT_SUPPORTED case.

11 years ago[project] Don't use mini IRP handling for IRP_MJ_SCSI
Shao Miller [Mon, 13 Dec 2010 16:35:09 +0000 (11:35 -0500)]
[project] Don't use mini IRP handling for IRP_MJ_SCSI

Use device::irp_mj.scsi(), instead.

11 years ago[project] Don't use mini IRP handling for IRP_MJ_DEVICE_CONTROL
Shao Miller [Mon, 13 Dec 2010 06:49:03 +0000 (01:49 -0500)]
[project] Don't use mini IRP handling for IRP_MJ_DEVICE_CONTROL

Use device::irp_mj.dev_ctl(), instead.

11 years ago[project] Don't use mini IRP handling for IRP_MJ_SYSTEM_CONTROL
Shao Miller [Mon, 13 Dec 2010 05:43:06 +0000 (00:43 -0500)]
[project] Don't use mini IRP handling for IRP_MJ_SYSTEM_CONTROL

Use device::irp_mj.sys_ctl(), instead.

11 years ago[project] Don't use mini IRP handling for IRP_MJ_CREATE/CLOSE
Shao Miller [Mon, 13 Dec 2010 05:26:17 +0000 (00:26 -0500)]
[project] Don't use mini IRP handling for IRP_MJ_CREATE/CLOSE

There weren't really special implementations for bus and disk.

11 years ago[project] Don't use mini IRP handling for IRP_MJ_POWER
Shao Miller [Mon, 13 Dec 2010 05:13:41 +0000 (00:13 -0500)]
[project] Don't use mini IRP handling for IRP_MJ_POWER

Instead of using the mini IRP handling logic, we will
handle IRP_MJ_POWER differently.  This might be a trend...

Also introduced are:

driver__complete_irp() for common IRP completion logic.

device__dispatch_func typedef for IRP dispatch routines.

device::irp_mj is an pointer to an IRP handling table based
on major function code.

11 years ago[bus] Minor cosmetic changes
Shao Miller [Mon, 13 Dec 2010 02:50:51 +0000 (21:50 -0500)]
[bus] Minor cosmetic changes

11 years ago[bus/pnp] Rename Bus_IoCompletionRoutine to bus_pnp__io_completion_
Shao Miller [Mon, 13 Dec 2010 02:46:49 +0000 (21:46 -0500)]
[bus/pnp] Rename Bus_IoCompletionRoutine to bus_pnp__io_completion_

11 years ago[bus] Rename power function to bus__power_
Shao Miller [Mon, 13 Dec 2010 02:42:41 +0000 (21:42 -0500)]
[bus] Rename power function to bus__power_

11 years ago[aoe] Introduce AoE bus module
Shao Miller [Mon, 13 Dec 2010 01:40:25 +0000 (20:40 -0500)]
[aoe] Introduce AoE bus module

Currently not functional.  It seems that we need a major
IRP handling revisit. *sigh*

11 years ago[bus] Handle PnP ID queries
Shao Miller [Mon, 13 Dec 2010 01:38:58 +0000 (20:38 -0500)]
[bus] Handle PnP ID queries

11 years ago[disk,device] Move disk__type::DiskNumber to device__type::dev_num
Shao Miller [Sun, 12 Dec 2010 03:18:06 +0000 (22:18 -0500)]
[disk,device] Move disk__type::DiskNumber to device__type::dev_num

We can number all devices on a bus, rather than just disks.

11 years ago[bus/dev_ctl] Minor cosmetic changes
Shao Miller [Sun, 12 Dec 2010 02:43:37 +0000 (21:43 -0500)]
[bus/dev_ctl] Minor cosmetic changes

11 years ago[aoe] Even more cosmetic changes
Shao Miller [Sun, 12 Dec 2010 02:23:15 +0000 (21:23 -0500)]
[aoe] Even more cosmetic changes

And that won't be the end of it.

11 years ago[bus] Rename bus__type::first_child_ptr to first_child
Shao Miller [Sun, 12 Dec 2010 01:48:54 +0000 (20:48 -0500)]
[bus] Rename bus__type::first_child_ptr to first_child

11 years ago[aoe] More cosmetic changes
Shao Miller [Sun, 12 Dec 2010 01:40:57 +0000 (20:40 -0500)]
[aoe] More cosmetic changes

11 years ago[disk,device] Move PnP ID query handling into device module
Shao Miller [Sat, 11 Dec 2010 21:55:34 +0000 (16:55 -0500)]
[disk,device] Move PnP ID query handling into device module

We should really allow for PnP ID query handling beyond just
for disks, so we now handle such queries as a device operation.

11 years ago[device] Rename make_dev_pdo to device__make_pdo_
Shao Miller [Sat, 11 Dec 2010 20:20:50 +0000 (15:20 -0500)]
[device] Rename make_dev_pdo to device__make_pdo_

11 years ago[device] Rename free_dev to device__free_dev_
Shao Miller [Sat, 11 Dec 2010 20:19:29 +0000 (15:19 -0500)]
[device] Rename free_dev to device__free_dev_

11 years ago[device] Remove device__init module startup function
Shao Miller [Sat, 11 Dec 2010 20:17:49 +0000 (15:17 -0500)]
[device] Remove device__init module startup function

There's not really a need to track all devices in a linked
list.  So now the module is purely library.

11 years ago[device] Minor cosmetic changes.
Shao Miller [Sat, 11 Dec 2010 20:05:07 +0000 (15:05 -0500)]
[device] Minor cosmetic changes.

11 years ago[device] Don't use device__close_decl macro
Shao Miller [Sat, 11 Dec 2010 19:43:43 +0000 (14:43 -0500)]
[device] Don't use device__close_decl macro

Use a typedef, instead.

11 years ago[device] Don't use winvblock__def_struct for device__type
Shao Miller [Sat, 11 Dec 2010 19:32:42 +0000 (14:32 -0500)]
[device] Don't use winvblock__def_struct for device__type

11 years ago[device,driver,protocol] Remove portable.h #include from header
Shao Miller [Sat, 11 Dec 2010 19:10:53 +0000 (14:10 -0500)]
[device,driver,protocol] Remove portable.h #include from header

For consistency with many other headers.

11 years ago[device] Don't use winvblock__def_enum for device__state
Shao Miller [Sat, 11 Dec 2010 19:08:12 +0000 (14:08 -0500)]
[device] Don't use winvblock__def_enum for device__state

And rename its values.

11 years ago[bus,driver] Move attach_fdo into driver module
Shao Miller [Sat, 11 Dec 2010 17:50:34 +0000 (12:50 -0500)]
[bus,driver] Move attach_fdo into driver module

attach_fdo is really a _driver_ thing, rather than a
_bus_ thing, so we move it into the driver module as
driver__attach_fdo_().

This allows us to remove bus module initialization,
meaning the bus module should be purely library now.

Our driver's AddDevice routine (driver__attach_fdo_) is
hard-coded to only attach a maximum of one FDO, which
will be the main WinVBlock bus.  This could change later.

11 years ago[bus] Rename sys_ctl to bus__sys_ctl_
Shao Miller [Sat, 11 Dec 2010 02:56:22 +0000 (21:56 -0500)]
[bus] Rename sys_ctl to bus__sys_ctl_

11 years ago[bus] Make callers of bus__add_child responsible...
Shao Miller [Thu, 9 Dec 2010 21:58:40 +0000 (16:58 -0500)]
[bus] Make callers of bus__add_child responsible...

...for freeing their device if bus__add_child() fails.
This is better than bus__add_child() freeing it, for the sake
of consistency in the code.  I accidentally re-freed not
once, but twice, while trying some things out.

11 years ago[wv_stdlib] Use appropriate pool tags
Shao Miller [Thu, 9 Dec 2010 21:26:39 +0000 (16:26 -0500)]
[wv_stdlib] Use appropriate pool tags

For AoE:
"WinAoE" with tag 'EoAW'.

For WinVBlock:
"WinVBlock" with tag 'klBV'.

11 years ago[bus,bus/pnp,disk/pnp] Don't use LowerDeviceObject if NULL
Shao Miller [Thu, 9 Dec 2010 20:56:47 +0000 (15:56 -0500)]
[bus,bus/pnp,disk/pnp] Don't use LowerDeviceObject if NULL

A bus might not be an FDO on top of some other PDO, so we should
only call a bus' "LowerDeviceObject" if it exists.

11 years ago[bus] Add do-nothing bus__init_ function
Shao Miller [Thu, 9 Dec 2010 16:58:09 +0000 (11:58 -0500)]
[bus] Add do-nothing bus__init_ function

In order to have a sub-bus as a node on a bus, we need to
implement a device__type::init function, since bus__add_child()
will call it on a child device.

11 years ago[device] Remove device__init_decl macro
Shao Miller [Thu, 9 Dec 2010 16:43:11 +0000 (11:43 -0500)]
[device] Remove device__init_decl macro

Use device__init_func typedef, instead.

11 years ago[driver,bus] Move the "boot bus" into the driver module
Shao Miller [Thu, 9 Dec 2010 06:53:44 +0000 (01:53 -0500)]
[driver,bus] Move the "boot bus" into the driver module

It's now called driver__bus_fdo_ and is accessible via
driver__bus().  This involved some code shuffling.

Additionally, bus__create_pdo_() has been modified to
actually produce a vanilla bus PDO without hard-coding
the "boot bus" logic into it.

We also adjust bus__module_init() to move the "boot bus"
code out.

This effort is towards modules/drivers creating their
own bus.

11 years ago[device] Use typedef for device__create_pdo_func
Shao Miller [Thu, 9 Dec 2010 04:48:23 +0000 (23:48 -0500)]
[device] Use typedef for device__create_pdo_func

Instead of the device__create_pdo_decl() macro and
device__create_pdo_routine function pointer typedef.

11 years ago[driver] Rename driver_dispatch to driver__dispatch_
Shao Miller [Wed, 8 Dec 2010 21:42:06 +0000 (16:42 -0500)]
[driver] Rename driver_dispatch to driver__dispatch_

11 years ago[driver] Rename driver_dispatch_not_supported to driver__dispatch_not_supported_
Shao Miller [Wed, 8 Dec 2010 21:41:06 +0000 (16:41 -0500)]
[driver] Rename driver_dispatch_not_supported to driver__dispatch_not_supported_

11 years ago[driver] Rename os_load_opts to driver__os_load_opts_
Shao Miller [Wed, 8 Dec 2010 21:17:44 +0000 (16:17 -0500)]
[driver] Rename os_load_opts to driver__os_load_opts_

11 years ago[driver] Rename Driver_Globals_Started to driver__started_
Shao Miller [Wed, 8 Dec 2010 21:13:15 +0000 (16:13 -0500)]
[driver] Rename Driver_Globals_Started to driver__started_

11 years ago[driver] Rename Driver_Globals_StateHandle to driver__state_handle_
Shao Miller [Wed, 8 Dec 2010 21:12:16 +0000 (16:12 -0500)]
[driver] Rename Driver_Globals_StateHandle to driver__state_handle_

11 years ago[driver] Rename Driver_Unload to driver__unload_
Shao Miller [Wed, 8 Dec 2010 21:11:01 +0000 (16:11 -0500)]
[driver] Rename Driver_Unload to driver__unload_

11 years ago[device] Correct the return type for device__set
Shao Miller [Wed, 8 Dec 2010 21:06:44 +0000 (16:06 -0500)]
[device] Correct the return type for device__set

11 years ago[driver] Minor style/cosmetic changes
Shao Miller [Wed, 8 Dec 2010 21:04:23 +0000 (16:04 -0500)]
[driver] Minor style/cosmetic changes

Undoing all of the hard work that indent.sh did. *sigh*

11 years ago[bus] Track boot__module_up_ as TRUE a bit earlier
Shao Miller [Wed, 8 Dec 2010 19:44:50 +0000 (14:44 -0500)]
[bus] Track boot__module_up_ as TRUE a bit earlier

We obviously have to track 'bus__module_up_' as 'TRUE'
_before_ the call to bus__create().  Oops.

11 years ago[bus] Require module initialization for bus__create
Shao Miller [Wed, 8 Dec 2010 18:44:26 +0000 (13:44 -0500)]
[bus] Require module initialization for bus__create

Just like the previous commit regarding bus__add_child().

11 years ago[bus] Track if the bus module has been initialized
Shao Miller [Wed, 8 Dec 2010 18:23:06 +0000 (13:23 -0500)]
[bus] Track if the bus module has been initialized

Since bus__add_child() is a library function, we don't really
want a caller using it unless the WinVBlock driver is
actually running.  We now track module initialization status.

11 years ago[bus] Rename bus__finalize to bus__module_shutdown
Shao Miller [Wed, 8 Dec 2010 18:10:12 +0000 (13:10 -0500)]
[bus] Rename bus__finalize to bus__module_shutdown

11 years ago[bus] Rename bus__init to bus__module_init
Shao Miller [Wed, 8 Dec 2010 17:52:43 +0000 (12:52 -0500)]
[bus] Rename bus__init to bus__module_init

Because 'bus__init' seems more like something you'd
do to a particular bus instance.

11 years ago[bus] Rename Bus_GetDeviceCapabilities to bus__get_dev_capabilities
Shao Miller [Wed, 8 Dec 2010 17:43:44 +0000 (12:43 -0500)]
[bus] Rename Bus_GetDeviceCapabilities to bus__get_dev_capabilities

11 years ago[bus] Don't use winvblock__def_struct for bus__type
Shao Miller [Wed, 8 Dec 2010 17:38:46 +0000 (12:38 -0500)]
[bus] Don't use winvblock__def_struct for bus__type

11 years ago[bus] Rename create_pdo to bus__create_pdo_
Shao Miller [Wed, 8 Dec 2010 17:17:59 +0000 (12:17 -0500)]
[bus] Rename create_pdo to bus__create_pdo_

11 years ago[bus] Rename free_bus to bus__free_
Shao Miller [Wed, 8 Dec 2010 17:15:56 +0000 (12:15 -0500)]
[bus] Rename free_bus to bus__free_

11 years ago[bus] Rename bus_list to bus__list_
Shao Miller [Wed, 8 Dec 2010 17:15:07 +0000 (12:15 -0500)]
[bus] Rename bus_list to bus__list_

11 years ago[bus] Rename bus_list_lock to bus__list_lock_
Shao Miller [Wed, 8 Dec 2010 17:14:23 +0000 (12:14 -0500)]
[bus] Rename bus_list_lock to bus__list_lock_

11 years ago[bus] Rename boot_bus_fdo to bus__boot_fdo_
Shao Miller [Wed, 8 Dec 2010 17:13:22 +0000 (12:13 -0500)]
[bus] Rename boot_bus_fdo to bus__boot_fdo_

11 years ago[bus] Minor style/cosmetic changes
Shao Miller [Wed, 8 Dec 2010 16:02:23 +0000 (11:02 -0500)]
[bus] Minor style/cosmetic changes

Undoing all of the hard work that indent.sh did. *sigh*

11 years ago[device] Introduce device__set function
Shao Miller [Wed, 8 Dec 2010 14:52:33 +0000 (09:52 -0500)]
[device] Introduce device__set function

Use this new device__set() to set a 'device' pointer for
a 'DEVICE_OBJECT'.

11 years ago[bus] Rename bus__get_ptr to bus__get
Shao Miller [Wed, 8 Dec 2010 14:29:46 +0000 (09:29 -0500)]
[bus] Rename bus__get_ptr to bus__get

And use a function instead of a macro.

11 years ago[device] Introduce device__get function
Shao Miller [Wed, 8 Dec 2010 07:06:43 +0000 (02:06 -0500)]
[device] Introduce device__get function

Use this new device__get() to get a 'device' pointer from
a 'PDEVICE_OBJECT' instead of the old casting.  We still
need to change the casting used when _setting_ it, though.

11 years ago[aoe] Rename get_aoe_disk_ptr to aoe__get_
Shao Miller [Wed, 8 Dec 2010 06:15:36 +0000 (01:15 -0500)]
[aoe] Rename get_aoe_disk_ptr to aoe__get_

11 years ago[aoe] Rename aoe_disk_list to aoe__disk_list_
Shao Miller [Wed, 8 Dec 2010 05:46:38 +0000 (00:46 -0500)]
[aoe] Rename aoe_disk_list to aoe__disk_list_

11 years ago[aoe] Rename aoe_disk_list_lock to aoe__disk_list_lock_
Shao Miller [Wed, 8 Dec 2010 05:45:55 +0000 (00:45 -0500)]
[aoe] Rename aoe_disk_list_lock to aoe__disk_list_lock_

11 years ago[aoe] Rename AoE_Globals_Started to aoe__started_
Shao Miller [Wed, 8 Dec 2010 05:44:44 +0000 (00:44 -0500)]
[aoe] Rename AoE_Globals_Started to aoe__started_

11 years ago[aoe] Rename AoE_Globals_ThreadHandle to aoe__thread_handle_
Shao Miller [Wed, 8 Dec 2010 05:43:41 +0000 (00:43 -0500)]
[aoe] Rename AoE_Globals_ThreadHandle to aoe__thread_handle_

11 years ago[aoe] Rename AoE_Globals_OutstandingTags to aoe__outstanding_tags_
Shao Miller [Wed, 8 Dec 2010 05:42:47 +0000 (00:42 -0500)]
[aoe] Rename AoE_Globals_OutstandingTags to aoe__outstanding_tags_

11 years ago[aoe] Rename AoE_Globals_DiskSearchList to aoe__disk_search_list_
Shao Miller [Wed, 8 Dec 2010 05:41:56 +0000 (00:41 -0500)]
[aoe] Rename AoE_Globals_DiskSearchList to aoe__disk_search_list_

11 years ago[aoe] Rename AoE_Globals_ProbeTag to aoe__probe_tag_
Shao Miller [Wed, 8 Dec 2010 05:40:56 +0000 (00:40 -0500)]
[aoe] Rename AoE_Globals_ProbeTag to aoe__probe_tag_

11 years ago[aoe] Rename AoE_Globals_TagList to aoe__tag_list_
Shao Miller [Wed, 8 Dec 2010 05:40:01 +0000 (00:40 -0500)]
[aoe] Rename AoE_Globals_TagList to aoe__tag_list_

11 years ago[aoe] Rename AoE_Globals_TagListLast to aoe__tag_list_last_
Shao Miller [Wed, 8 Dec 2010 05:39:00 +0000 (00:39 -0500)]
[aoe] Rename AoE_Globals_TagListLast to aoe__tag_list_last_

11 years ago[aoe] Rename AoE_Globals_ThreadSignalEvent to aoe__thread_sig_evt_
Shao Miller [Wed, 8 Dec 2010 02:49:08 +0000 (21:49 -0500)]
[aoe] Rename AoE_Globals_ThreadSignalEvent to aoe__thread_sig_evt_

11 years ago[aoe] Rename AoE_Globals_SpinLock to aoe__spinlock_
Shao Miller [Wed, 8 Dec 2010 02:47:31 +0000 (21:47 -0500)]
[aoe] Rename AoE_Globals_SpinLock to aoe__spinlock_

11 years ago[aoe] Rename AoE_Globals_Stop to aoe__stop_
Shao Miller [Wed, 8 Dec 2010 02:46:23 +0000 (21:46 -0500)]
[aoe] Rename AoE_Globals_Stop to aoe__stop_

11 years ago[aoe] Rename AoE_Globals_TargetList to aoe__target_list_
Shao Miller [Wed, 8 Dec 2010 02:45:10 +0000 (21:45 -0500)]
[aoe] Rename AoE_Globals_TargetList to aoe__target_list_

11 years ago[aoe] Rename AoE_Globals_TargetListSpinLock to aoe__target_list_spinlock_
Shao Miller [Wed, 8 Dec 2010 02:43:12 +0000 (21:43 -0500)]
[aoe] Rename AoE_Globals_TargetListSpinLock to aoe__target_list_spinlock_

11 years ago[aoe] Rename target_list to aoe__target_list_
Shao Miller [Wed, 8 Dec 2010 02:38:41 +0000 (21:38 -0500)]
[aoe] Rename target_list to aoe__target_list_

11 years ago[aoe] Rename search_state to aoe__search_state_
Shao Miller [Wed, 8 Dec 2010 02:36:30 +0000 (21:36 -0500)]
[aoe] Rename search_state to aoe__search_state_

11 years ago[aoe] Rename disk_search to aoe__disk_search_
Shao Miller [Wed, 8 Dec 2010 02:28:45 +0000 (21:28 -0500)]
[aoe] Rename disk_search to aoe__disk_search_

11 years ago[aoe] Rename work_tag to aoe__work_tag_
Shao Miller [Wed, 8 Dec 2010 02:26:05 +0000 (21:26 -0500)]
[aoe] Rename work_tag to aoe__work_tag_

11 years ago[aoe] Rename io_req to aoe__io_req_
Shao Miller [Wed, 8 Dec 2010 02:23:05 +0000 (21:23 -0500)]
[aoe] Rename io_req to aoe__io_req_

11 years ago[aoe] Rename packet to aoe__packet_
Shao Miller [Wed, 8 Dec 2010 02:21:12 +0000 (21:21 -0500)]
[aoe] Rename packet to aoe__packet_

11 years ago[aoe] Rename create_aoe_disk to aoe__create_disk_
Shao Miller [Wed, 8 Dec 2010 01:35:39 +0000 (20:35 -0500)]
[aoe] Rename create_aoe_disk to aoe__create_disk_

11 years ago[aoe] Rename free_aoe_disk to aoe__free_disk_
Shao Miller [Wed, 8 Dec 2010 01:31:35 +0000 (20:31 -0500)]
[aoe] Rename free_aoe_disk to aoe__free_disk_

11 years ago[aoe] Rename unload to aoe__unload_
Shao Miller [Wed, 8 Dec 2010 01:29:08 +0000 (20:29 -0500)]
[aoe] Rename unload to aoe__unload_

11 years ago[aoe] Rename process_abft to aoe__process_abft_
Shao Miller [Wed, 8 Dec 2010 01:27:17 +0000 (20:27 -0500)]
[aoe] Rename process_abft to aoe__process_abft_

11 years ago[debug] Undo a build macro toggle that slipped in
Shao Miller [Wed, 8 Dec 2010 01:12:25 +0000 (20:12 -0500)]
[debug] Undo a build macro toggle that slipped in

We were building with debugging enabled.  Oops.

11 years ago[aoe] Rename thread routine to aoe__thread_
Shao Miller [Wed, 8 Dec 2010 01:10:48 +0000 (20:10 -0500)]
[aoe] Rename thread routine to aoe__thread_

11 years ago[aoe] Rename aoe_disk_type to aoe__disk_type_
Shao Miller [Wed, 8 Dec 2010 01:06:52 +0000 (20:06 -0500)]
[aoe] Rename aoe_disk_type to aoe__disk_type_

Trying out a new style: All file-scope items prefixed by
"file__" and non-exported items suffixed with an underscore.

11 years ago[aoe] Don't use winvblock__def_enum for tag type
Shao Miller [Wed, 8 Dec 2010 01:00:25 +0000 (20:00 -0500)]
[aoe] Don't use winvblock__def_enum for tag type

11 years ago[device] Remove device__free_decl macro
Shao Miller [Tue, 7 Dec 2010 22:42:29 +0000 (17:42 -0500)]
[device] Remove device__free_decl macro

Use a typedef, instead.

11 years ago[irp] Remove irp__handler_decl macro
Shao Miller [Tue, 7 Dec 2010 22:00:27 +0000 (17:00 -0500)]
[irp] Remove irp__handler_decl macro

Use a typedef for similar (but lesser) convenience.
Again, for the sake of editors that parse source files.

11 years ago[aoe] Don't use winvblock__def_struct for aoe_disk_type
Shao Miller [Tue, 7 Dec 2010 21:18:00 +0000 (16:18 -0500)]
[aoe] Don't use winvblock__def_struct for aoe_disk_type

It might have been less typing, but some editors with code
completion obviously don't work with it.

11 years ago[aoe] Major cosmetic changes
Shao Miller [Tue, 7 Dec 2010 21:11:42 +0000 (16:11 -0500)]
[aoe] Major cosmetic changes

The driver.c file is quite large, so this effort isn't
even complete yet.

11 years ago[aoe] Minor cosmetic changes
Shao Miller [Tue, 7 Dec 2010 16:55:50 +0000 (11:55 -0500)]
[aoe] Minor cosmetic changes

11 years ago[disk] Move away from mini IRP handling table registration
Shao Miller [Fri, 3 Dec 2010 21:23:54 +0000 (16:23 -0500)]
[disk] Move away from mini IRP handling table registration

There was no current usage for hooking a disk's mini IRP
handling table chain, so we simply walk the one table from
a disk_dispatch() function.

11 years ago[bus] Start moving away from mini IRP handling registration
Shao Miller [Fri, 3 Dec 2010 21:08:37 +0000 (16:08 -0500)]
[bus] Start moving away from mini IRP handling registration

We begin to move away from a chain of registered mini IRP handling
tables, since right now AoE is the only module to make use of it,
registering with the boot bus.  For now, we leave a portion intact.