Deleted Added
sdiff udiff text old ( 5139:2422708d4fcb ) new ( 5237:6c819dbe8045 )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

364 X86Interrupt("Software Interrupt", "INTn")
365 {}
366 };
367
368 // These faults aren't part of the ISA definition. They trigger filling
369 // the tlb on a miss and are to take the place of a hardware table walker.
370 class FakeITLBFault : public X86Fault
371 {
372 protected:
373 Addr vaddr;
374 public:
375 FakeITLBFault(Addr _vaddr) :
376 X86Fault("fake instruction tlb fault", "itlb"),
377 vaddr(_vaddr)
378 {}
379
380 void invoke(ThreadContext * tc);
381 };
382
383 class FakeDTLBFault : public X86Fault
384 {
385 protected:
386 Addr vaddr;
387 public:
388 FakeDTLBFault(Addr _vaddr) :
389 X86Fault("fake data tlb fault", "dtlb"),
390 vaddr(_vaddr)
391 {}
392
393 void invoke(ThreadContext * tc);
394 };
395};
396
397#endif // __ARCH_X86_FAULTS_HH__