From 90b1775a8f87834d4c27d4c98483bb7b1e5e9679 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Fri, 24 Jan 2014 15:29:30 -0600 Subject: cpu: Add support for instructions that zero cache lines. --- src/mem/request.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mem/request.hh') diff --git a/src/mem/request.hh b/src/mem/request.hh index ebf0ebb58..28d378628 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -114,6 +114,11 @@ class Request /** This request is made in privileged mode. */ static const FlagsType PRIVILEGED = 0x00008000; + /** This is a write that is targeted and zeroing an entire cache block. + * There is no need for a read/modify/write + */ + static const FlagsType CACHE_BLOCK_ZERO = 0x00010000; + /** The request should not cause a memory access. */ static const FlagsType NO_ACCESS = 0x00080000; /** This request will lock or unlock the accessed memory. When used with -- cgit v1.2.3