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

This commit is contained in:
gdisirio 2009-01-10 09:42:46 +00:00
parent 49fe48fd7a
commit 791d101af5
3 changed files with 6 additions and 4 deletions

View File

@ -120,7 +120,7 @@
* provide the \p __heap_base__ and \p __heap_end__ symbols.
* @note requires \p CH_USE_HEAP.
*/
#define CH_HEAP_SIZE 16384
#define CH_HEAP_SIZE 0x20000
/** Configuration option: enforces the use of the C-runtime \p malloc() and
* \p free() functions as backend for the system heap allocator.*/

View File

@ -159,9 +159,10 @@ typedef struct {
#define sys_enable_from_isr()
/**
* Does nothing in this simulator.
* In the simulator this does a polling pass on the simulated interrupt
* sources.
*/
#define sys_wait_for_interrupt()
#define sys_wait_for_interrupt() ChkIntSources()
/**
* IRQ handler function modifier.
@ -174,6 +175,8 @@ extern "C" {
__attribute__((fastcall)) void sys_puts(char *msg);
__attribute__((fastcall)) void sys_switch(Thread *otp, Thread *ntp);
__attribute__((fastcall)) void sys_halt(void);
void InitCore(void);
void ChkIntSources(void);
void threadexit(void);
#ifdef __cplusplus
}

View File

@ -34,7 +34,6 @@ static msg_t ConsoleThread(void *arg);
msg_t TestThread(void *p);
void InitCore(void);
extern FullDuplexDriver COM1, COM2;
#define cprint(msg) chMsgSend(cdtp, (msg_t)msg)