Rev 567 | Rev 575 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 567 | Rev 573 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | 33 | ||
34 | #define ARC_BASE_ADDR 0x1000; |
34 | #define ARC_BASE_ADDR 0x1000; |
35 | #define ARC_MAGIC 0x53435241 |
35 | #define ARC_MAGIC 0x53435241 |
- | 36 | /* Frame size used by ARC */ |
|
- | 37 | #define ARC_FRAME 4096 |
|
36 | 38 | ||
37 | typedef enum { |
39 | typedef enum { |
38 | SystemClass = 0, |
40 | SystemClass = 0, |
39 | ProcessorClass, |
41 | ProcessorClass, |
40 | CacheClass, |
42 | CacheClass, |
Line 205... | Line 207... | ||
205 | __u32 privvectorlen; |
207 | __u32 privvectorlen; |
206 | void *privvector; |
208 | void *privvector; |
207 | __u32 adaptercount; |
209 | __u32 adaptercount; |
208 | }__attribute__ ((packed)) arc_sbp; |
210 | }__attribute__ ((packed)) arc_sbp; |
209 | 211 | ||
210 | extern int init_arc(void); |
212 | extern int arc_init(void); |
211 | extern void arc_print_memory_map(void); |
213 | extern void arc_print_memory_map(void); |
212 | extern int arc_enabled(void); |
214 | extern int arc_enabled(void); |
213 | extern void arc_putchar(char ch); |
215 | extern void arc_putchar(char ch); |
214 | extern void arc_print_devices(void); |
216 | extern void arc_print_devices(void); |
215 | extern int arc_getchar(void); |
217 | extern int arc_getchar(void); |
- | 218 | void arc_frame_init(void); |
|
- | 219 | ||
216 | #endif |
220 | #endif |