When running in a virtual machine, switching to real mode may be expensive. Allow interrupts to be enabled while in protected mode and reflected down to the real-mode interrupt handlers. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
1 | 1 |
|
2 |
|
|
2 |
|
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
6 |
|
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
|
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 | 8 |
|
100 | 9 |
|
101 | 10 |
|
|
||
111 | 20 |
|
112 | 21 |
|
113 | 22 |
|
114 |
|
|
23 |
|
|
24 |
|
|
115 | 25 |
|
116 |
|
|
26 |
|
|
117 | 27 |
|
118 |
|
|
119 |
|
|
28 |
|
|
29 |
|
|
120 | 30 |
|
121 |
|
|
31 |
|
|
122 | 32 |
|
123 |
|
|
124 |
|
|
33 |
|
|
34 |
|
|
125 | 35 |
|
126 |
|
|
36 |
|
|
127 | 37 |
|
128 |
|
|
38 |
|
|
39 |
|
|
129 | 40 |
|
130 |
|
|
41 |
|
|
131 | 42 |
|
132 |
|
|
43 |
|
|
44 |
|
|
133 | 45 |
|
134 |
|
|
46 |
|
|
135 | 47 |
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
48 |
|
|
49 |
|
|
141 | 50 |
|
142 |
|
|
51 |
|
|
143 | 52 |
|
144 | 53 |
|
145 | 54 |
|
|
||
161 | 70 |
|
162 | 71 |
|
163 | 72 |
|
164 |
|
|
73 |
|
|
165 | 74 |
|
166 | 75 |
|
167 | 76 |
|
|
||
187 | 96 |
|
188 | 97 |
|
189 | 98 |
|
99 |
|
|
100 |
|
|
101 |
|
|
190 | 102 |
|
191 | 103 |
|
192 | 104 |
|
193 | 105 |
|
194 | 106 |
|
195 | 107 |
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
196 | 121 |
|
197 | 122 |
|
198 | 123 |
|
199 | 124 |
|
200 | 125 |
|
201 |
|
|
126 |
|
|
202 | 127 |
|
203 | 128 |
|
204 | 129 |
|
205 | 130 |
|
206 | 131 |
|
207 | 132 |
|
208 |
|
|
133 |
|
|
209 | 134 |
|
210 | 135 |
|
211 | 136 |
|
|
||
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
27 |
|
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
|
|
||
150 | 151 |
|
151 | 152 |
|
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 |
|
|
180 |
|
|
||
36 | 36 |
|
37 | 37 |
|
38 | 38 |
|
39 |
|
|
39 | 40 |
|
40 | 41 |
|
41 | 42 |
|
|
||
44 | 45 |
|
45 | 46 |
|
46 | 47 |
|
47 |
|
|
48 |
|
|
48 |
|
|
49 |
|
|
49 | 50 |
|
50 |
|
|
51 |
|
|
51 | 52 |
|
52 | 53 |
|
53 | 54 |
|
|
||
64 | 65 |
|
65 | 66 |
|
66 | 67 |
|
67 |
|
|
68 |
|
|
69 |
|
|
70 | 68 |
|
71 | 69 |
|
72 | 70 |
|
|
||
79 | 77 |
|
80 | 78 |
|
81 | 79 |
|
80 |
|
|
82 | 81 |
|
83 |
|
|
82 |
|
|
84 | 83 |
|
85 | 84 |
|
86 | 85 |
|
87 |
|
|
88 |
|
|
86 |
|
|
87 |
|
|
89 | 88 |
|
90 | 89 |
|
91 | 90 |
|
92 | 91 |
|
93 |
|
|
92 |
|
|
94 | 93 |
|
95 | 94 |
|
96 | 95 |
|
|
||
101 | 100 |
|
102 | 101 |
|
103 | 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 |
|
|
||
46 | 46 |
|
47 | 47 |
|
48 | 48 |
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
49 | 57 |
|
50 | 58 |
|
51 | 59 |
|
|
||
61 | 69 |
|
62 | 70 |
|
63 | 71 |
|
72 |
|
|
73 |
|
|
64 | 74 |
|
|
||
209 | 209 |
|
210 | 210 |
|
211 | 211 |
|
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
212 | 277 |
|
213 | 278 |
|
214 | 279 |
|
|
||
128 | 128 |
|
129 | 129 |
|
130 | 130 |
|
131 |
|
|
131 |
|
|
132 | 132 |
|
133 | 133 |
|
134 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
135 | 140 |
|
136 | 141 |
|
137 | 142 |
|
|
||
141 | 146 |
|
142 | 147 |
|
143 | 148 |
|
144 |
|
|
145 | 149 |
|
146 | 150 |
|
147 | 151 |
|
148 | 152 |
|
149 | 153 |
|
150 | 154 |
|
151 |
|
|
152 | 155 |
|
153 | 156 |
|
154 | 157 |
|
|
||
237 | 240 |
|
238 | 241 |
|
239 | 242 |
|
240 |
|
|
243 |
|
|
241 | 244 |
|
242 |
|
|
243 |
|
|
244 | 245 |
|
245 | 246 |
|
246 | 247 |
|
|
||
536 | 537 |
|
537 | 538 |
|
538 | 539 |
|
540 |
|
|
541 |
|
|
542 |
|
|
543 |
|
|
544 |
|
|
545 |
|
|
546 |
|
|
547 |
|
|
548 |
|
|
549 |
|
|
550 |
|
|
551 |
|
|
552 |
|
|
553 |
|
|
554 |
|
|
555 |
|
|
556 |
|
|
557 |
|
|
558 |
|
|
559 |
|
|
560 |
|
|
561 |
|
|
562 |
|
|
563 |
|
|
564 |
|
|
565 |
|
|
566 |
|
|
567 |
|
|
568 |
|
|
569 |
|
|
570 |
|
|
571 |
|
|
572 |
|
|
573 |
|
|
574 |
|
|
575 |
|
|
576 |
|
|
577 |
|
|
578 |
|
|
579 |
|
|
539 | 580 |
|
540 | 581 |
|
541 | 582 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
17 | 18 |
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
18 | 34 |
|
19 | 35 |
|
20 | 36 |
|
21 | 37 |
|
22 |
|
|
23 |
|
|
24 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
25 | 41 |
|
26 | 42 |
|
27 | 43 |
|
|
||
35 | 51 |
|
36 | 52 |
|
37 | 53 |
|
38 |
|
|
39 |
|
|
54 |
|
|
55 |
|
|
40 | 56 |
|
41 | 57 |
|
42 | 58 |
|
|
||
46 | 62 |
|
47 | 63 |
|
48 | 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 |
|
|
49 | 122 |
|
50 | 123 |
|
51 | 124 |
|
|
||
48 | 48 |
|
49 | 49 |
|
50 | 50 |
|
51 |
|
|
52 |
|
|
51 | 53 |
|
|
||
396 | 396 |
|
397 | 397 |
|
398 | 398 |
|
399 |
|
|
399 | 400 |
|
400 | 401 |
|