Changeset 1357 in vbox for trunk/include
- Timestamp:
- Mar 9, 2007 10:40:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/selm.h
r99 r1357 142 142 * @returns Flat address. 143 143 * @param pVM VM Handle. 144 * @param eflags Current eflags 144 145 * @param Sel Selector part. 145 146 * @param Addr Address part. 146 147 */ 147 SELMDECL(RTGCPTR) SELMToFlat(PVM pVM, RTSEL Sel, CPUMSELREGHID *pHiddenSel, RTGCPTR Addr);148 SELMDECL(RTGCPTR) SELMToFlat(PVM pVM, X86EFLAGS eflags, RTSEL Sel, CPUMSELREGHID *pHiddenSel, RTGCPTR Addr); 148 149 149 150 /** Flags for SELMToFlatEx(). … … 174 175 * @returns VBox status 175 176 * @param pVM VM Handle. 177 * @param eflags Current eflags 176 178 * @param Sel Selector part. 177 179 * @param Addr Address part. … … 182 184 * the selector. NULL is allowed. 183 185 */ 184 SELMDECL(int) SELMToFlatEx(PVM pVM, RTSEL Sel, RTGCPTR Addr, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb);186 SELMDECL(int) SELMToFlatEx(PVM pVM, X86EFLAGS eflags, RTSEL Sel, RTGCPTR Addr, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb); 185 187 186 188 /** … … 189 191 * @returns Flat address. 190 192 * @param pVM VM Handle. 193 * @param eflags Current eflags 191 194 * @param SelCPL Current privilege level. Get this from SS - CS might be conforming! 192 195 * A full selector can be passed, we'll only use the RPL part. … … 196 199 * @param ppvFlat Where to store the flat address. 197 200 */ 198 SELMDECL(int) SELMValidateAndConvertCSAddr(PVM pVM, RTSEL SelCPL, RTSEL SelCS, CPUMSELREGHID *pHiddenCSSel, RTGCPTR Addr, PRTGCPTR ppvFlat);201 SELMDECL(int) SELMValidateAndConvertCSAddr(PVM pVM, X86EFLAGS eflags, RTSEL SelCPL, RTSEL SelCS, CPUMSELREGHID *pHiddenCSSel, RTGCPTR Addr, PRTGCPTR ppvFlat); 199 202 200 203 /** … … 204 207 * @returns False if it is 16-bit. 205 208 * @param pVM VM Handle. 209 * @param eflags Current eflags register 206 210 * @param Sel The selector. 207 211 * @param pHiddenSel The hidden selector register. 208 212 */ 209 SELMDECL(bool) SELMIsSelector32Bit(PVM pVM, RTSEL Sel, CPUMSELREGHID *pHiddenSel);213 SELMDECL(bool) SELMIsSelector32Bit(PVM pVM, X86EFLAGS eflags, RTSEL Sel, CPUMSELREGHID *pHiddenSel); 210 214 211 215 /**
Note:
See TracChangeset
for help on using the changeset viewer.