Commit b6e27b19 authored by Greg Ungerer's avatar Greg Ungerer Committed by Jeff Garzik

[PATCH] m68knommu/pilot startup copy init segment to RAM

The m68knommu/pilot startup code is not copying the init segment to
RAM currently. Fix it to copy all of the data and init sections to RAM.
parent 9c7535e4
...@@ -136,10 +136,10 @@ L2: ...@@ -136,10 +136,10 @@ L2:
cmpal %a1, %a2 cmpal %a1, %a2
bhi L2 bhi L2
/* Copy data segment from ROM to RAM */ /* Copy data+init segment from ROM to RAM */
moveal #_etext, %a0 moveal #_etext, %a0
moveal #_sdata, %a1 moveal #_sdata, %a1
moveal #_edata, %a2 moveal #__init_end, %a2
DBG_PUTC('D') DBG_PUTC('D')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment