buglwIP - A Lightweight TCP/IP stack - Bugs: bug #48354, Portable alignment defines/include...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #48354: Portable alignment defines/include required for static allocation

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Thu 30 Jun 2016 08:49:27 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  2.0.0 Beta2
lwIP version:  git head

Fri 01 Jul 2016 10:26:42 AM UTC, comment #1: 

Adding a patch of what would be my idea to solve this. I'm not really sure we need this, though, just for discussion...

(file #37646)

Simon Goldschmidt <goldsimon>
Group administrator
Thu 30 Jun 2016 08:49:27 PM UTC, original submission:  

To prevent allocating too much memory, we need types, macros or includes (for those ugly pragma-loving compilers) to align statically allocated memory like the heap, the memp pools etc...

Ideally, we'd
- combine this with bug #47092 to move these big blocks to different memory and
- add extra alignment requirements for every memp pool (so that the pbuf rx pool can have a different alignment if the hardware requires so)

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #37646:  align_by_type.patch added by goldsimon (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Updated the item)
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-07 dziegel StatusNone Fixed
        Open/ClosedOpen Closed
    2016-07-01 goldsimon Attached File- Added align_by_type.patch, #37646

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code