isa_traits.hh (6974:4d4903a3e7c5) isa_traits.hh (7580:6f77f379a594)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

90const Addr KSSegEnd = ULL(0xDFFFFFFF);
91const Addr KSSegBase = ULL(0xC0000000);
92
93// Kernel Segment 3 - Mapped
94const Addr KSeg3End = ULL(0xFFFFFFFF);
95const Addr KSeg3Base = ULL(0xE0000000);
96
97
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

90const Addr KSSegEnd = ULL(0xDFFFFFFF);
91const Addr KSSegBase = ULL(0xC0000000);
92
93// Kernel Segment 3 - Mapped
94const Addr KSeg3End = ULL(0xFFFFFFFF);
95const Addr KSeg3Base = ULL(0xE0000000);
96
97
98// For loading... XXX This maybe could be USegEnd?? --ali
99const Addr LoadAddrMask = ULL(0xffffffffff);
100
101inline Addr Phys2K0Seg(Addr addr)
102{
103 return addr | KSeg0Base;
104}
105
106
107const unsigned VABits = 32;
108const unsigned PABits = 32; // Is this correct?

--- 64 unchanged lines hidden ---
98inline Addr Phys2K0Seg(Addr addr)
99{
100 return addr | KSeg0Base;
101}
102
103
104const unsigned VABits = 32;
105const unsigned PABits = 32; // Is this correct?

--- 64 unchanged lines hidden ---