-
Notifications
You must be signed in to change notification settings - Fork 1
/
init_rec_sysregs.v
67 lines (63 loc) · 2.47 KB
/
init_rec_sysregs.v
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Require Import CodeDeps.
Require Import Ident.
Local Open Scope Z_scope.
Definition _i := 1%positive.
Definition _mpidr := 2%positive.
Definition _rec := 3%positive.
Definition _rec__1 := 4%positive.
Definition _ret := 5%positive.
Definition init_rec_sysregs_body :=
(Ssequence
(Scall None
(Evar _set_rec_sysregs (Tfunction
(Tcons (tptr Tvoid)
(Tcons tuint (Tcons tulong Tnil))) tvoid
cc_default))
((Etempvar _rec (tptr Tvoid)) ::
(Econst_int (Int.repr 39) tuint) ::
(Econst_long (Int64.repr 64) tulong) :: nil))
(Ssequence
(Scall None
(Evar _set_rec_sysregs (Tfunction
(Tcons (tptr Tvoid)
(Tcons tuint (Tcons tulong Tnil))) tvoid
cc_default))
((Etempvar _rec (tptr Tvoid)) ::
(Econst_int (Int.repr 47) tuint) ::
(Econst_long (Int64.repr 12912760) tulong) :: nil))
(Ssequence
(Scall None
(Evar _set_rec_sysregs (Tfunction
(Tcons (tptr Tvoid)
(Tcons tuint (Tcons tulong Tnil))) tvoid
cc_default))
((Etempvar _rec (tptr Tvoid)) ::
(Econst_int (Int.repr 65) tuint) ::
(Econst_long (Int64.repr 4096) tulong) :: nil))
(Ssequence
(Scall None
(Evar _set_rec_sysregs (Tfunction
(Tcons (tptr Tvoid)
(Tcons tuint (Tcons tulong Tnil))) tvoid
cc_default))
((Etempvar _rec (tptr Tvoid)) ::
(Econst_int (Int.repr 72) tuint) :: (Etempvar _mpidr tulong) ::
nil))
(Scall None
(Evar _set_rec_sysregs (Tfunction
(Tcons (tptr Tvoid)
(Tcons tuint (Tcons tulong Tnil))) tvoid
cc_default))
((Etempvar _rec (tptr Tvoid)) ::
(Econst_int (Int.repr 69) tuint) ::
(Econst_long (Int64.repr 3072) tulong) :: nil))))))
.
Definition f_init_rec_sysregs := {|
fn_return := tvoid;
fn_callconv := cc_default;
fn_params := ((_rec, (tptr Tvoid)) ::
(_mpidr, tulong) :: nil);
fn_vars := nil;
fn_temps := nil;
fn_body := init_rec_sysregs_body
|}.