Function report |
Source Code:arch\x86\kernel\cpu\mtrr\cyrix.c |
Create Date:2022-07-28 08:07:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cyrix_set_arr
Proto:static void cyrix_set_arr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | reg | |
unsigned long | base | |
unsigned long | size | |
mtrr_type | type |
184 | arr = CX86_ARR_BASE + (reg << 1) + reg |
190 | size &= 0x7fff |
196 | Case type == MTRR memory types, which are defined in SDM |
197 | arr_type = 1 |
198 | Break |
199 | Case type == MTRR_TYPE_WRCOMB |
200 | arr_type = 9 |
201 | Break |
202 | Case type == #define MTRR_TYPE_ 3 |
203 | arr_type = 24 |
204 | Break |
205 | Default |
206 | arr_type = 8 |
207 | Break |
209 | Else |
211 | Case type == MTRR memory types, which are defined in SDM |
212 | arr_type = 0 |
213 | Break |
214 | Case type == MTRR_TYPE_WRCOMB |
215 | arr_type = 8 |
216 | Break |
217 | Case type == #define MTRR_TYPE_ 3 |
218 | arr_type = 25 |
219 | Break |
220 | Default |
221 | arr_type = 9 |
222 | Break |
232 | setCx86(CX86_RCR_BASE + reg, arr_type) |
234 | post_set() |
Name | Describe |
---|---|
cyrix_set_all |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |