git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@407 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2008-08-26 10:38:29 +00:00
parent f3c6388ed5
commit ac6b3caba1
20 changed files with 98 additions and 3 deletions

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
//#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
//#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
//#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -137,6 +137,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -138,6 +138,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -142,6 +142,14 @@
* are included in the kernel.*/
#define CH_USE_SERIAL_HALFDUPLEX
/** Configuration option: if specified then the memory pools allocator APIs
* are included in the kernel.*/
#define CH_USE_MEMPOOLS
/** Configuration option: if specified then the memory pools allocator
provides an implementation of the sbrk() function.*/
#define CH_MEMPOOLS_PROVIDE_SBRK
/** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
#define CH_FREQUENCY 1000

View File

@ -22,6 +22,7 @@
#define __need_NULL
#define __need_size_t
#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)

View File

@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = ChibiOS/RT
PROJECT_NUMBER = "0.6.10 beta"
PROJECT_NUMBER = "0.7.0 beta"
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English

View File

@ -12,7 +12,7 @@
</tr>
<tr>
<td style="text-align: center; vertical-align: top; width: 150px;">Current
Version 0.6.10<br>
Version 0.7.0<br>
-<br>
<a href="http://sourceforge.net/projects/chibios/" rel="me" target="_top">Project on SourceForge</a><br>
<a href="html/index.html" target="_top" rel="me">Documentation</a><br>

View File

@ -22,6 +22,7 @@
#define __need_NULL
#define __need_size_t
#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)

View File

@ -22,6 +22,7 @@
#define __need_NULL
#define __need_size_t
#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)

View File

@ -22,6 +22,7 @@
#define __need_NULL
#define __need_size_t
#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)

View File

@ -27,6 +27,7 @@
#define __need_NULL
#define __need_size_t
#define __need_ptrdiff_t
#include <stddef.h>
#if !defined(_STDINT_H) && !defined(__STDINT_H_)

View File

@ -74,6 +74,15 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
*** Releases ***
*****************************************************************************
*** 0.7.0 ***
- NEW: Memory Pools functionality added, this mechanism allows constant-time
allocation/freeing of constant size objects. It can be used to dynamically
allocate kernel objects like Semaphores, Mutexes, Threads etc it can also
handle application-defined objects. The allocator is, of course, thread-safe.
- NEW: Kernel-provided sbrk() function, it is used internally by the Memory
Pools but can also be used by the C runtime. There is also an option to
meke the Memory Pools use an user-provided sbrk() function.
*** 0.6.10 ***
- FIX: Fixed a case-sensitiveness error in lpc214x_ssp.c, it affected only
linux/unix users.

View File

@ -42,6 +42,7 @@
#include "sleep.h"
#include "queues.h"
#include "serial.h"
#include "pools.h"
#include "debug.h"
/*

View File

@ -6,4 +6,4 @@ KERNSRC = ../../src/chinit.c ../../src/chdebug.c \
../../src/chsem.c ../../src/chmtx.c \
../../src/chevents.c ../../src/chmsg.c \
../../src/chsleep.c ../../src/chqueues.c \
../../src/chserial.c
../../src/chserial.c ../../src/chpools.c