Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1702 Rev 1780
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#include <arch/bios/bios.h>
35
#include <arch/bios/bios.h>
36
#include <arch/types.h>
36
#include <arch/types.h>
37
 
37
 
38
__address ebda = 0;
38
uintptr_t ebda = 0;
39
 
39
 
40
void bios_init(void)
40
void bios_init(void)
41
{
41
{
42
    /* Copy the EBDA address out from BIOS Data Area */
42
    /* Copy the EBDA address out from BIOS Data Area */
43
    ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10;
43
    ebda = *((uint16_t *) BIOS_EBDA_PTR) * 0x10;
44
}
44
}
45
 
45
 
46
 /** @}
46
 /** @}
47
 */
47
 */
48
 
48