Partager via


KLibUnalignedAccessEnable (Compact 2013)

3/28/2014

This function enables or disables unaligned memory access on ARMv6 and later 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

TRUE indicates that the application can go ahead to use the unaligned memory access instructions, such as those ARM11 provided. FALSE indicates that the application can turn back to the normal byte-based access, with a performance loss.

Requirements

Header

pkfuncs.h

Library

coredll.lib

See Also

Reference

Kernel Functions

Other Resources

Core OS Services