public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60d616
)
trs80: fix crash on boot when we zap the stack
author
Alan Cox
<alan@linux.intel.com>
Fri, 15 May 2015 21:35:17 +0000
(22:35 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 15 May 2015 21:35:17 +0000
(22:35 +0100)
Kernel/platform-trs80/crt0.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-trs80/crt0.s
b/Kernel/platform-trs80/crt0.s
index
dad4312
..
234ad1a
100644
(file)
--- a/
Kernel/platform-trs80/crt0.s
+++ b/
Kernel/platform-trs80/crt0.s
@@
-42,7
+42,6
@@
start:
ld sp, #kstack_top
; move the common memory where it belongs
ld hl, #s__DATA
- push hl
ld de, #s__COMMONMEM
ld bc, #l__COMMONMEM
ldir
@@
-51,7
+50,7
@@
start:
ld bc, #l__DISCARD
ldir
; then zero the data area
-
pop hl ;
s__DATA
+
ld hl, #
s__DATA
ld de, #s__DATA + 1
ld bc, #l__DATA - 1
ld (hl), #0