Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Memory alignment question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory alignment question



Hi All,

I have some question related for memory alignment of the buffer that
is gotten by the driver subclassed from IOBlockStorageDevice.

#1 Is the buffer that is gotten by the driver will always aligned ?
In other words, is it always guaranteed that the buffer parameter of
doAsyncReadWrite or doSyncReadWrite is aligned ?

#2 If #1 is yes, how aligned ? 4Bytes ? 8Byte? more ?

#3 If #1 is no, are there any possilibilty that "Physical is contnue
but logical is segmented" buffer ? Because I need to write a follow-
up routine.


Regards,

Zak


<<<< Kazutaka Sawa * yano ELECTRIC CO.,LTD.* >>>>
<<<< >>>>
<<<< E-Mail. mailto:email@hidden >>>>
<<<< URL. http://www.yano-el.co.jp/ >>>>
<<<< Tel. +81-78-993-0001 Fax. +81-78-997-6491 >>>>
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.