chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a676d
)
put panic_address in comments for use with crashread
author
ian
<ian>
Sat, 12 Jan 2008 03:31:21 +0000
(
03:31
+0000)
committer
ian
<ian>
Sat, 12 Jan 2008 03:31:21 +0000
(
03:31
+0000)
cebpic/morse-generator
patch
|
blob
|
history
diff --git
a/cebpic/morse-generator
b/cebpic/morse-generator
index 622ba7a82dfbe3cb8e8804710464c4d2f97a2171..590f5e4178f91a18970535c4792197803a4fd7ae 100755
(executable)
--- a/
cebpic/morse-generator
+++ b/
cebpic/morse-generator
@@
-152,8
+152,8
@@
while (<>) {
print("morse_$morse_name db @data\n") or die $!
if $which eq 'asm';
- printf("morse_$morse_name equ morse_messages_start+0x%x\n",
- $bytes) or die $!
+ printf("morse_$morse_name equ morse_messages_start+0x%x
; panic_address=%x
\n",
+ $bytes
, $bytes/4
) or die $!
if $which eq 'inc';
$bytes += scalar @data;