summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-04-21 18:23:41 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2004-04-21 18:23:41 -0400
commitbf8de77465e3cbfcc9188c263080e9dc29a89f19 (patch)
tree05b67a5cb79dd17fae0251f67c7c578929a960f5 /base
parentf4168a708c15c219a968d9cd665b571705467875 (diff)
downloadgem5-bf8de77465e3cbfcc9188c263080e9dc29a89f19.tar.xz
This is where I'm at for Linux Ethernet before I head to Mexico.
base/range.hh: andrew thought this might be a bug. dev/etherpkt.cc: don't need std:: since there is a using directive dev/ns_gige.cc: update to new PIO and PCI system dev/ns_gige.hh: update to deal with new PIO and PCI setup dev/ns_gige_reg.h: Add some new #defines that I ended up needing dev/pcidev.cc: some changes to the debugging printfs of pci device --HG-- extra : convert_revision : 955ba8e8e1c418cfe1c6549dc3451ea091541556
Diffstat (limited to 'base')
-rw-r--r--base/range.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/range.hh b/base/range.hh
index d72aa9755..2c4a43f48 100644
--- a/base/range.hh
+++ b/base/range.hh
@@ -225,7 +225,7 @@ inline bool
operator==(const T &pos, const Range<U> &range)
{
assert(range.valid());
- return pos >= range.start && pos < range.end;
+ return pos >= range.start && pos <= range.end;
}
/**