[build] Move majority of code into bus subdir
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 30 Apr 2010 23:03:07 +0000 (19:03 -0400)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 30 Apr 2010 23:07:13 +0000 (19:07 -0400)
commita9408bd55b72c40de677ddc4ee9c3471178b5ccd
treebb730093696faa4f56136a9b6ac87fce50418c94
parentc07f380b83d69643dbb01a9c68a32dd49e175511
[build] Move majority of code into bus subdir

The plan is to split AoE functionality off into its own driver,
to avoid WinVBlock's dependency on NDIS for those users who
do not require or desire the AoE feature.

Similarly, future features with dependencies can have their own
directories and their own .SYS drivers.

For now, all driver code including AoE has been moved into bus/,
but AoE will eventually come out of there.

A strategy needs to be determined to allow for the single bus
device to accept features in a modular fashion, and to route
applicable feature-wide control signals to each feature's driver.

For example, the WinVBlock bus (an "HDD controller" of sorts) can
support certain virtual disk types natively.  When an AoE driver
starts, it could look for the bus and register itself as a
feature if the bus is found.  Thenceforth, a user-land utility
could request an AoE-attach of the WinVBlock bus, who could forward
that request on to the AoE driver.
45 files changed:
makedriver.bat
makeutils.bat
src/bus/aoe.c [moved from src/aoe.c with 100% similarity]
src/bus/bus.c [moved from src/bus.c with 100% similarity]
src/bus/bus_dev_ctl.c [moved from src/bus_dev_ctl.c with 100% similarity]
src/bus/bus_pnp.c [moved from src/bus_pnp.c with 100% similarity]
src/bus/debug.c [moved from src/debug.c with 100% similarity]
src/bus/disk.c [moved from src/disk.c with 100% similarity]
src/bus/disk_dev_ctl.c [moved from src/disk_dev_ctl.c with 100% similarity]
src/bus/disk_pnp.c [moved from src/disk_pnp.c with 100% similarity]
src/bus/disk_scsi.c [moved from src/disk_scsi.c with 100% similarity]
src/bus/driver.c [moved from src/driver.c with 100% similarity]
src/bus/filedisk.c [moved from src/filedisk.c with 100% similarity]
src/bus/grub4dos.c [moved from src/grub4dos.c with 100% similarity]
src/bus/memdisk.c [moved from src/memdisk.c with 100% similarity]
src/bus/probe.c [moved from src/probe.c with 100% similarity]
src/bus/protocol.c [moved from src/protocol.c with 100% similarity]
src/bus/ramdisk.c [moved from src/ramdisk.c with 100% similarity]
src/bus/registry.c [moved from src/registry.c with 100% similarity]
src/bus/winvblock.rc [moved from src/winvblock.rc with 100% similarity]
src/include/aoe.h [moved from src/aoe.h with 100% similarity]
src/include/bus.h [moved from src/bus.h with 100% similarity]
src/include/bus_dev_ctl.h [moved from src/bus_dev_ctl.h with 100% similarity]
src/include/bus_pnp.h [moved from src/bus_pnp.h with 100% similarity]
src/include/debug.h [moved from src/debug.h with 100% similarity]
src/include/disk.h [moved from src/disk.h with 100% similarity]
src/include/disk_dev_ctl.h [moved from src/disk_dev_ctl.h with 100% similarity]
src/include/disk_pnp.h [moved from src/disk_pnp.h with 100% similarity]
src/include/disk_scsi.h [moved from src/disk_scsi.h with 100% similarity]
src/include/driver.h [moved from src/driver.h with 100% similarity]
src/include/filedisk.h [moved from src/filedisk.h with 100% similarity]
src/include/grub4dos.h [moved from src/grub4dos.h with 100% similarity]
src/include/irp.h [moved from src/irp.h with 100% similarity]
src/include/mdi.h [moved from src/mdi.h with 100% similarity]
src/include/memdisk.h [moved from src/memdisk.h with 100% similarity]
src/include/mount.h [moved from src/mount.h with 100% similarity]
src/include/portable.h [moved from src/portable.h with 100% similarity]
src/include/probe.h [moved from src/probe.h with 100% similarity]
src/include/protocol.h [moved from src/protocol.h with 100% similarity]
src/include/ramdisk.h [moved from src/ramdisk.h with 100% similarity]
src/include/registry.h [moved from src/registry.h with 100% similarity]
src/include/resource.h [moved from src/resource.h with 100% similarity]
src/include/winvblock.h [moved from src/winvblock.h with 100% similarity]
src/loader/loader.c
src/util/mount.c