summaryrefslogtreecommitdiffstats
path: root/kexec/arch/sh/netbsd_booter.S
blob: d4d16dfaec7f3f7523be7304a613ab3caa2b335e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
	.globl	netbsd_booter
netbsd_booter:
	mov.l	ccr,r0
	mov	#0,r1
	mov.l	r1,@r0
	nop
	nop
	nop
	nop
	nop
	nop
	nop
	nop
	nop
	nop
	mova	netbsd_start,r0
	mov.l	@r0,r1
	add	#4,r0
	mov.l	@r0,r4		! howto
	add	#4,r0
	mov	r0,r5		! bootinfo
	jmp	@r1
	nop
	nop
	nop
	.align 4
ccr:	.long 0xff00001c

	.align 8
netbsd_start:
	.long 0x8c001000
	.long 0x200		! howto
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo
	.long 0			! bootinfo