~ubuntu-branches/ubuntu/lucid/grub2/lucid

« back to all changes in this revision

Viewing changes to kern/powerpc/ieee1275/crt0.S

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2008-01-28 00:01:11 UTC
  • mto: (17.4.1 lenny) (1.10.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080128000111-0764agvqzg601o1d
Tags: upstream-1.95+20080128
ImportĀ upstreamĀ versionĀ 1.95+20080128

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* crt0.S - Startup code for the PowerPC.  */
2
2
/*
3
3
 *  GRUB  --  GRand Unified Bootloader
4
 
 *  Copyright (C) 2003,2004,2005,2007  Free Software Foundation, Inc.
 
4
 *  Copyright (C) 2003,2004,2005,2007,2008  Free Software Foundation, Inc.
5
5
 *
6
6
 *  GRUB is free software: you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
38
38
2:      stwu    2, 4(6) /* We know r2 is already 0 from above.  */
39
39
        bdnz    2b
40
40
 
 
41
        /* Store r5 in grub_ieee1275_entry_fn.  */
 
42
        lis     9, grub_ieee1275_entry_fn@ha
 
43
        stw     5, grub_ieee1275_entry_fn@l(9)
 
44
 
41
45
        bl      cmain
42
46
1:      b       1b