Changeset 0af4f9e in mainline


Ignore:
Timestamp:
2008-06-14T20:48:41Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c711efe
Parents:
3759681
Message:

Issue a sparc64 write barrier before passing control from the loader to
the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/asm.S

    r3759681 r0af4f9e  
    9999
    100100jump_to_kernel:
     101        /*
     102         * Make sure that the code we have moved has drained to main memory.
     103         * We have a reason to assume that the I-cache does not include the
     104         * code to which we are going to pass control. Hence no I-cache
     105         * invalidation.
     106         */
     107        membar #StoreStore
     108
    101109        mov %o0, %l1
    102110        mov %o1, %o0
Note: See TracChangeset for help on using the changeset viewer.