Subversion Repositories HelenOS

Rev

Rev 2286 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2286 Rev 2329
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_arm32_MSIM_GXEMUL_H_
35
#ifndef KERN_arm32_MSIM_GXEMUL_H_
36
#define KERN_arm32_MSIM_GXEMUL_H_
36
#define KERN_arm32_MSIM_GXEMUL_H_
37
 
37
 
38
 
-
 
39
#include <console/chardev.h>
38
#include <console/chardev.h>
40
 
39
 
41
#define GXEMUL_IRQC_MAX_IRQ     8
40
#define GXEMUL_IRQC_MAX_IRQ     8
42
#define GXEMUL_TIMER_FREQ       10
41
#define GXEMUL_TIMER_FREQ       10
43
 
42
 
44
 
43
 
45
/** Struct containing mappings of gxemul HW devices into kernel part
44
/** Struct containing mappings of gxemul HW devices into kernel part
46
 *  *  of virtual address space. */
45
 *  of virtual address space.
-
 
46
 */
47
typedef struct {
47
typedef struct {
48
    uintptr_t videoram;
48
    uintptr_t videoram;
49
    uintptr_t kbd;
49
    uintptr_t kbd;
50
    uintptr_t rtc;
50
    uintptr_t rtc;
51
    uintptr_t rtc_freq;
51
    uintptr_t rtc_freq;
Line 70... Line 70...
70
 
70
 
71
size_t gxemul_get_memory_size(void);
71
size_t gxemul_get_memory_size(void);
72
void gxemul_debug_putc(char ch);
72
void gxemul_debug_putc(char ch);
73
   
73
   
74
 
74
 
75
 
-
 
76
#endif
75
#endif
77
 
76
 
78
/** @}
77
/** @}
79
 */
78
 */