Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 1790 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1789
Line 25... Line 25...
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
#
27
#
28
 
28
 
29
#include <arch/boot/boot.h>
29
#include <arch/boot/boot.h>
30
#include <arch/register.h>
30
#include <arch/regdef.h>
31
 
31
 
32
.register %g2, #scratch
32
.register %g2, #scratch
33
.register %g3, #scratch
33
.register %g3, #scratch
34
.register %g6, #scratch
34
.register %g6, #scratch
35
.register %g7, #scratch
35
.register %g7, #scratch
36
 
36
 
37
.section K_TEXT_START, "ax"
37
.section K_TEXT_START, "ax"
38
 
38
 
39
/*
39
/*
40
 * Here is where the kernel is passed control.
40
 * Here is where the kernel is passed control
-
 
41
 * from the boot loader.
41
 */
42
 */
42
 
43
 
43
.global kernel_image_start
44
.global kernel_image_start
44
kernel_image_start:
45
kernel_image_start:
45
	flushw				! flush all but the active register window
46
	flushw				! flush all but the active register window