about summary refs log tree commit diff stats
path: root/clean
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-23 10:39:54 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-23 10:39:54 -0800
commit286ccc40e0c0ec2f897cd93a730ea8bacc84cf3e (patch)
treeefc200905faf736d3d5e61c46c6259215e136bed /clean
parent2ff765b6586d6d09ca27e10a17c09796624e769d (diff)
downloadmu-286ccc40e0c0ec2f897cd93a730ea8bacc84cf3e.tar.gz
7388 - snapshot initializing interrupt table
I'm now back at the state of commit 7382 (including 7376). The existing
print to screen surprisingly seems to work without reset-looping, but when
I step through I notice that the lidt isn't doing what I expect.

Desired: at address 0x7cce, the processor executes:
  0f 01 1e 00 7f  # lidt ds:*idt_descriptor

Observed: at address 0x7cce, the processor executes:
  0f 01 1e        # lidt ds:*esi
As a result the next instruction is:
  00 7f fb

So the `fb` isn't interpreted to enable interrupts. So the problem of commit
7376 is latent.

Past this point the instruction stream is lined up again, and everything
occurs as it should. Purely by chance.

I fully expect all hell to break loose again, like it did in commit 7376,
once I debug the lidt encoding. There's still something I don't understand
about enabling interrupts. Perhaps I need to fill in more entries in the
table.
Diffstat (limited to 'clean')
0 files changed, 0 insertions, 0 deletions
l Vetter <jubalh@iodoru.org> 2020-07-07 13:53:30 +0200 committer Michael Vetter <jubalh@iodoru.org> 2020-07-07 13:53:30 +0200 Revert "Apply coding style"' href='/danisanti/profani-tty/commit/tests/unittests/test_cmd_join.c?id=a4cadf78faabc157e5db00e42302d495bba432c0'>a4cadf78 ^
f3fe1d34 ^
dd1ee18c ^
dd1ee18c ^
fb347855 ^
2af0d38e ^
f3fe1d34 ^
81190251 ^

a2726b6a ^

f3fe1d34 ^
3bb1f124 ^
f3fe1d34 ^


81190251 ^
f3fe1d34 ^
f3fe1d34 ^

a2726b6a ^

f3fe1d34 ^



a2726b6a ^

f3fe1d34 ^



a2726b6a ^

f3fe1d34 ^



a2726b6a ^

a94814f0 ^
a2726b6a ^
a94814f0 ^
3bb1f124 ^
a94814f0 ^



81190251 ^
a94814f0 ^
a94814f0 ^

a2726b6a ^

baf46c6a ^
302d0dd5 ^
a2726b6a ^

302d0dd5 ^
a2726b6a ^

302d0dd5 ^
07cc19ce ^
baf46c6a ^


3bb1f124 ^
88f423af ^
baf46c6a ^
aa4ffa7e ^





baf46c6a ^
81190251 ^
baf46c6a ^
fd18230c ^

baf46c6a ^

a2726b6a ^

f3fe1d34 ^
302d0dd5 ^
a2726b6a ^


302d0dd5 ^
07cc19ce ^
f3fe1d34 ^
dd1ee18c ^
f3fe1d34 ^
3bb1f124 ^
88f423af ^
aa4ffa7e ^


f3fe1d34 ^
aa4ffa7e ^


baf46c6a ^
81190251 ^
f3fe1d34 ^
fd18230c ^

f3fe1d34 ^
bafc0f25 ^
a2726b6a ^

bafc0f25 ^
302d0dd5 ^
a2726b6a ^
302d0dd5 ^
a2726b6a ^
302d0dd5 ^
07cc19ce ^
bafc0f25 ^


3bb1f124 ^
88f423af ^
bafc0f25 ^
aa4ffa7e ^





bafc0f25 ^
81190251 ^
bafc0f25 ^
fd18230c ^

bafc0f25 ^
15fce2cf ^
a2726b6a ^

15fce2cf ^
302d0dd5 ^
a2726b6a ^

302d0dd5 ^

a2726b6a ^

302d0dd5 ^
07cc19ce ^
15fce2cf ^


3bb1f124 ^
88f423af ^
aa4ffa7e ^


15fce2cf ^
aa4ffa7e ^


15fce2cf ^
81190251 ^
15fce2cf ^
fd18230c ^

15fce2cf ^
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179