cpuid.hh (7072:d9823ce926fa) cpuid.hh (9554:406fbcf60223)
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 uint64_t stringToRegister(const char *str);
59
58 bool doCpuid(ThreadContext * tc, uint32_t function,
59 uint32_t index, CpuidResult &result);
60} // namespace X86ISA
61
62#endif
60 bool doCpuid(ThreadContext * tc, uint32_t function,
61 uint32_t index, CpuidResult &result);
62} // namespace X86ISA
63
64#endif