Project

General

Profile

Statistics
| Revision:

root / lab3 / trace.txt @ 13

History | View | Annotate | Download (42.1 KB)

1
@lcflib.a:2019, lcf_start
2
  kbd_test_poll()
3
  @lab3.c:139, kbd_test_poll
4
    sys_outb(0x64, 0x20)
5
  > sys_outb(0x64, 0x20 = 0b00100000)
6
  @lab3.c:141, kbd_test_poll
7
    sys_outb(0x64, 0x60)
8
  > sys_outb(0x64, 0x60 = 0b01100000)
9
  @lab3.c:142, kbd_test_poll
10
    sys_inb(0x60, &key)
11
  > sys_inb(0x60, addr: 0xeffff810)
12
  < sys_inb(0x60, addr: 0xeffff810 [0x46 = 0b01000110])
13
  @lab3.c:145, kbd_test_poll
14
    micros_to_ticks(DELAY_US)
15
  @lab3.c:145, kbd_test_poll
16
    tickdelay(micros_to_ticks(DELAY_US))
17
  > tickdelay(1 [16.7 ms])
18
  @lab3.c:149, kbd_test_poll
19
    sys_inb(0x64, &scancode)
20
  > sys_inb(0x64, addr: 0x81978f8)
21
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
22
  @lab3.c:145, kbd_test_poll
23
    micros_to_ticks(DELAY_US)
24
  @lab3.c:145, kbd_test_poll
25
    tickdelay(micros_to_ticks(DELAY_US))
26
  > tickdelay(1 [16.7 ms])
27
  @lab3.c:149, kbd_test_poll
28
    sys_inb(0x64, &scancode)
29
  > sys_inb(0x64, addr: 0x81978f8)
30
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
31
  @lab3.c:154, kbd_test_poll
32
    sys_inb(0x60, &scancode)
33
  > sys_inb(0x60, addr: 0x81978f8)
34
  < sys_inb(0x60, addr: 0x81978f8 [0x9c = 0b10011100])
35
  @lab3.c:157, kbd_test_poll
36
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
37
    "Breakcode: 0x9c"
38
  < kbd_print_scancode(false, 1, addr: 0xeffff80e [0x9c]) -> (ret: 0)
39
  @lab3.c:145, kbd_test_poll
40
    micros_to_ticks(DELAY_US)
41
  @lab3.c:145, kbd_test_poll
42
    tickdelay(micros_to_ticks(DELAY_US))
43
  > tickdelay(1 [16.7 ms])
44
  @lab3.c:149, kbd_test_poll
45
    sys_inb(0x64, &scancode)
46
  > sys_inb(0x64, addr: 0x81978f8)
47
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
48
  @lab3.c:145, kbd_test_poll
49
    micros_to_ticks(DELAY_US)
50
  @lab3.c:145, kbd_test_poll
51
    tickdelay(micros_to_ticks(DELAY_US))
52
  > tickdelay(1 [16.7 ms])
53
  @lab3.c:149, kbd_test_poll
54
    sys_inb(0x64, &scancode)
55
  > sys_inb(0x64, addr: 0x81978f8)
56
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
57
  @lab3.c:145, kbd_test_poll
58
    micros_to_ticks(DELAY_US)
59
  @lab3.c:145, kbd_test_poll
60
    tickdelay(micros_to_ticks(DELAY_US))
61
  > tickdelay(1 [16.7 ms])
62
  @lab3.c:149, kbd_test_poll
63
    sys_inb(0x64, &scancode)
64
  > sys_inb(0x64, addr: 0x81978f8)
65
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
66
  @lab3.c:145, kbd_test_poll
67
    micros_to_ticks(DELAY_US)
68
  @lab3.c:145, kbd_test_poll
69
    tickdelay(micros_to_ticks(DELAY_US))
70
  > tickdelay(1 [16.7 ms])
71
  @lab3.c:149, kbd_test_poll
72
    sys_inb(0x64, &scancode)
73
  > sys_inb(0x64, addr: 0x81978f8)
74
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
75
  @lab3.c:145, kbd_test_poll
76
    micros_to_ticks(DELAY_US)
77
  @lab3.c:145, kbd_test_poll
78
    tickdelay(micros_to_ticks(DELAY_US))
79
  > tickdelay(1 [16.7 ms])
80
  @lab3.c:149, kbd_test_poll
81
    sys_inb(0x64, &scancode)
82
  > sys_inb(0x64, addr: 0x81978f8)
83
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
84
  @lab3.c:145, kbd_test_poll
85
    micros_to_ticks(DELAY_US)
86
  @lab3.c:145, kbd_test_poll
87
    tickdelay(micros_to_ticks(DELAY_US))
88
  > tickdelay(1 [16.7 ms])
89
  @lab3.c:149, kbd_test_poll
90
    sys_inb(0x64, &scancode)
91
  > sys_inb(0x64, addr: 0x81978f8)
92
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
93
  @lab3.c:145, kbd_test_poll
94
    micros_to_ticks(DELAY_US)
95
  @lab3.c:145, kbd_test_poll
96
    tickdelay(micros_to_ticks(DELAY_US))
97
  > tickdelay(1 [16.7 ms])
98
  @lab3.c:149, kbd_test_poll
99
    sys_inb(0x64, &scancode)
100
  > sys_inb(0x64, addr: 0x81978f8)
101
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
102
  @lab3.c:145, kbd_test_poll
103
    micros_to_ticks(DELAY_US)
104
  @lab3.c:145, kbd_test_poll
105
    tickdelay(micros_to_ticks(DELAY_US))
106
  > tickdelay(1 [16.7 ms])
107
  @lab3.c:149, kbd_test_poll
108
    sys_inb(0x64, &scancode)
109
  > sys_inb(0x64, addr: 0x81978f8)
110
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
111
  @lab3.c:145, kbd_test_poll
112
    micros_to_ticks(DELAY_US)
113
  @lab3.c:145, kbd_test_poll
114
    tickdelay(micros_to_ticks(DELAY_US))
115
  > tickdelay(1 [16.7 ms])
116
  @lab3.c:149, kbd_test_poll
117
    sys_inb(0x64, &scancode)
118
  > sys_inb(0x64, addr: 0x81978f8)
119
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
120
  @lab3.c:145, kbd_test_poll
121
    micros_to_ticks(DELAY_US)
122
  @lab3.c:145, kbd_test_poll
123
    tickdelay(micros_to_ticks(DELAY_US))
124
  > tickdelay(1 [16.7 ms])
125
  @lab3.c:149, kbd_test_poll
126
    sys_inb(0x64, &scancode)
127
  > sys_inb(0x64, addr: 0x81978f8)
128
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
129
  @lab3.c:145, kbd_test_poll
130
    micros_to_ticks(DELAY_US)
131
  @lab3.c:145, kbd_test_poll
132
    tickdelay(micros_to_ticks(DELAY_US))
133
  > tickdelay(1 [16.7 ms])
134
  @lab3.c:149, kbd_test_poll
135
    sys_inb(0x64, &scancode)
136
  > sys_inb(0x64, addr: 0x81978f8)
137
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
138
  @lab3.c:145, kbd_test_poll
139
    micros_to_ticks(DELAY_US)
140
  @lab3.c:145, kbd_test_poll
141
    tickdelay(micros_to_ticks(DELAY_US))
142
  > tickdelay(1 [16.7 ms])
143
  @lab3.c:149, kbd_test_poll
144
    sys_inb(0x64, &scancode)
145
  > sys_inb(0x64, addr: 0x81978f8)
146
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
147
  @lab3.c:145, kbd_test_poll
148
    micros_to_ticks(DELAY_US)
149
  @lab3.c:145, kbd_test_poll
150
    tickdelay(micros_to_ticks(DELAY_US))
151
  > tickdelay(1 [16.7 ms])
152
  @lab3.c:149, kbd_test_poll
153
    sys_inb(0x64, &scancode)
154
  > sys_inb(0x64, addr: 0x81978f8)
155
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
156
  @lab3.c:145, kbd_test_poll
157
    micros_to_ticks(DELAY_US)
158
  @lab3.c:145, kbd_test_poll
159
    tickdelay(micros_to_ticks(DELAY_US))
160
  > tickdelay(1 [16.7 ms])
161
  @lab3.c:149, kbd_test_poll
162
    sys_inb(0x64, &scancode)
163
  > sys_inb(0x64, addr: 0x81978f8)
164
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
165
  @lab3.c:145, kbd_test_poll
166
    micros_to_ticks(DELAY_US)
167
  @lab3.c:145, kbd_test_poll
168
    tickdelay(micros_to_ticks(DELAY_US))
169
  > tickdelay(1 [16.7 ms])
170
  @lab3.c:149, kbd_test_poll
171
    sys_inb(0x64, &scancode)
172
  > sys_inb(0x64, addr: 0x81978f8)
173
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
174
  @lab3.c:145, kbd_test_poll
175
    micros_to_ticks(DELAY_US)
176
  @lab3.c:145, kbd_test_poll
177
    tickdelay(micros_to_ticks(DELAY_US))
178
  > tickdelay(1 [16.7 ms])
179
  @lab3.c:149, kbd_test_poll
180
    sys_inb(0x64, &scancode)
181
  > sys_inb(0x64, addr: 0x81978f8)
182
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
183
  @lab3.c:145, kbd_test_poll
184
    micros_to_ticks(DELAY_US)
185
  @lab3.c:145, kbd_test_poll
186
    tickdelay(micros_to_ticks(DELAY_US))
187
  > tickdelay(1 [16.7 ms])
188
  @lab3.c:149, kbd_test_poll
189
    sys_inb(0x64, &scancode)
190
  > sys_inb(0x64, addr: 0x81978f8)
191
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
192
  @lab3.c:145, kbd_test_poll
193
    micros_to_ticks(DELAY_US)
194
  @lab3.c:145, kbd_test_poll
195
    tickdelay(micros_to_ticks(DELAY_US))
196
  > tickdelay(1 [16.7 ms])
197
  @lab3.c:149, kbd_test_poll
198
    sys_inb(0x64, &scancode)
199
  > sys_inb(0x64, addr: 0x81978f8)
200
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
201
  @lab3.c:145, kbd_test_poll
202
    micros_to_ticks(DELAY_US)
203
  @lab3.c:145, kbd_test_poll
204
    tickdelay(micros_to_ticks(DELAY_US))
205
  > tickdelay(1 [16.7 ms])
206
  @lab3.c:149, kbd_test_poll
207
    sys_inb(0x64, &scancode)
208
  > sys_inb(0x64, addr: 0x81978f8)
209
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
210
  @lab3.c:145, kbd_test_poll
211
    micros_to_ticks(DELAY_US)
212
  @lab3.c:145, kbd_test_poll
213
    tickdelay(micros_to_ticks(DELAY_US))
214
  > tickdelay(1 [16.7 ms])
215
  @lab3.c:149, kbd_test_poll
216
    sys_inb(0x64, &scancode)
217
  > sys_inb(0x64, addr: 0x81978f8)
218
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
219
  @lab3.c:145, kbd_test_poll
220
    micros_to_ticks(DELAY_US)
221
  @lab3.c:145, kbd_test_poll
222
    tickdelay(micros_to_ticks(DELAY_US))
223
  > tickdelay(1 [16.7 ms])
224
  @lab3.c:149, kbd_test_poll
225
    sys_inb(0x64, &scancode)
226
  > sys_inb(0x64, addr: 0x81978f8)
227
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
228
  @lab3.c:145, kbd_test_poll
229
    micros_to_ticks(DELAY_US)
230
  @lab3.c:145, kbd_test_poll
231
    tickdelay(micros_to_ticks(DELAY_US))
232
  > tickdelay(1 [16.7 ms])
233
  @lab3.c:149, kbd_test_poll
234
    sys_inb(0x64, &scancode)
235
  > sys_inb(0x64, addr: 0x81978f8)
236
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
237
  @lab3.c:145, kbd_test_poll
238
    micros_to_ticks(DELAY_US)
239
  @lab3.c:145, kbd_test_poll
240
    tickdelay(micros_to_ticks(DELAY_US))
241
  > tickdelay(1 [16.7 ms])
242
  @lab3.c:149, kbd_test_poll
243
    sys_inb(0x64, &scancode)
244
  > sys_inb(0x64, addr: 0x81978f8)
245
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
246
  @lab3.c:145, kbd_test_poll
247
    micros_to_ticks(DELAY_US)
248
  @lab3.c:145, kbd_test_poll
249
    tickdelay(micros_to_ticks(DELAY_US))
250
  > tickdelay(1 [16.7 ms])
251
  @lab3.c:149, kbd_test_poll
252
    sys_inb(0x64, &scancode)
253
  > sys_inb(0x64, addr: 0x81978f8)
254
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
255
  @lab3.c:145, kbd_test_poll
256
    micros_to_ticks(DELAY_US)
257
  @lab3.c:145, kbd_test_poll
258
    tickdelay(micros_to_ticks(DELAY_US))
259
  > tickdelay(1 [16.7 ms])
260
  @lab3.c:149, kbd_test_poll
261
    sys_inb(0x64, &scancode)
262
  > sys_inb(0x64, addr: 0x81978f8)
263
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
264
  @lab3.c:145, kbd_test_poll
265
    micros_to_ticks(DELAY_US)
266
  @lab3.c:145, kbd_test_poll
267
    tickdelay(micros_to_ticks(DELAY_US))
268
  > tickdelay(1 [16.7 ms])
269
  @lab3.c:149, kbd_test_poll
270
    sys_inb(0x64, &scancode)
271
  > sys_inb(0x64, addr: 0x81978f8)
272
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
273
  @lab3.c:145, kbd_test_poll
274
    micros_to_ticks(DELAY_US)
275
  @lab3.c:145, kbd_test_poll
276
    tickdelay(micros_to_ticks(DELAY_US))
277
  > tickdelay(1 [16.7 ms])
278
  @lab3.c:149, kbd_test_poll
279
    sys_inb(0x64, &scancode)
280
  > sys_inb(0x64, addr: 0x81978f8)
281
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
282
  @lab3.c:145, kbd_test_poll
283
    micros_to_ticks(DELAY_US)
284
  @lab3.c:145, kbd_test_poll
285
    tickdelay(micros_to_ticks(DELAY_US))
286
  > tickdelay(1 [16.7 ms])
287
  @lab3.c:149, kbd_test_poll
288
    sys_inb(0x64, &scancode)
289
  > sys_inb(0x64, addr: 0x81978f8)
290
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
291
  @lab3.c:145, kbd_test_poll
292
    micros_to_ticks(DELAY_US)
293
  @lab3.c:145, kbd_test_poll
294
    tickdelay(micros_to_ticks(DELAY_US))
295
  > tickdelay(1 [16.7 ms])
296
  @lab3.c:149, kbd_test_poll
297
    sys_inb(0x64, &scancode)
298
  > sys_inb(0x64, addr: 0x81978f8)
299
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
300
  @lab3.c:145, kbd_test_poll
301
    micros_to_ticks(DELAY_US)
302
  @lab3.c:145, kbd_test_poll
303
    tickdelay(micros_to_ticks(DELAY_US))
304
  > tickdelay(1 [16.7 ms])
305
  @lab3.c:149, kbd_test_poll
306
    sys_inb(0x64, &scancode)
307
  > sys_inb(0x64, addr: 0x81978f8)
308
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
309
  @lab3.c:145, kbd_test_poll
310
    micros_to_ticks(DELAY_US)
311
  @lab3.c:145, kbd_test_poll
312
    tickdelay(micros_to_ticks(DELAY_US))
313
  > tickdelay(1 [16.7 ms])
314
  @lab3.c:149, kbd_test_poll
315
    sys_inb(0x64, &scancode)
316
  > sys_inb(0x64, addr: 0x81978f8)
317
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
318
  @lab3.c:145, kbd_test_poll
319
    micros_to_ticks(DELAY_US)
320
  @lab3.c:145, kbd_test_poll
321
    tickdelay(micros_to_ticks(DELAY_US))
322
  > tickdelay(1 [16.7 ms])
323
  @lab3.c:149, kbd_test_poll
324
    sys_inb(0x64, &scancode)
325
  > sys_inb(0x64, addr: 0x81978f8)
326
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
327
  @lab3.c:145, kbd_test_poll
328
    micros_to_ticks(DELAY_US)
329
  @lab3.c:145, kbd_test_poll
330
    tickdelay(micros_to_ticks(DELAY_US))
331
  > tickdelay(1 [16.7 ms])
332
  @lab3.c:149, kbd_test_poll
333
    sys_inb(0x64, &scancode)
334
  > sys_inb(0x64, addr: 0x81978f8)
335
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
336
  @lab3.c:145, kbd_test_poll
337
    micros_to_ticks(DELAY_US)
338
  @lab3.c:145, kbd_test_poll
339
    tickdelay(micros_to_ticks(DELAY_US))
340
  > tickdelay(1 [16.7 ms])
341
  @lab3.c:149, kbd_test_poll
342
    sys_inb(0x64, &scancode)
343
  > sys_inb(0x64, addr: 0x81978f8)
344
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
345
  @lab3.c:145, kbd_test_poll
346
    micros_to_ticks(DELAY_US)
347
  @lab3.c:145, kbd_test_poll
348
    tickdelay(micros_to_ticks(DELAY_US))
349
  > tickdelay(1 [16.7 ms])
350
  @lab3.c:149, kbd_test_poll
351
    sys_inb(0x64, &scancode)
352
  > sys_inb(0x64, addr: 0x81978f8)
353
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
354
  @lab3.c:145, kbd_test_poll
355
    micros_to_ticks(DELAY_US)
356
  @lab3.c:145, kbd_test_poll
357
    tickdelay(micros_to_ticks(DELAY_US))
358
  > tickdelay(1 [16.7 ms])
359
  @lab3.c:149, kbd_test_poll
360
    sys_inb(0x64, &scancode)
361
  > sys_inb(0x64, addr: 0x81978f8)
362
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
363
  @lab3.c:145, kbd_test_poll
364
    micros_to_ticks(DELAY_US)
365
  @lab3.c:145, kbd_test_poll
366
    tickdelay(micros_to_ticks(DELAY_US))
367
  > tickdelay(1 [16.7 ms])
368
  @lab3.c:149, kbd_test_poll
369
    sys_inb(0x64, &scancode)
370
  > sys_inb(0x64, addr: 0x81978f8)
371
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
372
  @lab3.c:145, kbd_test_poll
373
    micros_to_ticks(DELAY_US)
374
  @lab3.c:145, kbd_test_poll
375
    tickdelay(micros_to_ticks(DELAY_US))
376
  > tickdelay(1 [16.7 ms])
377
  @lab3.c:149, kbd_test_poll
378
    sys_inb(0x64, &scancode)
379
  > sys_inb(0x64, addr: 0x81978f8)
380
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
381
  @lab3.c:145, kbd_test_poll
382
    micros_to_ticks(DELAY_US)
383
  @lab3.c:145, kbd_test_poll
384
    tickdelay(micros_to_ticks(DELAY_US))
385
  > tickdelay(1 [16.7 ms])
386
  @lab3.c:149, kbd_test_poll
387
    sys_inb(0x64, &scancode)
388
  > sys_inb(0x64, addr: 0x81978f8)
389
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
390
  @lab3.c:145, kbd_test_poll
391
    micros_to_ticks(DELAY_US)
392
  @lab3.c:145, kbd_test_poll
393
    tickdelay(micros_to_ticks(DELAY_US))
394
  > tickdelay(1 [16.7 ms])
395
  @lab3.c:149, kbd_test_poll
396
    sys_inb(0x64, &scancode)
397
  > sys_inb(0x64, addr: 0x81978f8)
398
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
399
  @lab3.c:145, kbd_test_poll
400
    micros_to_ticks(DELAY_US)
401
  @lab3.c:145, kbd_test_poll
402
    tickdelay(micros_to_ticks(DELAY_US))
403
  > tickdelay(1 [16.7 ms])
404
  @lab3.c:149, kbd_test_poll
405
    sys_inb(0x64, &scancode)
406
  > sys_inb(0x64, addr: 0x81978f8)
407
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
408
  @lab3.c:145, kbd_test_poll
409
    micros_to_ticks(DELAY_US)
410
  @lab3.c:145, kbd_test_poll
411
    tickdelay(micros_to_ticks(DELAY_US))
412
  > tickdelay(1 [16.7 ms])
413
  @lab3.c:149, kbd_test_poll
414
    sys_inb(0x64, &scancode)
415
  > sys_inb(0x64, addr: 0x81978f8)
416
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
417
  @lab3.c:145, kbd_test_poll
418
    micros_to_ticks(DELAY_US)
419
  @lab3.c:145, kbd_test_poll
420
    tickdelay(micros_to_ticks(DELAY_US))
421
  > tickdelay(1 [16.7 ms])
422
  @lab3.c:149, kbd_test_poll
423
    sys_inb(0x64, &scancode)
424
  > sys_inb(0x64, addr: 0x81978f8)
425
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
426
  @lab3.c:145, kbd_test_poll
427
    micros_to_ticks(DELAY_US)
428
  @lab3.c:145, kbd_test_poll
429
    tickdelay(micros_to_ticks(DELAY_US))
430
  > tickdelay(1 [16.7 ms])
431
  @lab3.c:149, kbd_test_poll
432
    sys_inb(0x64, &scancode)
433
  > sys_inb(0x64, addr: 0x81978f8)
434
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
435
  @lab3.c:145, kbd_test_poll
436
    micros_to_ticks(DELAY_US)
437
  @lab3.c:145, kbd_test_poll
438
    tickdelay(micros_to_ticks(DELAY_US))
439
  > tickdelay(1 [16.7 ms])
440
  @lab3.c:149, kbd_test_poll
441
    sys_inb(0x64, &scancode)
442
  > sys_inb(0x64, addr: 0x81978f8)
443
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
444
  @lab3.c:145, kbd_test_poll
445
    micros_to_ticks(DELAY_US)
446
  @lab3.c:145, kbd_test_poll
447
    tickdelay(micros_to_ticks(DELAY_US))
448
  > tickdelay(1 [16.7 ms])
449
  @lab3.c:149, kbd_test_poll
450
    sys_inb(0x64, &scancode)
451
  > sys_inb(0x64, addr: 0x81978f8)
452
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
453
  @lab3.c:145, kbd_test_poll
454
    micros_to_ticks(DELAY_US)
455
  @lab3.c:145, kbd_test_poll
456
    tickdelay(micros_to_ticks(DELAY_US))
457
  > tickdelay(1 [16.7 ms])
458
  @lab3.c:149, kbd_test_poll
459
    sys_inb(0x64, &scancode)
460
  > sys_inb(0x64, addr: 0x81978f8)
461
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
462
  @lab3.c:145, kbd_test_poll
463
    micros_to_ticks(DELAY_US)
464
  @lab3.c:145, kbd_test_poll
465
    tickdelay(micros_to_ticks(DELAY_US))
466
  > tickdelay(1 [16.7 ms])
467
  @lab3.c:149, kbd_test_poll
468
    sys_inb(0x64, &scancode)
469
  > sys_inb(0x64, addr: 0x81978f8)
470
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
471
  @lab3.c:145, kbd_test_poll
472
    micros_to_ticks(DELAY_US)
473
  @lab3.c:145, kbd_test_poll
474
    tickdelay(micros_to_ticks(DELAY_US))
475
  > tickdelay(1 [16.7 ms])
476
  @lab3.c:149, kbd_test_poll
477
    sys_inb(0x64, &scancode)
478
  > sys_inb(0x64, addr: 0x81978f8)
479
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
480
  @lab3.c:145, kbd_test_poll
481
    micros_to_ticks(DELAY_US)
482
  @lab3.c:145, kbd_test_poll
483
    tickdelay(micros_to_ticks(DELAY_US))
484
  > tickdelay(1 [16.7 ms])
485
  @lab3.c:149, kbd_test_poll
486
    sys_inb(0x64, &scancode)
487
  > sys_inb(0x64, addr: 0x81978f8)
488
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
489
  @lab3.c:145, kbd_test_poll
490
    micros_to_ticks(DELAY_US)
491
  @lab3.c:145, kbd_test_poll
492
    tickdelay(micros_to_ticks(DELAY_US))
493
  > tickdelay(1 [16.7 ms])
494
  @lab3.c:149, kbd_test_poll
495
    sys_inb(0x64, &scancode)
496
  > sys_inb(0x64, addr: 0x81978f8)
497
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
498
  @lab3.c:145, kbd_test_poll
499
    micros_to_ticks(DELAY_US)
500
  @lab3.c:145, kbd_test_poll
501
    tickdelay(micros_to_ticks(DELAY_US))
502
  > tickdelay(1 [16.7 ms])
503
  @lab3.c:149, kbd_test_poll
504
    sys_inb(0x64, &scancode)
505
  > sys_inb(0x64, addr: 0x81978f8)
506
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
507
  @lab3.c:145, kbd_test_poll
508
    micros_to_ticks(DELAY_US)
509
  @lab3.c:145, kbd_test_poll
510
    tickdelay(micros_to_ticks(DELAY_US))
511
  > tickdelay(1 [16.7 ms])
512
  @lab3.c:149, kbd_test_poll
513
    sys_inb(0x64, &scancode)
514
  > sys_inb(0x64, addr: 0x81978f8)
515
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
516
  @lab3.c:145, kbd_test_poll
517
    micros_to_ticks(DELAY_US)
518
  @lab3.c:145, kbd_test_poll
519
    tickdelay(micros_to_ticks(DELAY_US))
520
  > tickdelay(1 [16.7 ms])
521
  @lab3.c:149, kbd_test_poll
522
    sys_inb(0x64, &scancode)
523
  > sys_inb(0x64, addr: 0x81978f8)
524
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
525
  @lab3.c:145, kbd_test_poll
526
    micros_to_ticks(DELAY_US)
527
  @lab3.c:145, kbd_test_poll
528
    tickdelay(micros_to_ticks(DELAY_US))
529
  > tickdelay(1 [16.7 ms])
530
  @lab3.c:149, kbd_test_poll
531
    sys_inb(0x64, &scancode)
532
  > sys_inb(0x64, addr: 0x81978f8)
533
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
534
  @lab3.c:145, kbd_test_poll
535
    micros_to_ticks(DELAY_US)
536
  @lab3.c:145, kbd_test_poll
537
    tickdelay(micros_to_ticks(DELAY_US))
538
  > tickdelay(1 [16.7 ms])
539
  @lab3.c:149, kbd_test_poll
540
    sys_inb(0x64, &scancode)
541
  > sys_inb(0x64, addr: 0x81978f8)
542
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
543
  @lab3.c:145, kbd_test_poll
544
    micros_to_ticks(DELAY_US)
545
  @lab3.c:145, kbd_test_poll
546
    tickdelay(micros_to_ticks(DELAY_US))
547
  > tickdelay(1 [16.7 ms])
548
  @lab3.c:149, kbd_test_poll
549
    sys_inb(0x64, &scancode)
550
  > sys_inb(0x64, addr: 0x81978f8)
551
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
552
  @lab3.c:154, kbd_test_poll
553
    sys_inb(0x60, &scancode)
554
  > sys_inb(0x60, addr: 0x81978f8)
555
  < sys_inb(0x60, addr: 0x81978f8 [0x1f = 0b00011111])
556
  @lab3.c:157, kbd_test_poll
557
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
558
    "Makecode: 0x1f"
559
  < kbd_print_scancode(true, 1, addr: 0xeffff80e [0x1f]) -> (ret: 0)
560
  @lab3.c:145, kbd_test_poll
561
    micros_to_ticks(DELAY_US)
562
  @lab3.c:145, kbd_test_poll
563
    tickdelay(micros_to_ticks(DELAY_US))
564
  > tickdelay(1 [16.7 ms])
565
  @lab3.c:149, kbd_test_poll
566
    sys_inb(0x64, &scancode)
567
  > sys_inb(0x64, addr: 0x81978f8)
568
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
569
  @lab3.c:145, kbd_test_poll
570
    micros_to_ticks(DELAY_US)
571
  @lab3.c:145, kbd_test_poll
572
    tickdelay(micros_to_ticks(DELAY_US))
573
  > tickdelay(1 [16.7 ms])
574
  @lab3.c:149, kbd_test_poll
575
    sys_inb(0x64, &scancode)
576
  > sys_inb(0x64, addr: 0x81978f8)
577
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
578
  @lab3.c:145, kbd_test_poll
579
    micros_to_ticks(DELAY_US)
580
  @lab3.c:145, kbd_test_poll
581
    tickdelay(micros_to_ticks(DELAY_US))
582
  > tickdelay(1 [16.7 ms])
583
  @lab3.c:149, kbd_test_poll
584
    sys_inb(0x64, &scancode)
585
  > sys_inb(0x64, addr: 0x81978f8)
586
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
587
  @lab3.c:145, kbd_test_poll
588
    micros_to_ticks(DELAY_US)
589
  @lab3.c:145, kbd_test_poll
590
    tickdelay(micros_to_ticks(DELAY_US))
591
  > tickdelay(1 [16.7 ms])
592
  @lab3.c:149, kbd_test_poll
593
    sys_inb(0x64, &scancode)
594
  > sys_inb(0x64, addr: 0x81978f8)
595
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
596
  @lab3.c:145, kbd_test_poll
597
    micros_to_ticks(DELAY_US)
598
  @lab3.c:145, kbd_test_poll
599
    tickdelay(micros_to_ticks(DELAY_US))
600
  > tickdelay(1 [16.7 ms])
601
  @lab3.c:149, kbd_test_poll
602
    sys_inb(0x64, &scancode)
603
  > sys_inb(0x64, addr: 0x81978f8)
604
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
605
  @lab3.c:145, kbd_test_poll
606
    micros_to_ticks(DELAY_US)
607
  @lab3.c:145, kbd_test_poll
608
    tickdelay(micros_to_ticks(DELAY_US))
609
  > tickdelay(1 [16.7 ms])
610
  @lab3.c:149, kbd_test_poll
611
    sys_inb(0x64, &scancode)
612
  > sys_inb(0x64, addr: 0x81978f8)
613
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
614
  @lab3.c:145, kbd_test_poll
615
    micros_to_ticks(DELAY_US)
616
  @lab3.c:145, kbd_test_poll
617
    tickdelay(micros_to_ticks(DELAY_US))
618
  > tickdelay(1 [16.7 ms])
619
  @lab3.c:149, kbd_test_poll
620
    sys_inb(0x64, &scancode)
621
  > sys_inb(0x64, addr: 0x81978f8)
622
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
623
  @lab3.c:154, kbd_test_poll
624
    sys_inb(0x60, &scancode)
625
  > sys_inb(0x60, addr: 0x81978f8)
626
  < sys_inb(0x60, addr: 0x81978f8 [0x21 = 0b00100001])
627
  @lab3.c:157, kbd_test_poll
628
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
629
    "Makecode: 0x21"
630
  < kbd_print_scancode(true, 1, addr: 0xeffff80e [0x21]) -> (ret: 0)
631
  @lab3.c:145, kbd_test_poll
632
    micros_to_ticks(DELAY_US)
633
  @lab3.c:145, kbd_test_poll
634
    tickdelay(micros_to_ticks(DELAY_US))
635
  > tickdelay(1 [16.7 ms])
636
  @lab3.c:149, kbd_test_poll
637
    sys_inb(0x64, &scancode)
638
  > sys_inb(0x64, addr: 0x81978f8)
639
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
640
  @lab3.c:145, kbd_test_poll
641
    micros_to_ticks(DELAY_US)
642
  @lab3.c:145, kbd_test_poll
643
    tickdelay(micros_to_ticks(DELAY_US))
644
  > tickdelay(1 [16.7 ms])
645
  @lab3.c:149, kbd_test_poll
646
    sys_inb(0x64, &scancode)
647
  > sys_inb(0x64, addr: 0x81978f8)
648
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
649
  @lab3.c:145, kbd_test_poll
650
    micros_to_ticks(DELAY_US)
651
  @lab3.c:145, kbd_test_poll
652
    tickdelay(micros_to_ticks(DELAY_US))
653
  > tickdelay(1 [16.7 ms])
654
  @lab3.c:149, kbd_test_poll
655
    sys_inb(0x64, &scancode)
656
  > sys_inb(0x64, addr: 0x81978f8)
657
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
658
  @lab3.c:154, kbd_test_poll
659
    sys_inb(0x60, &scancode)
660
  > sys_inb(0x60, addr: 0x81978f8)
661
  < sys_inb(0x60, addr: 0x81978f8 [0x9f = 0b10011111])
662
  @lab3.c:157, kbd_test_poll
663
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
664
    "Breakcode: 0x9f"
665
  < kbd_print_scancode(false, 1, addr: 0xeffff80e [0x9f]) -> (ret: 0)
666
  @lab3.c:145, kbd_test_poll
667
    micros_to_ticks(DELAY_US)
668
  @lab3.c:145, kbd_test_poll
669
    tickdelay(micros_to_ticks(DELAY_US))
670
  > tickdelay(1 [16.7 ms])
671
  @lab3.c:149, kbd_test_poll
672
    sys_inb(0x64, &scancode)
673
  > sys_inb(0x64, addr: 0x81978f8)
674
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
675
  @lab3.c:145, kbd_test_poll
676
    micros_to_ticks(DELAY_US)
677
  @lab3.c:145, kbd_test_poll
678
    tickdelay(micros_to_ticks(DELAY_US))
679
  > tickdelay(1 [16.7 ms])
680
  @lab3.c:149, kbd_test_poll
681
    sys_inb(0x64, &scancode)
682
  > sys_inb(0x64, addr: 0x81978f8)
683
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
684
  @lab3.c:145, kbd_test_poll
685
    micros_to_ticks(DELAY_US)
686
  @lab3.c:145, kbd_test_poll
687
    tickdelay(micros_to_ticks(DELAY_US))
688
  > tickdelay(1 [16.7 ms])
689
  @lab3.c:149, kbd_test_poll
690
    sys_inb(0x64, &scancode)
691
  > sys_inb(0x64, addr: 0x81978f8)
692
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
693
  @lab3.c:145, kbd_test_poll
694
    micros_to_ticks(DELAY_US)
695
  @lab3.c:145, kbd_test_poll
696
    tickdelay(micros_to_ticks(DELAY_US))
697
  > tickdelay(1 [16.7 ms])
698
  @lab3.c:149, kbd_test_poll
699
    sys_inb(0x64, &scancode)
700
  > sys_inb(0x64, addr: 0x81978f8)
701
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
702
  @lab3.c:145, kbd_test_poll
703
    micros_to_ticks(DELAY_US)
704
  @lab3.c:145, kbd_test_poll
705
    tickdelay(micros_to_ticks(DELAY_US))
706
  > tickdelay(1 [16.7 ms])
707
  @lab3.c:149, kbd_test_poll
708
    sys_inb(0x64, &scancode)
709
  > sys_inb(0x64, addr: 0x81978f8)
710
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
711
  @lab3.c:145, kbd_test_poll
712
    micros_to_ticks(DELAY_US)
713
  @lab3.c:145, kbd_test_poll
714
    tickdelay(micros_to_ticks(DELAY_US))
715
  > tickdelay(1 [16.7 ms])
716
  @lab3.c:149, kbd_test_poll
717
    sys_inb(0x64, &scancode)
718
  > sys_inb(0x64, addr: 0x81978f8)
719
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
720
  @lab3.c:145, kbd_test_poll
721
    micros_to_ticks(DELAY_US)
722
  @lab3.c:145, kbd_test_poll
723
    tickdelay(micros_to_ticks(DELAY_US))
724
  > tickdelay(1 [16.7 ms])
725
  @lab3.c:149, kbd_test_poll
726
    sys_inb(0x64, &scancode)
727
  > sys_inb(0x64, addr: 0x81978f8)
728
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
729
  @lab3.c:145, kbd_test_poll
730
    micros_to_ticks(DELAY_US)
731
  @lab3.c:145, kbd_test_poll
732
    tickdelay(micros_to_ticks(DELAY_US))
733
  > tickdelay(1 [16.7 ms])
734
  @lab3.c:149, kbd_test_poll
735
    sys_inb(0x64, &scancode)
736
  > sys_inb(0x64, addr: 0x81978f8)
737
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
738
  @lab3.c:154, kbd_test_poll
739
    sys_inb(0x60, &scancode)
740
  > sys_inb(0x60, addr: 0x81978f8)
741
  < sys_inb(0x60, addr: 0x81978f8 [0xa1 = 0b10100001])
742
  @lab3.c:157, kbd_test_poll
743
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
744
    "Breakcode: 0xa1"
745
  < kbd_print_scancode(false, 1, addr: 0xeffff80e [0xa1]) -> (ret: 0)
746
  @lab3.c:145, kbd_test_poll
747
    micros_to_ticks(DELAY_US)
748
  @lab3.c:145, kbd_test_poll
749
    tickdelay(micros_to_ticks(DELAY_US))
750
  > tickdelay(1 [16.7 ms])
751
  @lab3.c:149, kbd_test_poll
752
    sys_inb(0x64, &scancode)
753
  > sys_inb(0x64, addr: 0x81978f8)
754
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
755
  @lab3.c:154, kbd_test_poll
756
    sys_inb(0x60, &scancode)
757
  > sys_inb(0x60, addr: 0x81978f8)
758
  < sys_inb(0x60, addr: 0x81978f8 [0x1f = 0b00011111])
759
  @lab3.c:157, kbd_test_poll
760
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
761
    "Makecode: 0x1f"
762
  < kbd_print_scancode(true, 1, addr: 0xeffff80e [0x1f]) -> (ret: 0)
763
  @lab3.c:145, kbd_test_poll
764
    micros_to_ticks(DELAY_US)
765
  @lab3.c:145, kbd_test_poll
766
    tickdelay(micros_to_ticks(DELAY_US))
767
  > tickdelay(1 [16.7 ms])
768
  @lab3.c:149, kbd_test_poll
769
    sys_inb(0x64, &scancode)
770
  > sys_inb(0x64, addr: 0x81978f8)
771
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
772
  @lab3.c:145, kbd_test_poll
773
    micros_to_ticks(DELAY_US)
774
  @lab3.c:145, kbd_test_poll
775
    tickdelay(micros_to_ticks(DELAY_US))
776
  > tickdelay(1 [16.7 ms])
777
  @lab3.c:149, kbd_test_poll
778
    sys_inb(0x64, &scancode)
779
  > sys_inb(0x64, addr: 0x81978f8)
780
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
781
  @lab3.c:145, kbd_test_poll
782
    micros_to_ticks(DELAY_US)
783
  @lab3.c:145, kbd_test_poll
784
    tickdelay(micros_to_ticks(DELAY_US))
785
  > tickdelay(1 [16.7 ms])
786
  @lab3.c:149, kbd_test_poll
787
    sys_inb(0x64, &scancode)
788
  > sys_inb(0x64, addr: 0x81978f8)
789
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
790
  @lab3.c:145, kbd_test_poll
791
    micros_to_ticks(DELAY_US)
792
  @lab3.c:145, kbd_test_poll
793
    tickdelay(micros_to_ticks(DELAY_US))
794
  > tickdelay(1 [16.7 ms])
795
  @lab3.c:149, kbd_test_poll
796
    sys_inb(0x64, &scancode)
797
  > sys_inb(0x64, addr: 0x81978f8)
798
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
799
  @lab3.c:145, kbd_test_poll
800
    micros_to_ticks(DELAY_US)
801
  @lab3.c:145, kbd_test_poll
802
    tickdelay(micros_to_ticks(DELAY_US))
803
  > tickdelay(1 [16.7 ms])
804
  @lab3.c:149, kbd_test_poll
805
    sys_inb(0x64, &scancode)
806
  > sys_inb(0x64, addr: 0x81978f8)
807
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
808
  @lab3.c:145, kbd_test_poll
809
    micros_to_ticks(DELAY_US)
810
  @lab3.c:145, kbd_test_poll
811
    tickdelay(micros_to_ticks(DELAY_US))
812
  > tickdelay(1 [16.7 ms])
813
  @lab3.c:149, kbd_test_poll
814
    sys_inb(0x64, &scancode)
815
  > sys_inb(0x64, addr: 0x81978f8)
816
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
817
  @lab3.c:145, kbd_test_poll
818
    micros_to_ticks(DELAY_US)
819
  @lab3.c:145, kbd_test_poll
820
    tickdelay(micros_to_ticks(DELAY_US))
821
  > tickdelay(1 [16.7 ms])
822
  @lab3.c:149, kbd_test_poll
823
    sys_inb(0x64, &scancode)
824
  > sys_inb(0x64, addr: 0x81978f8)
825
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
826
  @lab3.c:145, kbd_test_poll
827
    micros_to_ticks(DELAY_US)
828
  @lab3.c:145, kbd_test_poll
829
    tickdelay(micros_to_ticks(DELAY_US))
830
  > tickdelay(1 [16.7 ms])
831
  @lab3.c:149, kbd_test_poll
832
    sys_inb(0x64, &scancode)
833
  > sys_inb(0x64, addr: 0x81978f8)
834
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
835
  @lab3.c:145, kbd_test_poll
836
    micros_to_ticks(DELAY_US)
837
  @lab3.c:145, kbd_test_poll
838
    tickdelay(micros_to_ticks(DELAY_US))
839
  > tickdelay(1 [16.7 ms])
840
  @lab3.c:149, kbd_test_poll
841
    sys_inb(0x64, &scancode)
842
  > sys_inb(0x64, addr: 0x81978f8)
843
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
844
  @lab3.c:145, kbd_test_poll
845
    micros_to_ticks(DELAY_US)
846
  @lab3.c:145, kbd_test_poll
847
    tickdelay(micros_to_ticks(DELAY_US))
848
  > tickdelay(1 [16.7 ms])
849
  @lab3.c:149, kbd_test_poll
850
    sys_inb(0x64, &scancode)
851
  > sys_inb(0x64, addr: 0x81978f8)
852
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
853
  @lab3.c:154, kbd_test_poll
854
    sys_inb(0x60, &scancode)
855
  > sys_inb(0x60, addr: 0x81978f8)
856
  < sys_inb(0x60, addr: 0x81978f8 [0x9f = 0b10011111])
857
  @lab3.c:157, kbd_test_poll
858
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
859
    "Breakcode: 0x9f"
860
  < kbd_print_scancode(false, 1, addr: 0xeffff80e [0x9f]) -> (ret: 0)
861
  @lab3.c:145, kbd_test_poll
862
    micros_to_ticks(DELAY_US)
863
  @lab3.c:145, kbd_test_poll
864
    tickdelay(micros_to_ticks(DELAY_US))
865
  > tickdelay(1 [16.7 ms])
866
  @lab3.c:149, kbd_test_poll
867
    sys_inb(0x64, &scancode)
868
  > sys_inb(0x64, addr: 0x81978f8)
869
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
870
  @lab3.c:145, kbd_test_poll
871
    micros_to_ticks(DELAY_US)
872
  @lab3.c:145, kbd_test_poll
873
    tickdelay(micros_to_ticks(DELAY_US))
874
  > tickdelay(1 [16.7 ms])
875
  @lab3.c:149, kbd_test_poll
876
    sys_inb(0x64, &scancode)
877
  > sys_inb(0x64, addr: 0x81978f8)
878
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
879
  @lab3.c:145, kbd_test_poll
880
    micros_to_ticks(DELAY_US)
881
  @lab3.c:145, kbd_test_poll
882
    tickdelay(micros_to_ticks(DELAY_US))
883
  > tickdelay(1 [16.7 ms])
884
  @lab3.c:149, kbd_test_poll
885
    sys_inb(0x64, &scancode)
886
  > sys_inb(0x64, addr: 0x81978f8)
887
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
888
  @lab3.c:145, kbd_test_poll
889
    micros_to_ticks(DELAY_US)
890
  @lab3.c:145, kbd_test_poll
891
    tickdelay(micros_to_ticks(DELAY_US))
892
  > tickdelay(1 [16.7 ms])
893
  @lab3.c:149, kbd_test_poll
894
    sys_inb(0x64, &scancode)
895
  > sys_inb(0x64, addr: 0x81978f8)
896
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
897
  @lab3.c:145, kbd_test_poll
898
    micros_to_ticks(DELAY_US)
899
  @lab3.c:145, kbd_test_poll
900
    tickdelay(micros_to_ticks(DELAY_US))
901
  > tickdelay(1 [16.7 ms])
902
  @lab3.c:149, kbd_test_poll
903
    sys_inb(0x64, &scancode)
904
  > sys_inb(0x64, addr: 0x81978f8)
905
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
906
  @lab3.c:145, kbd_test_poll
907
    micros_to_ticks(DELAY_US)
908
  @lab3.c:145, kbd_test_poll
909
    tickdelay(micros_to_ticks(DELAY_US))
910
  > tickdelay(1 [16.7 ms])
911
  @lab3.c:149, kbd_test_poll
912
    sys_inb(0x64, &scancode)
913
  > sys_inb(0x64, addr: 0x81978f8)
914
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
915
  @lab3.c:145, kbd_test_poll
916
    micros_to_ticks(DELAY_US)
917
  @lab3.c:145, kbd_test_poll
918
    tickdelay(micros_to_ticks(DELAY_US))
919
  > tickdelay(1 [16.7 ms])
920
  @lab3.c:149, kbd_test_poll
921
    sys_inb(0x64, &scancode)
922
  > sys_inb(0x64, addr: 0x81978f8)
923
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
924
  @lab3.c:145, kbd_test_poll
925
    micros_to_ticks(DELAY_US)
926
  @lab3.c:145, kbd_test_poll
927
    tickdelay(micros_to_ticks(DELAY_US))
928
  > tickdelay(1 [16.7 ms])
929
  @lab3.c:149, kbd_test_poll
930
    sys_inb(0x64, &scancode)
931
  > sys_inb(0x64, addr: 0x81978f8)
932
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
933
  @lab3.c:145, kbd_test_poll
934
    micros_to_ticks(DELAY_US)
935
  @lab3.c:145, kbd_test_poll
936
    tickdelay(micros_to_ticks(DELAY_US))
937
  > tickdelay(1 [16.7 ms])
938
  @lab3.c:149, kbd_test_poll
939
    sys_inb(0x64, &scancode)
940
  > sys_inb(0x64, addr: 0x81978f8)
941
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
942
  @lab3.c:145, kbd_test_poll
943
    micros_to_ticks(DELAY_US)
944
  @lab3.c:145, kbd_test_poll
945
    tickdelay(micros_to_ticks(DELAY_US))
946
  > tickdelay(1 [16.7 ms])
947
  @lab3.c:149, kbd_test_poll
948
    sys_inb(0x64, &scancode)
949
  > sys_inb(0x64, addr: 0x81978f8)
950
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
951
  @lab3.c:145, kbd_test_poll
952
    micros_to_ticks(DELAY_US)
953
  @lab3.c:145, kbd_test_poll
954
    tickdelay(micros_to_ticks(DELAY_US))
955
  > tickdelay(1 [16.7 ms])
956
  @lab3.c:149, kbd_test_poll
957
    sys_inb(0x64, &scancode)
958
  > sys_inb(0x64, addr: 0x81978f8)
959
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
960
  @lab3.c:145, kbd_test_poll
961
    micros_to_ticks(DELAY_US)
962
  @lab3.c:145, kbd_test_poll
963
    tickdelay(micros_to_ticks(DELAY_US))
964
  > tickdelay(1 [16.7 ms])
965
  @lab3.c:149, kbd_test_poll
966
    sys_inb(0x64, &scancode)
967
  > sys_inb(0x64, addr: 0x81978f8)
968
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
969
  @lab3.c:145, kbd_test_poll
970
    micros_to_ticks(DELAY_US)
971
  @lab3.c:145, kbd_test_poll
972
    tickdelay(micros_to_ticks(DELAY_US))
973
  > tickdelay(1 [16.7 ms])
974
  @lab3.c:149, kbd_test_poll
975
    sys_inb(0x64, &scancode)
976
  > sys_inb(0x64, addr: 0x81978f8)
977
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
978
  @lab3.c:145, kbd_test_poll
979
    micros_to_ticks(DELAY_US)
980
  @lab3.c:145, kbd_test_poll
981
    tickdelay(micros_to_ticks(DELAY_US))
982
  > tickdelay(1 [16.7 ms])
983
  @lab3.c:149, kbd_test_poll
984
    sys_inb(0x64, &scancode)
985
  > sys_inb(0x64, addr: 0x81978f8)
986
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
987
  @lab3.c:145, kbd_test_poll
988
    micros_to_ticks(DELAY_US)
989
  @lab3.c:145, kbd_test_poll
990
    tickdelay(micros_to_ticks(DELAY_US))
991
  > tickdelay(1 [16.7 ms])
992
  @lab3.c:149, kbd_test_poll
993
    sys_inb(0x64, &scancode)
994
  > sys_inb(0x64, addr: 0x81978f8)
995
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
996
  @lab3.c:145, kbd_test_poll
997
    micros_to_ticks(DELAY_US)
998
  @lab3.c:145, kbd_test_poll
999
    tickdelay(micros_to_ticks(DELAY_US))
1000
  > tickdelay(1 [16.7 ms])
1001
  @lab3.c:149, kbd_test_poll
1002
    sys_inb(0x64, &scancode)
1003
  > sys_inb(0x64, addr: 0x81978f8)
1004
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1005
  @lab3.c:145, kbd_test_poll
1006
    micros_to_ticks(DELAY_US)
1007
  @lab3.c:145, kbd_test_poll
1008
    tickdelay(micros_to_ticks(DELAY_US))
1009
  > tickdelay(1 [16.7 ms])
1010
  @lab3.c:149, kbd_test_poll
1011
    sys_inb(0x64, &scancode)
1012
  > sys_inb(0x64, addr: 0x81978f8)
1013
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1014
  @lab3.c:145, kbd_test_poll
1015
    micros_to_ticks(DELAY_US)
1016
  @lab3.c:145, kbd_test_poll
1017
    tickdelay(micros_to_ticks(DELAY_US))
1018
  > tickdelay(1 [16.7 ms])
1019
  @lab3.c:149, kbd_test_poll
1020
    sys_inb(0x64, &scancode)
1021
  > sys_inb(0x64, addr: 0x81978f8)
1022
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1023
  @lab3.c:145, kbd_test_poll
1024
    micros_to_ticks(DELAY_US)
1025
  @lab3.c:145, kbd_test_poll
1026
    tickdelay(micros_to_ticks(DELAY_US))
1027
  > tickdelay(1 [16.7 ms])
1028
  @lab3.c:149, kbd_test_poll
1029
    sys_inb(0x64, &scancode)
1030
  > sys_inb(0x64, addr: 0x81978f8)
1031
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1032
  @lab3.c:145, kbd_test_poll
1033
    micros_to_ticks(DELAY_US)
1034
  @lab3.c:145, kbd_test_poll
1035
    tickdelay(micros_to_ticks(DELAY_US))
1036
  > tickdelay(1 [16.7 ms])
1037
  @lab3.c:149, kbd_test_poll
1038
    sys_inb(0x64, &scancode)
1039
  > sys_inb(0x64, addr: 0x81978f8)
1040
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1041
  @lab3.c:145, kbd_test_poll
1042
    micros_to_ticks(DELAY_US)
1043
  @lab3.c:145, kbd_test_poll
1044
    tickdelay(micros_to_ticks(DELAY_US))
1045
  > tickdelay(1 [16.7 ms])
1046
  @lab3.c:149, kbd_test_poll
1047
    sys_inb(0x64, &scancode)
1048
  > sys_inb(0x64, addr: 0x81978f8)
1049
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1050
  @lab3.c:145, kbd_test_poll
1051
    micros_to_ticks(DELAY_US)
1052
  @lab3.c:145, kbd_test_poll
1053
    tickdelay(micros_to_ticks(DELAY_US))
1054
  > tickdelay(1 [16.7 ms])
1055
  @lab3.c:149, kbd_test_poll
1056
    sys_inb(0x64, &scancode)
1057
  > sys_inb(0x64, addr: 0x81978f8)
1058
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1059
  @lab3.c:145, kbd_test_poll
1060
    micros_to_ticks(DELAY_US)
1061
  @lab3.c:145, kbd_test_poll
1062
    tickdelay(micros_to_ticks(DELAY_US))
1063
  > tickdelay(1 [16.7 ms])
1064
  @lab3.c:149, kbd_test_poll
1065
    sys_inb(0x64, &scancode)
1066
  > sys_inb(0x64, addr: 0x81978f8)
1067
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1068
  @lab3.c:145, kbd_test_poll
1069
    micros_to_ticks(DELAY_US)
1070
  @lab3.c:145, kbd_test_poll
1071
    tickdelay(micros_to_ticks(DELAY_US))
1072
  > tickdelay(1 [16.7 ms])
1073
  @lab3.c:149, kbd_test_poll
1074
    sys_inb(0x64, &scancode)
1075
  > sys_inb(0x64, addr: 0x81978f8)
1076
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1077
  @lab3.c:145, kbd_test_poll
1078
    micros_to_ticks(DELAY_US)
1079
  @lab3.c:145, kbd_test_poll
1080
    tickdelay(micros_to_ticks(DELAY_US))
1081
  > tickdelay(1 [16.7 ms])
1082
  @lab3.c:149, kbd_test_poll
1083
    sys_inb(0x64, &scancode)
1084
  > sys_inb(0x64, addr: 0x81978f8)
1085
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1086
  @lab3.c:145, kbd_test_poll
1087
    micros_to_ticks(DELAY_US)
1088
  @lab3.c:145, kbd_test_poll
1089
    tickdelay(micros_to_ticks(DELAY_US))
1090
  > tickdelay(1 [16.7 ms])
1091
  @lab3.c:149, kbd_test_poll
1092
    sys_inb(0x64, &scancode)
1093
  > sys_inb(0x64, addr: 0x81978f8)
1094
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1095
  @lab3.c:145, kbd_test_poll
1096
    micros_to_ticks(DELAY_US)
1097
  @lab3.c:145, kbd_test_poll
1098
    tickdelay(micros_to_ticks(DELAY_US))
1099
  > tickdelay(1 [16.7 ms])
1100
  @lab3.c:149, kbd_test_poll
1101
    sys_inb(0x64, &scancode)
1102
  > sys_inb(0x64, addr: 0x81978f8)
1103
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1104
  @lab3.c:145, kbd_test_poll
1105
    micros_to_ticks(DELAY_US)
1106
  @lab3.c:145, kbd_test_poll
1107
    tickdelay(micros_to_ticks(DELAY_US))
1108
  > tickdelay(1 [16.7 ms])
1109
  @lab3.c:149, kbd_test_poll
1110
    sys_inb(0x64, &scancode)
1111
  > sys_inb(0x64, addr: 0x81978f8)
1112
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1113
  @lab3.c:145, kbd_test_poll
1114
    micros_to_ticks(DELAY_US)
1115
  @lab3.c:145, kbd_test_poll
1116
    tickdelay(micros_to_ticks(DELAY_US))
1117
  > tickdelay(1 [16.7 ms])
1118
  @lab3.c:149, kbd_test_poll
1119
    sys_inb(0x64, &scancode)
1120
  > sys_inb(0x64, addr: 0x81978f8)
1121
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1122
  @lab3.c:145, kbd_test_poll
1123
    micros_to_ticks(DELAY_US)
1124
  @lab3.c:145, kbd_test_poll
1125
    tickdelay(micros_to_ticks(DELAY_US))
1126
  > tickdelay(1 [16.7 ms])
1127
  @lab3.c:149, kbd_test_poll
1128
    sys_inb(0x64, &scancode)
1129
  > sys_inb(0x64, addr: 0x81978f8)
1130
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1131
  @lab3.c:145, kbd_test_poll
1132
    micros_to_ticks(DELAY_US)
1133
  @lab3.c:145, kbd_test_poll
1134
    tickdelay(micros_to_ticks(DELAY_US))
1135
  > tickdelay(1 [16.7 ms])
1136
  @lab3.c:149, kbd_test_poll
1137
    sys_inb(0x64, &scancode)
1138
  > sys_inb(0x64, addr: 0x81978f8)
1139
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1140
  @lab3.c:145, kbd_test_poll
1141
    micros_to_ticks(DELAY_US)
1142
  @lab3.c:145, kbd_test_poll
1143
    tickdelay(micros_to_ticks(DELAY_US))
1144
  > tickdelay(1 [16.7 ms])
1145
  @lab3.c:149, kbd_test_poll
1146
    sys_inb(0x64, &scancode)
1147
  > sys_inb(0x64, addr: 0x81978f8)
1148
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1149
  @lab3.c:145, kbd_test_poll
1150
    micros_to_ticks(DELAY_US)
1151
  @lab3.c:145, kbd_test_poll
1152
    tickdelay(micros_to_ticks(DELAY_US))
1153
  > tickdelay(1 [16.7 ms])
1154
  @lab3.c:149, kbd_test_poll
1155
    sys_inb(0x64, &scancode)
1156
  > sys_inb(0x64, addr: 0x81978f8)
1157
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1158
  @lab3.c:145, kbd_test_poll
1159
    micros_to_ticks(DELAY_US)
1160
  @lab3.c:145, kbd_test_poll
1161
    tickdelay(micros_to_ticks(DELAY_US))
1162
  > tickdelay(1 [16.7 ms])
1163
  @lab3.c:149, kbd_test_poll
1164
    sys_inb(0x64, &scancode)
1165
  > sys_inb(0x64, addr: 0x81978f8)
1166
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1167
  @lab3.c:145, kbd_test_poll
1168
    micros_to_ticks(DELAY_US)
1169
  @lab3.c:145, kbd_test_poll
1170
    tickdelay(micros_to_ticks(DELAY_US))
1171
  > tickdelay(1 [16.7 ms])
1172
  @lab3.c:149, kbd_test_poll
1173
    sys_inb(0x64, &scancode)
1174
  > sys_inb(0x64, addr: 0x81978f8)
1175
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1176
  @lab3.c:145, kbd_test_poll
1177
    micros_to_ticks(DELAY_US)
1178
  @lab3.c:145, kbd_test_poll
1179
    tickdelay(micros_to_ticks(DELAY_US))
1180
  > tickdelay(1 [16.7 ms])
1181
  @lab3.c:149, kbd_test_poll
1182
    sys_inb(0x64, &scancode)
1183
  > sys_inb(0x64, addr: 0x81978f8)
1184
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1185
  @lab3.c:145, kbd_test_poll
1186
    micros_to_ticks(DELAY_US)
1187
  @lab3.c:145, kbd_test_poll
1188
    tickdelay(micros_to_ticks(DELAY_US))
1189
  > tickdelay(1 [16.7 ms])
1190
  @lab3.c:149, kbd_test_poll
1191
    sys_inb(0x64, &scancode)
1192
  > sys_inb(0x64, addr: 0x81978f8)
1193
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1194
  @lab3.c:145, kbd_test_poll
1195
    micros_to_ticks(DELAY_US)
1196
  @lab3.c:145, kbd_test_poll
1197
    tickdelay(micros_to_ticks(DELAY_US))
1198
  > tickdelay(1 [16.7 ms])
1199
  @lab3.c:149, kbd_test_poll
1200
    sys_inb(0x64, &scancode)
1201
  > sys_inb(0x64, addr: 0x81978f8)
1202
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1203
  @lab3.c:145, kbd_test_poll
1204
    micros_to_ticks(DELAY_US)
1205
  @lab3.c:145, kbd_test_poll
1206
    tickdelay(micros_to_ticks(DELAY_US))
1207
  > tickdelay(1 [16.7 ms])
1208
  @lab3.c:149, kbd_test_poll
1209
    sys_inb(0x64, &scancode)
1210
  > sys_inb(0x64, addr: 0x81978f8)
1211
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1212
  @lab3.c:145, kbd_test_poll
1213
    micros_to_ticks(DELAY_US)
1214
  @lab3.c:145, kbd_test_poll
1215
    tickdelay(micros_to_ticks(DELAY_US))
1216
  > tickdelay(1 [16.7 ms])
1217
  @lab3.c:149, kbd_test_poll
1218
    sys_inb(0x64, &scancode)
1219
  > sys_inb(0x64, addr: 0x81978f8)
1220
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
1221
  @lab3.c:154, kbd_test_poll
1222
    sys_inb(0x60, &scancode)
1223
  > sys_inb(0x60, addr: 0x81978f8)
1224
  < sys_inb(0x60, addr: 0x81978f8 [0x01 = 0b00000001])
1225
  @lab3.c:157, kbd_test_poll
1226
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
1227
    "Makecode: 0x01"
1228
  < kbd_print_scancode(true, 1, addr: 0xeffff80e [0x01]) -> (ret: 0)
1229
  @lab3.c:145, kbd_test_poll
1230
    micros_to_ticks(DELAY_US)
1231
  @lab3.c:145, kbd_test_poll
1232
    tickdelay(micros_to_ticks(DELAY_US))
1233
  > tickdelay(1 [16.7 ms])
1234
  @lab3.c:149, kbd_test_poll
1235
    sys_inb(0x64, &scancode)
1236
  > sys_inb(0x64, addr: 0x81978f8)
1237
  < sys_inb(0x64, addr: 0x81978f8 [0x1c = 0b00011100])
1238
  @lab3.c:145, kbd_test_poll
1239
    micros_to_ticks(DELAY_US)
1240
  @lab3.c:145, kbd_test_poll
1241
    tickdelay(micros_to_ticks(DELAY_US))
1242
  > tickdelay(1 [16.7 ms])
1243
  @lab3.c:149, kbd_test_poll
1244
    sys_inb(0x64, &scancode)
1245
  > sys_inb(0x64, addr: 0x81978f8)
1246
  < sys_inb(0x64, addr: 0x81978f8 [0x1d = 0b00011101])
1247
  @lab3.c:154, kbd_test_poll
1248
    sys_inb(0x60, &scancode)
1249
  > sys_inb(0x60, addr: 0x81978f8)
1250
  < sys_inb(0x60, addr: 0x81978f8 [0x81 = 0b10000001])
1251
  @lab3.c:157, kbd_test_poll
1252
    kbd_print_scancode(!(scancode & 0x80), 1, scan_arr)
1253
    "Breakcode: 0x81"
1254
  < kbd_print_scancode(false, 1, addr: 0xeffff80e [0x81]) -> (ret: 0)
1255
  @lab3.c:173, kbd_test_poll
1256
    kbd_print_no_sysinb(cnt)
1257
    "sys_inb_calls: 139"
1258
  @lab3.c:174, kbd_test_poll
1259
    sys_outb(0x64, 0x60)
1260
  > sys_outb(0x64, 0x60 = 0b01100000)
1261
  @lab3.c:175, kbd_test_poll
1262
    sys_outb(0x60, key | BIT(0))
1263
  > sys_outb(0x60, 0x47 = 0b01000111)
1264
< kbd_test_poll() -> (ret: 0)