KLibUnalignedAccessEnable (Windows Embedded CE 6.0)

1/5/2010

This function enables or disables unaligned memory access on ARMv6 microprocessors.

Syntax

BOOL KLibUnalignedAccessEnable (
  BOOL fEnable
);

Parameters

Parameter Description

fEnable

[in] Set to TRUE to enable access to unaligned memory. Set to FALSE to disable access to unaligned memory.

Return Value

If it returns TRUE, the application can go ahead to use the unaligned memory access instructions, such as those ARM11 provided.

If it returns FALSE, the application can turn back to the normal byte-based access, with a performance loss.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Optional OAL Functions

Other Resources

Bringing Up a Hardware Platform
Core OS Services
Developing a Device Driver