Subversion Repositories freemyipod

Rev

Rev 15 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 28
Line 27... Line 27...
27
#ifndef ASM_FILE
27
#ifndef ASM_FILE
28
#include <stdint.h>
28
#include <stdint.h>
29
#include <stddef.h>
29
#include <stddef.h>
30
#endif
30
#endif
31
 
31
 
32
#define VERSION "0.0.1pre"
32
#include "build/version.h"
33
 
33
 
34
#define ICODE_ATTR __attribute__((section(".icode")))
34
#define ICODE_ATTR __attribute__((section(".icode")))
35
#define ICONST_ATTR __attribute__((section(".irodata")))
35
#define ICONST_ATTR __attribute__((section(".irodata")))
36
#define IDATA_ATTR __attribute__((section(".idata")))
36
#define IDATA_ATTR __attribute__((section(".idata")))
37
#define IBSS_ATTR __attribute__((section(".ibss")))
37
#define IBSS_ATTR __attribute__((section(".ibss")))
Line 46... Line 46...
46
#define false 0
46
#define false 0
47
 
47
 
48
#include "config.h"
48
#include "config.h"
49
#include "target.h"
49
#include "target.h"
50
 
50
 
-
 
51
#ifndef SCHEDULER_TICK
-
 
52
#define SCHEDULER_TICK 1048576
-
 
53
#endif
-
 
54
 
-
 
55
#ifndef SYSTEM_TICK
-
 
56
#define SYSTEM_TICK 10000
-
 
57
#endif
-
 
58
 
51
#ifndef MAX_THREADS
59
#ifndef MAX_THREADS
52
#define MAX_THREADS 32
60
#define MAX_THREADS 32
53
#endif
61
#endif
54
 
62
 
55
#define CACHELINE_SIZE (1<<CACHELINE_BITS)
63
#define CACHELINE_SIZE (1<<CACHELINE_BITS)