[RTEMS Project] #3598: Move internal types of API objects to separate header file

2018-11-07 Thread RTEMS trac
#3598: Move internal types of API objects to separate header file
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  enhancement  | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 The  header file still exposes a lot of implementation details
 via the definition of internal data structures, e.g. the *_Control
 structures of the API objects. They are only necessary for the application
 configuration. Move them to separate header files. Currently we have:

 * 
 * 

 Use

 * 

 for this new header file.

 Potential new header files are:

 * rtems/rtems/asrdata.h
 * rtems/rtems/attrdata.h
 * rtems/rtems/barrierdata.h
 * rtems/rtems/dpmemdata.h
 * rtems/rtems/eventdata.h
 * rtems/rtems/messagedata.h
 * rtems/rtems/modesdata.h
 * rtems/rtems/optionsdata.h
 * rtems/rtems/partdata.h
 * rtems/rtems/ratemondata.h
 * rtems/rtems/regiondata.h
 * rtems/rtems/semdata.h
 * rtems/rtems/signaldata.h
 * rtems/rtems/statusdata.h
 * rtems/rtems/tasksdata.h
 * rtems/rtems/timerdata.h

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3589: Deprecate rtems_context_fp

2018-11-07 Thread RTEMS trac
#3589: Deprecate rtems_context_fp
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:  3590 |
-+--

Comment (by Sebastian Huber ):

 In [changeset:"ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6/rtems"
 ef30eb1/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6"
 monitor: Remove dead code

 Update #3587.
 Update #3589.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3459: Rework initialization and interrupt stack support

2018-11-07 Thread RTEMS trac
#3459: Rework initialization and interrupt stack support
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  enhancement  |  Status:  closed
 Priority:  normal   |   Milestone:  5.1
Component:  score| Version:  5
 Severity:  normal   |  Resolution:  fixed
 Keywords:   |  Blocked By:
 Blocking:  3433 |
-+--

Comment (by Sebastian Huber ):

 In [changeset:"ff081aee72436131cf11e3a35f96a6405c3a4d78/rtems"
 ff081aee/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="ff081aee72436131cf11e3a35f96a6405c3a4d78"
 score: Rename interrupt stack symbols

 Rename

   * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin,
   * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and
   * _Configuration_Interrupt_stack_size in _ISR_Stack_size.

 Move definitions to .  The new names are considerable
 shorter and in the right namespace.

 Update #3459.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3584: Remove types which are only available if RTEMS_DEPRECATED_TYPES is defined

2018-11-07 Thread RTEMS trac
#3584: Remove types which are only available if RTEMS_DEPRECATED_TYPES is 
defined
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  6.1
Component:  rtems| Version:  6
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:   |
-+--

Comment (by Sebastian Huber ):

 In [changeset:"a9767a07a2695cb52dc1b0d03aa83dfed171a5f0/rtems"
 a9767a07/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="a9767a07a2695cb52dc1b0d03aa83dfed171a5f0"
 score: Use RTEMS_DEPRECATED for deprecated types

 Update #3584.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3587: Deprecate rtems_context

2018-11-07 Thread RTEMS trac
#3587: Deprecate rtems_context
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:  3588 |
-+--

Comment (by Sebastian Huber ):

 In [changeset:"ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6/rtems"
 ef30eb1/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6"
 monitor: Remove dead code

 Update #3587.
 Update #3589.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] Trac email verification for user: Prakash

2018-11-07 Thread RTEMS trac
Please visit the following URL to confirm your email address.

Verification URL: 
Username: Prakash
Verification Token: wbEPd4zu

-- 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs


[RTEMS Project] New user registration: Prakash

2018-11-07 Thread RTEMS trac
New user registration for user Prakash

--
RTEMS Project 
RTEMS Project

___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs


Re: [RTEMS Project] #3597: Variable tmp_dirent not initialized CID 1440356 (was: Variable tmp_dirent not initialized)

2018-11-07 Thread RTEMS trac
#3597: Variable tmp_dirent not initialized CID 1440356
--+-
 Reporter:  zehata|   Owner:  (none)
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  Indefinite
Component:  fs| Version:  6
 Severity:  normal|  Resolution:
 Keywords:  coverity  |  Blocked By:
 Blocking:|
--+-

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3597: Variable tmp_dirent not initialized

2018-11-07 Thread RTEMS trac
#3597: Variable tmp_dirent not initialized
--+-
 Reporter:  zehata|   Owner:  (none)
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  Indefinite
Component:  fs| Version:  6
 Severity:  normal|  Resolution:
 Keywords:  coverity  |  Blocked By:
 Blocking:|
--+-
Changes (by zehata):

 * version:   => 6
 * milestone:   => Indefinite


Comment:

 Replying to [ticket:3597 zehata]:
 > From rtems root directory, cd cpukit/libfs/src/dosfs/msdos_dir.c
 > tmp.dirent was used 18 times but isn't initialized anywhere in the file.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3597: Variable tmp_dirent not initialized

2018-11-07 Thread RTEMS trac
#3597: Variable tmp_dirent not initialized
-+--
  Reporter:  zehata  |  Owner:  (none)
  Type:  defect  | Status:  new
  Priority:  normal  |  Milestone:
 Component:  fs  |Version:
  Severity:  normal  |   Keywords:  coverity
Blocked By:  |   Blocking:
-+--
 From rtems root directory, cd cpukit/libfs/src/dosfs/msdos_dir.c
 tmp.dirent was used 18 times but isn't initialized anywhere in the file.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3596: Remove deprecated rtems_rate_monotonic_period_time_t

2018-11-07 Thread RTEMS trac
#3596: Remove deprecated rtems_rate_monotonic_period_time_t
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  6.1
 Component:  rtems|Version:  6
  Severity:  normal   |   Keywords:
Blocked By:  3595 |   Blocking:
--+-


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3595: Deprecate rtems_rate_monotonic_period_time_t

2018-11-07 Thread RTEMS trac
#3595: Deprecate rtems_rate_monotonic_period_time_t
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 The rtems_rate_monotonic_period_time_t typedef as no corresponding API. It
 violates the POSIX namespace. A user can do nothing with it. It is only
 used in cpukit/include/rtems/rtems/ratemon.h in RTEMS. Deprecate it in
 this release.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3594: Remove deprecated rtems_thread_cpu_usage_t

2018-11-07 Thread RTEMS trac
#3594: Remove deprecated rtems_thread_cpu_usage_t
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  6.1
 Component:  rtems|Version:  6
  Severity:  normal   |   Keywords:
Blocked By:  3593 |   Blocking:
--+-


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3593: Deprecate rtems_thread_cpu_usage_t

2018-11-07 Thread RTEMS trac
#3593: Deprecate rtems_thread_cpu_usage_t
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 The rtems_thread_cpu_usage_t typedef as no corresponding API. It violates
 the POSIX namespace. A user can do nothing with it. It is only used in
 cpukit/include/rtems/rtems/ratemon.h in RTEMS. Deprecate it in this
 release.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3590: Remove deprecated rtems_context_fp

2018-11-07 Thread RTEMS trac
#3590: Remove deprecated rtems_context_fp
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  6.1
Component:  rtems| Version:  6
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:  3589
 Blocking:   |
-+--
Changes (by Sebastian Huber):

 * version:  5 => 6
 * milestone:  5.1 => 6.1


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3592: Remove deprecated region_information_block

2018-11-07 Thread RTEMS trac
#3592: Remove deprecated region_information_block
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  6.1
 Component:  rtems|Version:  6
  Severity:  normal   |   Keywords:
Blocked By:  3591 |   Blocking:
--+-


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3591: Deprecate region_information_block

2018-11-07 Thread RTEMS trac
#3591: Deprecate region_information_block
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:  3590
--+-
 The region_information_block typedef as no corresponding API. It has no
 proper namespace prefix. A user can do nothing with it. It is only used in
 cpukit/libmisc/cpuuse/cpuusagetop.c and
 cpukit/libmisc/shell/main_mallocinfo.c in RTEMS. Deprecate it in this
 release.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3591: Deprecate region_information_block

2018-11-07 Thread RTEMS trac
#3591: Deprecate region_information_block
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:   |
-+--
Changes (by Sebastian Huber):

 * blocking:  3590 =>


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3590: Remove deprecated rtems_context_fp

2018-11-07 Thread RTEMS trac
#3590: Remove deprecated rtems_context_fp
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:  3589 |   Blocking:
--+-


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3587: Deprecate rtems_context

2018-11-07 Thread RTEMS trac
#3587: Deprecate rtems_context
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:  3588 |
-+--
Description changed by Sebastian Huber:

Old description:

> The rtems_context typedef as no corresponding API. A user can do nothing
> with it. It is only used in ccpukit/libmisc/monitor/mon-monitor.c and
> pukit/libmisc/monitor/mon-editor.c in RTEMS. Deprecate it in this
> release.

New description:

 The rtems_context typedef as no corresponding API. A user can do nothing
 with it. It is only used in cpukit/libmisc/monitor/mon-monitor.c and
 cpukit/libmisc/monitor/mon-editor.c in RTEMS. Deprecate it in this
 release.

--

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3589: Deprecate rtems_context_fp

2018-11-07 Thread RTEMS trac
#3589: Deprecate rtems_context_fp
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:  3588
--+-
 The rtems_context_fp typedef as no corresponding API. A user can do
 nothing with it. It is only used in cpukit/libmisc/monitor/mon-editor.c in
 RTEMS. Deprecate it in this release.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3589: Deprecate rtems_context_fp

2018-11-07 Thread RTEMS trac
#3589: Deprecate rtems_context_fp
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:   |
-+--
Changes (by Sebastian Huber):

 * blocking:  3588 =>


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3587: Deprecate rtems_context

2018-11-07 Thread RTEMS trac
#3587: Deprecate rtems_context
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:  3588 |
-+--
Description changed by Sebastian Huber:

Old description:

> The rtems_context typedef as no corresponding API. A user can do nothing
> with it. It is only used in cpukit/libmisc/monitor/mon-editor.c in RTEMS.
> Deprecate it in this release.

New description:

 The rtems_context typedef as no corresponding API. A user can do nothing
 with it. It is only used in ccpukit/libmisc/monitor/mon-monitor.c and
 pukit/libmisc/monitor/mon-editor.c in RTEMS. Deprecate it in this release.

--

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3588: Remove deprecated rtems_context

2018-11-07 Thread RTEMS trac
#3588: Remove deprecated rtems_context
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  6.1
 Component:  rtems|Version:  6
  Severity:  normal   |   Keywords:
Blocked By:  3587 |   Blocking:
--+-


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #3587: Deprecate rtems_context

2018-11-07 Thread RTEMS trac
#3587: Deprecate rtems_context
-+--
 Reporter:  Sebastian Huber  |   Owner:  Sebastian Huber
 Type:  task |  Status:  assigned
 Priority:  normal   |   Milestone:  5.1
Component:  rtems| Version:  5
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:  3588 |
-+--
Changes (by Sebastian Huber):

 * component:  admin => rtems


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3587: Deprecate rtems_context

2018-11-07 Thread RTEMS trac
#3587: Deprecate rtems_context
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  admin|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 The rtems_context typedef as no corresponding API. A user can do nothing
 with it. It is only used in cpukit/libmisc/monitor/mon-editor.c in RTEMS.
 Deprecate it in this release.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3586: Remove deprecated proc_ptr definition

2018-11-07 Thread RTEMS trac
#3586: Remove deprecated proc_ptr definition
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  6.1
 Component:  score|Version:  6
  Severity:  normal   |   Keywords:
Blocked By:  3585 |   Blocking:
--+-


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3585: Deprecate proc_ptr

2018-11-07 Thread RTEMS trac
#3585: Deprecate proc_ptr
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  score|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 See comment in basedefs.h
 {{{
   /**
* XXX: Eventually proc_ptr needs to disappear!!!
*/
   typedef void * proc_ptr;
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3584: Remove types which are only available if RTEMS_DEPRECATED_TYPES is defined

2018-11-07 Thread RTEMS trac
#3584: Remove types which are only available if RTEMS_DEPRECATED_TYPES is 
defined
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  6.1
 Component:  rtems|Version:  6
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 The types

 * boolean,
 * single_precision,
 * double_precision,
 * rtems_single,
 * rtems_double, and
 * rtems_boolean.

 are only available if RTEMS_DEPRECATED_TYPES is defined. They are
 deprecated for a long time. Remove them in this release.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3583: Add rtems_malloc() and rtems_calloc()

2018-11-07 Thread RTEMS trac
#3583: Add rtems_malloc() and rtems_calloc()
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  enhancement  | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  rtems|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 The standard C/POSIX functions malloc() and calloc() set errno in case of
 an error. A dependency to errno pulls in getreent() which pulls in a lot
 of data structures and functions. This is an issue in low level code
 especially in the area of a basic board support package initialization and
 device drivers.

 Provide rtems_malloc() and rtems_calloc() functions declared in
  which do the same as the corresponding C/POSIX functions
 except setting errno.

 The posix_memalign() and aligned_alloc() functions do not have this issue
 with the errno.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

[RTEMS Project] #3582: Remove dedicated support for boundary constraint in heap allocator

2018-11-07 Thread RTEMS trac
#3582: Remove dedicated support for boundary constraint in heap allocator
--+-
  Reporter:  Sebastian Huber  |  Owner:  Sebastian Huber
  Type:  task | Status:  assigned
  Priority:  normal   |  Milestone:  5.1
 Component:  score|Version:  5
  Severity:  normal   |   Keywords:
Blocked By:   |   Blocking:
--+-
 Some time ago a dedicated support for a boundary constraint was added to
 the first fit heap allocator. The use case for this is the libbsd (new
 network stack) which needs this for the bus space allocator:

 https://www.freebsd.org/cgi/man.cgi?query=bus_dma

 It turned out that this feature is rarely used. It makes the first fit
 heap allocator implementation considerably more complex. It is also not a
 standard allocator feature which makes it more difficult to replace the
 first fit heap allocator with something else, e.g. TLSF.

 The boundary constraint can be also satisfied by an allocator which
 supports only the alignment constraint via:
 {{{
 if (boundary > alignment) {
 assert(alignment == 0 || boundary % alignment == 0);
 alignment = boundary;
 }
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs