Compartilhar via


OEMMapMemAddr (Windows Embedded CE 6.0)

1/5/2010

This function handles downloads that are destined for flash. OEMmapMemAddr remaps a flash-resident address to a unique RAM-based address so that flash memory OS images can be temporarily cached in RAM while the download occurs. This provides enough time to handle the flash memory update while not stalling the download process because the flash memory operation typically takes more time than the download process.

Syntax

LPBYTE OEMMapMemAddr(
  DWORD dwImageStart,
  DWORD dwAddr
);

Parameters

  • dwImageStart
    [in] Starting address of OS image.
  • dwAddr
    [in] Address of a BIN record. If this address lies in a platform's flash memory address space, typically the offset from dwImageStart is computed and added to a RAM-based file cache area.

Return Value

Address from which the BIN record should be copied to provide file caching before and during the flash update process.

Requirements

Header blcommon.h
Library blcommon.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Tasks

Implementing the OEMMapMemAddr Function

Reference

Boot Loader Download Functions

Concepts

BLCOMMON Code Library