This is the mail archive of the ecos-bugs@sourceware.org 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]

[Bug 1001253] Kernel tests on small memory targets


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001253

--- Comment #26 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2011-07-06 13:01:06 BST ---
(In reply to comment #19)

> > 3. fptests - the program as it is at present, would need major rework
> > (if ever possible) in order to make it work on little memory. That's
> > the reason why I have proposed a workaround that deliberately "gives
> > up" if memory is too little.
> 
> IMO (for now) it's better to use a standard eCos catch there:
> 
>   #ifndef NA_MSG

Ilija, there is the same check there:

#if defined(CYGFUN_KERNEL_API_C) &&             \                               
    defined(CYGSEM_KERNEL_SCHED_MLQUEUE) &&     \                               
    (CYGNUM_KERNEL_SCHED_PRIORITIES > 12)

and you would expand the check to verify CYGMEM_REGION_ram_SIZE.

I seemed for me SIZE >= 64 Kib is sufficient condition for the fptest.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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