This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
[PATCH] minor memalloc doc fix
- From: Alexander Neundorf <neundorf at kde dot org>
- To: ecos-devel at ecos dot sourceware dot org
- Date: Thu, 29 Sep 2005 23:14:59 +0200
- Subject: [PATCH] minor memalloc doc fix
- Reply-to: neundorf at kde dot org
Hi,
the attached patch fixes two small erros in the documentation for the fixed
size memory pool.
Please apply
Alex
--
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org - http://www.kde.org
alex@neundorf.net - http://www.neundorf.net
? memalloc.sgml.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/ChangeLog,v
retrieving revision 1.37
diff -b -u -p -r1.37 ChangeLog
--- ChangeLog 3 Aug 2005 20:45:09 -0000 1.37
+++ ChangeLog 29 Sep 2005 21:12:12 -0000
@@ -1,3 +1,6 @@
+2005-09-30 Alexander Neundorf <neundorf@kde.org>
+ * doc/memalloc.sgml: two minor fixes
+
2005-07-30 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/heaptest.c (test_pat): Casts to prevent compiler warnings.
Index: doc/memalloc.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/doc/memalloc.sgml,v
retrieving revision 1.2
diff -b -u -p -r1.2 memalloc.sgml
--- doc/memalloc.sgml 7 Jun 2005 13:31:12 -0000 1.2
+++ doc/memalloc.sgml 29 Sep 2005 21:12:12 -0000
@@ -203,7 +203,7 @@ typedef struct {
<paramdef>cyg_uint32 <parameter>size</parameter></paramdef>
<paramdef>cyg_uint32 <parameter>blocksize</parameter></paramdef>
<paramdef>cyg_handle_t* <parameter>fixpool</parameter></paramdef>
- <paramdef>cyg_mempool_var* <parameter>var</parameter></paramdef>
+ <paramdef>cyg_mempool_fix* <parameter>fix</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>void <function>cyg_mempool_fix_delete</function></funcdef>
@@ -245,7 +245,7 @@ typedef struct {
The fixed size memory pool functions are used for allocating
blocks of the same size. The allocation and free functions are
more efficient than the variable size pools, but are naturally
- limited to being only able to allocate blocks of a sized
+ limited to being only able to allocate blocks of a fixed
size. Before memory can be allocated the pool must first be
created by calling
<function>cyg_mempool_fix_create()</function>.