This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

HAL_FLASH_CACHES_XXX


The comments for the HAL_FLASH_CACHES_ON and HAL_FLASH_CACHES_OFF macros in
flash.h state that these macros must be called with interrupts disabled.
This seems to make sense.  However, code inspection reveals that they are
called with interrupts enabled.  I see no interrupt disabling in
flash_dev_query(), flash_erase(), flash_program(), flash_lock() and
flash_unlock() or in the functions that call these.  Am I missing something
here?  It seems unlikely that if this were a real problem that it would have
gone unoticed for very long.

Jay


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]