Changeset 85f2064 in mainline for boot/arch


Ignore:
Timestamp:
2012-04-12T14:21:46Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb8f69d
Parents:
751cabc (diff), d11a181 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Location:
boot/arch
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/Makefile.inc

    r751cabc r85f2064  
    3939BITS = 32
    4040ENDIANESS = LE
     41EXTRA_CFLAGS = -march=armv4
    4142
    4243RD_SRVS_ESSENTIAL += \
     
    4950SOURCES = \
    5051        arch/$(BARCH)/src/asm.S \
     52        arch/$(BARCH)/src/eabi.S \
    5153        arch/$(BARCH)/src/main.c \
    5254        arch/$(BARCH)/src/mm.c \
  • boot/arch/arm32/src/asm.S

    r751cabc r85f2064  
    6060        # before passing control to the copied code.
    6161        #
    62         bx r0
     62        mov pc, r0
  • boot/arch/ia64/src/main.c

    r751cabc r85f2064  
    189189        printf("\nInflating components ... ");
    190190       
     191        /*
     192         * We will use the next available address for a copy of each component to
     193         * make sure that inflate() works with disjunctive memory regions.
     194         */
     195        top = ALIGN_UP(top, PAGE_SIZE);
     196
    191197        for (i = cnt; i > 0; i--) {
    192198                printf("%s ", components[i - 1].name);
    193199               
    194                 int err = inflate(components[i - 1].start, components[i - 1].size,
     200                /*
     201                 * Copy the component to a location which is guaranteed not to
     202                 * overlap with the destination for inflate().
     203                 */
     204                memmove((void *) top, components[i - 1].start, components[i - 1].size);
     205               
     206                int err = inflate((void *) top, components[i - 1].size,
    195207                    dest[i - 1], components[i - 1].inflated);
    196208               
Note: See TracChangeset for help on using the changeset viewer.