Subversion Repositories HelenOS-historic

Rev

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

Rev 207 Rev 210
Line 39... Line 39...
39
{
39
{
40
    ofw_chosen = ofw_find_device("/chosen");
40
    ofw_chosen = ofw_find_device("/chosen");
41
    if (ofw_chosen == -1)
41
    if (ofw_chosen == -1)
42
        ofw_done();
42
        ofw_done();
43
   
43
   
44
    if (ofw_call("getprop", 4, 1, ofw_chosen, "stdout", &ofw_stdout, sizeof(ofw_stdout)) <= 0)
44
    if (ofw_get_property(ofw_chosen, "stdout",  &ofw_stdout, sizeof(ofw_stdout)) <= 0)
45
        ofw_stdout = 0;
45
        ofw_stdout = 0;
46
}
46
}
47
 
47
 
48
void ofw_done(void)
48
void ofw_done(void)
49
{
49
{