x86_cpu.hh (10113:f02b907bb9e8) x86_cpu.hh (10653:e3fc6bc7f97e)
1/*
2 * Copyright (c) 2013 Andreas Sandberg
3 * All rights reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 220 unchanged lines hidden (view full) ---

229 *
230 * @note This method can only be called on when handling IO after
231 * a KVM_EXIT_IO.
232 *
233 * @param miscreg Register to map the current IO access to.
234 */
235 void handleIOMiscReg32(int miscreg);
236
1/*
2 * Copyright (c) 2013 Andreas Sandberg
3 * All rights reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 220 unchanged lines hidden (view full) ---

229 *
230 * @note This method can only be called on when handling IO after
231 * a KVM_EXIT_IO.
232 *
233 * @param miscreg Register to map the current IO access to.
234 */
235 void handleIOMiscReg32(int miscreg);
236
237 /** Reusable IO request */
238 Request io_req;
239
240 /** Cached intersection of supported MSRs */
241 mutable Kvm::MSRIndexVector cachedMsrIntersection;
242
243 /** @{ */
244 /** Kvm::capDebugRegs() available? */
245 bool haveDebugRegs;
246 /** Kvm::capXSave() available? */
247 bool haveXSave;
248 /**
249 * Should the XSave interface be used to sync the FPU and SIMD
250 * registers?
251 */
252 bool useXSave;
253 /** Kvm::capXCRs() available? */
254 bool haveXCRs;
255 /** @} */
256};
257
258#endif
237 /** Cached intersection of supported MSRs */
238 mutable Kvm::MSRIndexVector cachedMsrIntersection;
239
240 /** @{ */
241 /** Kvm::capDebugRegs() available? */
242 bool haveDebugRegs;
243 /** Kvm::capXSave() available? */
244 bool haveXSave;
245 /**
246 * Should the XSave interface be used to sync the FPU and SIMD
247 * registers?
248 */
249 bool useXSave;
250 /** Kvm::capXCRs() available? */
251 bool haveXCRs;
252 /** @} */
253};
254
255#endif