1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 168 unchanged lines hidden (view full) --- 177} 178 179inline int 180addressOffset(Address addr) 181{ 182 return addr.getOffset(); 183} 184 |
185inline int 186mod(int val, int mod) 187{ 188 return val % mod; 189} 190 |
191#endif // __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__ |