[ECOS] suggestions regarding except1 and kexcept1 kernel tests
sandeep
shimple0@yahoo.com
Thu Sep 16 04:55:00 GMT 2004
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
More information about the Ecos-discuss
mailing list