view packages/hal/sh/dreamcast/current/src/boot.S @ 3292:7f8e529b4d82 default tip

Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
author vae
date Wed, 29 Apr 2015 23:31:48 +0000
parents 00f02cd81799
children
line wrap: on
line source

#------------------------------------------------------------------------------
# Dreamcast CD-ROM Boot entry

#include <cyg/hal/arch.inc>
	
	.section .entry,"ax"
	.org	0
FUNC_START(_dc_entry)
	mov.l	$reset,r0
	jmp	@r0
	nop
	.align	2
$reset:
	.long	CYG_LABEL_DEFN(_reset)