diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-10-18 21:01:05 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-10-18 21:01:05 -0400 |
commit | 4f43bc65eaf67c2458177f6e77b2ca611cb21ef7 (patch) | |
tree | 81221b6ccfeb4ce78e88e13545b6da1097c3e6e3 /dev/ns_gige_reg.h | |
parent | e999645caf2f5808512a1f4e88cf8a24d8f8cbc6 (diff) | |
download | gem5-4f43bc65eaf67c2458177f6e77b2ca611cb21ef7.tar.xz |
use the dedicated flag, no more exposing the m5reg directly
dev/ns_gige.cc:
stop exposing the m5reg to the configuration stuff and build it
based on exposed flags. Expose dedicated now.
dev/ns_gige.hh:
goodbye m5reg hello dedicated
dev/ns_gige_reg.h:
Flags for the M5REG
--HG--
extra : convert_revision : 11134fe67cdf5291caacf9b3041739c437b983e3
Diffstat (limited to 'dev/ns_gige_reg.h')
-rw-r--r-- | dev/ns_gige_reg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/ns_gige_reg.h b/dev/ns_gige_reg.h index 54ffb9075..f919ff086 100644 --- a/dev/ns_gige_reg.h +++ b/dev/ns_gige_reg.h @@ -304,6 +304,10 @@ #define TANAR_FULL_DUP 0x00000020 #define TANAR_UNUSED 0x00000E1F +/* M5 control register */ +#define M5REG_RESERVED 0xfffffffe +#define M5REG_DEDICATED 0x00000001 + struct ns_desc32 { uint32_t link; /* link field to next descriptor in linked list */ uint32_t bufptr; /* pointer to the first fragment or buffer */ |