This is the mail archive of the ecos-patches@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 1001275] Cortex-M (armV7) architecture endian instructions / Applied on lwIP


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

--- Comment #12 from Ilija Kocho <ilijak@siva.com.mk> 2011-08-22 14:35:54 BST ---
(In reply to comment #10)
> (In reply to comment #9)
> Ilija, to synchronize our heads :-) I did mean/understand what

Just to sync with my comment #11

> 
> on the arch's side we plan to add two new header files:
> 
>   - cortexm_regs.h     // CYGARC_REV16(), CYGARC_REV32(), etc.
    - cortexm_endian.h   // CYG_SWAP16(), CYG_SWAP32()

> and patch one
> 
>   - hal_cortexm.cdl     // 1) define_proc ... CYGBLD_HAL_ENDIAN_H

We don't need following (see comment #11)

>                         // 2) CYGBLD_HAL_CORTEXM_FAST_SWAPXX_INST
>                         // NOTE: it is a draft name (to discuss)
> 
> on the lwip's side to patch
> 

Not this (comment #11)

>   - lwip_net.cdl        // CYGBLD_LWIP_HTOS_HTONL_INLINED

Only this:

>   - lwipopts.h          // check above and set if needed
>                         // LWIP_PLATFORM_BYTESWAP, etc.
> 
> Sergei

-- 
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]