Subversion Repositories HelenOS

Rev

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

Rev 2358 Rev 2360
Line 116... Line 116...
116
{
116
{
117
    gxemul_hw_map.videoram = hw_map(GXEMUL_VIDEORAM, PAGE_SIZE);
117
    gxemul_hw_map.videoram = hw_map(GXEMUL_VIDEORAM, PAGE_SIZE);
118
    gxemul_hw_map.kbd = hw_map(GXEMUL_KBD, PAGE_SIZE);
118
    gxemul_hw_map.kbd = hw_map(GXEMUL_KBD, PAGE_SIZE);
119
    gxemul_hw_map.rtc = hw_map(GXEMUL_RTC, PAGE_SIZE);
119
    gxemul_hw_map.rtc = hw_map(GXEMUL_RTC, PAGE_SIZE);
120
    gxemul_hw_map.irqc = hw_map(GXEMUL_IRQC, PAGE_SIZE);
120
    gxemul_hw_map.irqc = hw_map(GXEMUL_IRQC, PAGE_SIZE);
121
    gxemul_hw_map.fb = hw_map(GXEMUL_FB, PAGE_SIZE);
-
 
122
 
121
 
123
    gxemul_hw_map.rtc_freq = gxemul_hw_map.rtc + GXEMUL_RTC_FREQ_OFFSET;
122
    gxemul_hw_map.rtc_freq = gxemul_hw_map.rtc + GXEMUL_RTC_FREQ_OFFSET;
124
    gxemul_hw_map.rtc_ack = gxemul_hw_map.rtc + GXEMUL_RTC_ACK_OFFSET;
123
    gxemul_hw_map.rtc_ack = gxemul_hw_map.rtc + GXEMUL_RTC_ACK_OFFSET;
125
    gxemul_hw_map.irqc_mask = gxemul_hw_map.irqc + GXEMUL_IRQC_MASK_OFFSET;
124
    gxemul_hw_map.irqc_mask = gxemul_hw_map.irqc + GXEMUL_IRQC_MASK_OFFSET;
126
    gxemul_hw_map.irqc_unmask = gxemul_hw_map.irqc + GXEMUL_IRQC_UNMASK_OFFSET;
125
    gxemul_hw_map.irqc_unmask = gxemul_hw_map.irqc + GXEMUL_IRQC_UNMASK_OFFSET;
Line 389... Line 388...
389
}
388
}
390
 
389
 
391
 
390
 
392
uintptr_t gxemul_get_fb_address(void)
391
uintptr_t gxemul_get_fb_address(void)
393
{
392
{
394
    return gxemul_hw_map.fb;
393
    return (uintptr_t) GXEMUL_FB;
395
}
394
}
396
 
395
 
397
/** @}
396
/** @}
398
 */
397
 */