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

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Thu 30 Jun 2016 08:49:27 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned 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>
Project 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>
Project Administrator

 

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
  • -unavailable- added by dziegel (Updated the item)
  • -unavailable- added by goldsimon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Jul 2016 11:40:20 AM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 01 Jul 2016 10:26:42 AM UTCgoldsimonAttached File-=>Added align_by_type.patch, #37646

    Back to the top


    Powered by Savane 3.1-cleanup1