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]

suggestions regarding except1 and kexcept1 kernel tests


hi dsm/jl,

wouldn't it be better if following section of code in
except1 and kexcept1 kernel tests are moved under
"#ifdef CYGNUM_HAL_EXCEPTION_DATA_ACCESS" to cause
illegal access, as in compat/posix - signal2 test.

also, what is your view on keeping the illegal access
and unaligned access testings separate in mentioned
kernel tests (code snippet below doing both at same
time), as being done in similar posix test signal2.

-----------------
  // First try for an address exception (unaligned
access exception
    // or SEGV/BUS exceptions)
    do {
        x=*(volatile int *)(p-1);
        p+=0x100000;
    } while(p != 0);
-----------------

regards
sandeep



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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


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