[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

d_align Kernel Service

Purpose

Provides needed information to align a buffer with a processor cache line.

Library

Kernel Extension Runtime Routines Library (libsys.a)

Syntax

int  d_align()

Description

To maintain cache consistency with system memory, buffers must be aligned. The d_align kernel service helps provide that function by returning the maximum processor cache-line size. The cache-line size is returned in log2 form.

Execution Environment

The d_align service can be called from either the process or interrupt environment.

Implementation Specifics

The d_align kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The d_cflush kernel service, d_clear kernel service, d_roundup kernel service.

Understanding Direct Memory Access (DMA) Transfer in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]