~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to lib/mips/relocator_asm.S

  • Committer: Bazaar Package Importer
  • Author(s): Felix Zielcke, Robert Millan, Felix Zielcke
  • Date: 2010-01-26 19:26:25 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126192625-coq6czap2ofjollf
Tags: 1.98~20100126-1
* New Bazaar snapshot.
  - Includes mipsel-yeeloong port.

[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.

[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
* Ship grub-bin2h and grub-script-check in grub-common.
* Terminate NEWS.Debian with a blank line like lintian would suggest
  if that check would be working correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        .p2align        4       /* force 16-byte alignment */
22
22
 
23
23
VARIABLE (grub_relocator32_forward_start)
24
 
        move $12, $9
25
 
        move $13, $10
 
24
        move $a0, $9
 
25
        move $a1, $10
26
26
 
27
27
copycont1:      
28
28
        lb $11,0($8)
32
32
        addiu $10, $10, 0xffff
33
33
        bne $10, $0, copycont1
34
34
 
35
 
        move $9, $12
36
 
        move $10, $13
37
 
cachecont1a:    
38
 
        cache 1,0($12)
39
 
        addiu $12, $12, 0x1
40
 
        addiu $13, $13, 0xffff
41
 
        bne $13, $0, cachecont1a
42
 
 
43
 
        sync
44
 
 
45
 
        move $12, $9
46
 
        move $13, $10
47
 
cachecont1b:    
48
 
        cache 0,0($12)
49
 
        addiu $12, $12, 0x1
50
 
        addiu $13, $13, 0xffff
51
 
        bne $13, $0, cachecont1b
52
 
 
53
 
        sync
 
35
#include "../../kern/mips/cache_flush.S"
54
36
 
55
37
VARIABLE (grub_relocator32_forward_end)
56
38
 
57
39
VARIABLE (grub_relocator32_backward_start)
58
 
        move $12, $9
59
 
        move $13, $10
 
40
        move $a0, $9
 
41
        move $a1, $10
60
42
 
61
43
        addu $9, $9, $10
62
44
        addu $8, $8, $10
71
53
        addiu $10, 0xffff
72
54
        bne $10, $0, copycont2
73
55
 
74
 
        move $9, $12
75
 
        move $10, $13
76
 
cachecont2a:    
77
 
        cache 1,0($12)
78
 
        addiu $12, $12, 0x1
79
 
        addiu $13, $13, 0xffff
80
 
        bne $13, $0, cachecont2a
81
 
 
82
 
        sync
83
 
 
84
 
        move $12, $9
85
 
        move $13, $10
86
 
cachecont2b:    
87
 
        cache 0,0($12)
88
 
        addiu $12, $12, 0x1
89
 
        addiu $13, $13, 0xffff
90
 
        bne $13, $0, cachecont2b
91
 
 
92
 
        sync
 
56
#include "../../kern/mips/cache_flush.S"
 
57
 
93
58
VARIABLE (grub_relocator32_backward_end)