Block Driver Catalog Items and Sysgen Variables (Compact 2013)

3/26/2014

In Windows Embedded Compact 2013, you can support one or more of the block device drivers available in the catalog, or you can implement your own block driver to support a specialized block storage device.

For more information, see Block Drivers.

For more information about how to add or remove catalog items, see Create Your First OS.

Hardware and Software Requirements

  • The ATAPI PCI/IDE Storage Block Driver requires an ATA disk drive or CD/DVD-ROM drive on the hardware board.
  • The Promise Controller ATAPI Driver (PDC2026) requires a Promise PDC2026 PCI host bus adapter on the hardware board.
  • The Promise Controller ATAPI Driver (PDC40518) requires a Promise PDC40518 PCI host bus adapter on the hardware board.

Catalog Items and Sysgen Variables

The following table describes the catalog items and associated SYSGEN variables you can use to add support for block device drivers to your OS.

Catalog item

SYSGEN variable

Description

Dependencies

ATAPI PCI/IDE Storage Block Driver

SYSGEN_ATAPI

Provides a sample ATA packet interface driver, which supports all integrated device electronics (IDE) devices.

Requires SYSGEN_ATAPI_PCIP_PDC20262, SYSGEN_ATAPI_PCIP_PDC40518, and SYSGEN_ATAPI_PCIO_CD.

Promise Controller ATAPI Driver (PDC2026)

SYSGEN_ATAPI_PCIP_PDC20262

Provides an ATAPI driver component that supports on-board Promise PDC2026 PCI ATA/ATAPI host bus adapters.

Requires SYSGEN_ATAPI_PCIO_CD.

Promise Controller ATAPI Driver (PDC40518)

SYSGEN_ATAPI_PCIP_PDC40518

Provides an ATAPI driver component that supports on-board Promise PDC40518 PCI ATA/ATAPI host bus adapters.

Requires SYSGEN_ATAPI_PCIO_CD.

ATAPI PCI Support

SYSGEN_ATAPI_PCIO

Supports on-board PCI ATA/ATAPI host bus adapters for ATA disk drives.

None.

Basic ATAPI PCI CD/DVD-ROM Support

SYSGEN_ATAPI_PCIO_CD

Supports on-board PCI ATA/ATAPI host bus adapters for CD/DVD-ROM hardware.

Requires SYSGEN_ATAPI_PCIO.

Sample Block Driver

SYSGEN_RAMDISK

Provides a sample RAM-backed block driver.

Requires a driver loader (ceramdrv.exe):

  • Adding the sample block driver to your OS design provides a RAM-backed, or non-persistent, block driver. However, the driver loader is not added to your OS when you include the sample block driver in your OS design.
  • You can find the driver loader for each CPU and build type on your development computer in %_WINCEROOT%\Public\Common\Oak\Target\<CPU type>\<Build type>\, where <CPU type> is armv7 or x86, and <Build type> is checked, debug, or retail.
  • You can find the source code for the sample block driver in %_WINCEROOT%\Public\Common\Oak\Drivers\Block\Ramdisk\Driver\.
  • You can find the source code for the driver loader in %_WINCEROOT%\Public\Common\Oak\Drivers\Block\Ramdisk\Loader\.

Sample File System Driver

SYSGEN_RAWFS

Sample file system driver (FSD).

None.

See Also

Other Resources

Block Drivers