Subversion Repositories HelenOS-historic

Rev

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

Rev 1146 Rev 1620
Line 57... Line 57...
57
    unsigned int height;
57
    unsigned int height;
58
    unsigned int bpp;
58
    unsigned int bpp;
59
    unsigned int scanline;
59
    unsigned int scanline;
60
} screen_t;
60
} screen_t;
61
 
61
 
-
 
62
typedef struct {
-
 
63
    void *addr;
-
 
64
    unsigned int size;
-
 
65
} keyboard_t;
-
 
66
 
62
 
67
 
63
extern void init(void);
68
extern void init(void);
64
extern void ofw_write(const char *str, const int len);
69
extern void ofw_write(const char *str, const int len);
65
 
70
 
66
extern void *ofw_translate(const void *virt);
71
extern void *ofw_translate(const void *virt);
67
extern int ofw_map(const void *phys, const void *virt, const int size, const int mode);
72
extern int ofw_map(const void *phys, const void *virt, const int size, const int mode);
68
extern int ofw_memmap(memmap_t *map);
73
extern int ofw_memmap(memmap_t *map);
69
extern int ofw_screen(screen_t *screen);
74
extern int ofw_screen(screen_t *screen);
-
 
75
extern int ofw_keyboard(keyboard_t *keyboard);
70
 
76
 
71
#endif
77
#endif