This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
suggestions regarding except1 and kexcept1 kernel tests
- From: sandeep <shimple0 at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 15 Sep 2004 21:55:16 -0700 (PDT)
- Subject: [ECOS] 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