cpuid.hh (6215:9aed64c9f10f) | cpuid.hh (7072:d9823ce926fa) |
---|---|
1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 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; --- 41 unchanged lines hidden (view full) --- 50 uint64_t _rdx, uint64_t _rcx) : 51 rax(_rax), rbx(_rbx), rcx(_rcx), rdx(_rdx) 52 {} 53 54 CpuidResult() 55 {} 56 }; 57 | 1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 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; --- 41 unchanged lines hidden (view full) --- 50 uint64_t _rdx, uint64_t _rcx) : 51 rax(_rax), rbx(_rbx), rcx(_rcx), rdx(_rdx) 52 {} 53 54 CpuidResult() 55 {} 56 }; 57 |
58 bool doCpuid(ThreadContext * tc, uint32_t function, CpuidResult &result); | 58 bool doCpuid(ThreadContext * tc, uint32_t function, 59 uint32_t index, CpuidResult &result); |
59} // namespace X86ISA 60 61#endif | 60} // namespace X86ISA 61 62#endif |