summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332/start/ram_init.sed
blob: ae664ca32d12223af77b44d80c701a343102b16b (plain) (blame)
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
1 {
i\
#include <efi332.h>\
#define ASM\
#include "sim.h"\
\
/* This file is automatically generated from EFI332_crt0.c -- DO NOT EDIT */\
\
/* note: For one reason or another, I could not get '|' (bit-or) to\
   work in the version of gas I'm using. I've replaced them with \
   '+' (addition) for this file. */\
\
	.text\
\

D;
};
/include in ram_init.S/,/end include in ram_init.S/ {
/\*.*= *\(.*\)/ {
s/*/	.org	/
h;
s/=.*//
P;
g;
/(.*short int)/ s/.*short int)/	.short	/
/(.*char)/ s/.*char)/	.byte	/
s/\/\*.*\*\///
t dumby
:dumby
s/;//;
t next
N;
s/ *\/\*.*\*\/ *//
t dumby
b dumby
:next
s/	/ /g
s/ /	/
s/ *\n *//g
s/|/+/g
P;
D;
}
P;
D;
}
D;