isa_traits.hh (12408:51e487705276) isa_traits.hh (12427:b0611f1ad833)
1/*
2 * Copyright (c) 2003-2005 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;

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

39
40namespace BigEndianGuest {}
41
42namespace SparcISA
43{
44// This makes sure the big endian versions of certain functions are used.
45using namespace BigEndianGuest;
46
1/*
2 * Copyright (c) 2003-2005 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;

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

39
40namespace BigEndianGuest {}
41
42namespace SparcISA
43{
44// This makes sure the big endian versions of certain functions are used.
45using namespace BigEndianGuest;
46
47// SPARC has a delay slot
48#define ISA_HAS_DELAY_SLOT 1
49
50// real address virtual mapping
51// sort of like alpha super page, but less frequently used
52const Addr SegKPMEnd = ULL(0xfffffffc00000000);
53const Addr SegKPMBase = ULL(0xfffffac000000000);
54
55const Addr PageShift = 13;
56const Addr PageBytes = ULL(1) << PageShift;
57

--- 30 unchanged lines hidden ---
47// real address virtual mapping
48// sort of like alpha super page, but less frequently used
49const Addr SegKPMEnd = ULL(0xfffffffc00000000);
50const Addr SegKPMBase = ULL(0xfffffac000000000);
51
52const Addr PageShift = 13;
53const Addr PageBytes = ULL(1) << PageShift;
54

--- 30 unchanged lines hidden ---