the kernel), which encapsulates the information needed to refer to an external buffer. Under normal operation, this can just be a void * equivalent, but under -DKEEP_IT_REAL it would be a segoff_t equivalent. Use this concept to avoid the need for bounce buffers in int13.c, which reduces memory usage and opens up the possibility of using multi-sector reads. Extend the block-device API and the SCSI block device implementation to support multi-sector reads. Update iscsi.c to use user buffers. Move the obsolete portions of realmode.h to old_realmode.h. MS-DOS now boots an order of magnitude faster over iSCSI (~10 seconds from power-up to C:> prompt in bochs).tags/v0.9.3
|
||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
9 |
|
|
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
||
92 | 92 |
|
93 | 93 |
|
94 | 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 |
|
|
95 | 158 |
|
96 | 159 |
|
97 | 160 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
||
149 | 149 |
|
150 | 150 |
|
151 | 151 |
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
171 | 152 |
|
172 | 153 |
|
173 | 154 |
|
|
||
93 | 93 |
|
94 | 94 |
|
95 | 95 |
|
96 |
|
|
96 |
|
|
97 | 97 |
|
98 | 98 |
|
99 | 99 |
|
|
||
111 | 111 |
|
112 | 112 |
|
113 | 113 |
|
114 |
|
|
115 |
|
|
114 |
|
|
116 | 115 |
|
117 | 116 |
|
118 | 117 |
|
119 | 118 |
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
127 | 123 |
|
128 | 124 |
|
129 | 125 |
|
|
||
139 | 135 |
|
140 | 136 |
|
141 | 137 |
|
142 |
|
|
143 |
|
|
138 |
|
|
144 | 139 |
|
145 | 140 |
|
146 | 141 |
|
147 | 142 |
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
155 | 147 |
|
156 | 148 |
|
157 | 149 |
|
|
||
202 | 194 |
|
203 | 195 |
|
204 | 196 |
|
205 |
|
|
197 |
|
|
206 | 198 |
|
207 | 199 |
|
208 | 200 |
|
|
||
233 | 225 |
|
234 | 226 |
|
235 | 227 |
|
236 |
|
|
228 |
|
|
237 | 229 |
|
238 | 230 |
|
239 | 231 |
|
|
||
50 | 50 |
|
51 | 51 |
|
52 | 52 |
|
53 |
|
|
53 | 54 |
|
54 | 55 |
|
55 | 56 |
|
56 | 57 |
|
57 |
|
|
58 |
|
|
58 | 59 |
|
59 | 60 |
|
60 | 61 |
|
|
||
63 | 64 |
|
64 | 65 |
|
65 | 66 |
|
66 |
|
|
67 |
|
|
67 | 68 |
|
68 |
|
|
69 |
|
|
69 | 70 |
|
70 | 71 |
|
71 | 72 |
|
|
||
74 | 75 |
|
75 | 76 |
|
76 | 77 |
|
78 |
|
|
77 | 79 |
|
78 | 80 |
|
79 | 81 |
|
80 | 82 |
|
81 |
|
|
83 |
|
|
82 | 84 |
|
83 | 85 |
|
84 | 86 |
|
|
||
87 | 89 |
|
88 | 90 |
|
89 | 91 |
|
90 |
|
|
92 |
|
|
91 | 93 |
|
92 |
|
|
94 |
|
|
93 | 95 |
|
94 | 96 |
|
95 | 97 |
|
|
||
111 | 113 |
|
112 | 114 |
|
113 | 115 |
|
114 |
|
|
116 |
|
|
115 | 117 |
|
116 | 118 |
|
117 | 119 |
|
|
||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
|
|
12 |
|
|
11 | 13 |
|
12 | 14 |
|
13 | 15 |
|
|
||
19 | 21 |
|
20 | 22 |
|
21 | 23 |
|
24 |
|
|
22 | 25 |
|
23 | 26 |
|
24 | 27 |
|
25 | 28 |
|
26 |
|
|
29 |
|
|
27 | 30 |
|
28 | 31 |
|
29 | 32 |
|
30 | 33 |
|
31 | 34 |
|
35 |
|
|
32 | 36 |
|
33 | 37 |
|
34 | 38 |
|
35 | 39 |
|
36 |
|
|
40 |
|
|
37 | 41 |
|
38 | 42 |
|
39 | 43 |
|
|
||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
|
|
6 | 7 |
|
7 | 8 |
|
8 | 9 |
|
|
||
123 | 124 |
|
124 | 125 |
|
125 | 126 |
|
126 |
|
|
127 |
|
|
127 | 128 |
|
128 | 129 |
|
129 | 130 |
|
130 | 131 |
|
131 | 132 |
|
132 | 133 |
|
133 |
|
|
134 |
|
|
134 | 135 |
|
135 | 136 |
|
136 | 137 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
||
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
27 |
|
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
|
|
||
130 | 131 |
|
131 | 132 |
|
132 | 133 |
|
133 |
|
|
134 |
|
|
134 | 135 |
|
135 | 136 |
|
136 | 137 |
|
|
||
234 | 235 |
|
235 | 236 |
|
236 | 237 |
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
|
238 | 243 |
|
239 | 244 |
|
240 | 245 |
|