Subversion Repositories HelenOS

Rev

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

Rev 2263 Rev 2264
Line 87... Line 87...
87
 
87
 
88
    gxemul_hw_map.rtc_freq = gxemul_hw_map.rtc + GXEMUL_RTC_FREQ_OFFSET;
88
    gxemul_hw_map.rtc_freq = gxemul_hw_map.rtc + GXEMUL_RTC_FREQ_OFFSET;
89
    gxemul_hw_map.rtc_ack = gxemul_hw_map.rtc + GXEMUL_RTC_ACK_OFFSET;
89
    gxemul_hw_map.rtc_ack = gxemul_hw_map.rtc + GXEMUL_RTC_ACK_OFFSET;
90
    gxemul_hw_map.irqc_mask = gxemul_hw_map.irqc + GXEMUL_IRQC_MASK_OFFSET;
90
    gxemul_hw_map.irqc_mask = gxemul_hw_map.irqc + GXEMUL_IRQC_MASK_OFFSET;
91
    gxemul_hw_map.irqc_unmask = gxemul_hw_map.irqc + GXEMUL_IRQC_UNMASK_OFFSET;
91
    gxemul_hw_map.irqc_unmask = gxemul_hw_map.irqc + GXEMUL_IRQC_UNMASK_OFFSET;
-
 
92
 
92
}
93
}
93
 
94
 
94
/** Putchar that works with gxemul */
95
/** Putchar that works with gxemul */
95
void gxemul_write(chardev_t *dev, const char ch)
96
void gxemul_write(chardev_t *dev, const char ch)
96
{
97
{
Line 282... Line 283...
282
size_t gxemul_get_memory_size(void)
283
size_t gxemul_get_memory_size(void)
283
{
284
{
284
    return  *((int*)(GXEMUL_MP + GXEMUL_MP_MEMSIZE_OFFSET));
285
    return  *((int*)(GXEMUL_MP + GXEMUL_MP_MEMSIZE_OFFSET));
285
}
286
}
286
 
287
 
-
 
288
void gxemul_debug_putc(char ch) {
-
 
289
    *((volatile char *) GXEMUL_KBD) = ch;
-
 
290
}
-
 
291
 
287
/** @}
292
/** @}
288
 */
293
 */