/[grub]/grub2/boot/powerpc/ieee1275/ieee1275.c
ViewVC logotype

Diff of /grub2/boot/powerpc/ieee1275/ieee1275.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by hollisb, Fri Oct 29 02:45:14 2004 UTC revision 1.9 by hollisb, Mon Jan 3 21:48:45 2005 UTC
# Line 1  Line 1 
1  /* ieee1275.c - Access the Open Firmware client interface.  */  /* ieee1275.c - Access the Open Firmware client interface.  */
2  /*  /*
3   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
4   *  Copyright (C) 2003, 2004  Free Software Foundation, Inc.   *  Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
5   *   *
6   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 482  grub_ieee1275_set_color (grub_ieee1275_i Line 482  grub_ieee1275_set_color (grub_ieee1275_i
482        
483    return 0;    return 0;
484  }  }
485    
486    int
487    grub_ieee1275_milliseconds (grub_uint32_t *msecs)
488    {
489      struct milliseconds_args {
490        struct grub_ieee1275_common_hdr common;
491        grub_uint32_t msecs;
492      } args;
493    
494      INIT_IEEE1275_COMMON (&args.common, "milliseconds", 0, 1);
495    
496      if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
497        return -1;
498      *msecs = args.msecs;
499      return 0;
500    }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26