base-hw: add bitfield to pl310

Enabling double linefills improves memcpy throughput.

genodelabs/genode#4456
This commit is contained in:
Johannes Schlatow 2022-03-25 13:52:29 +01:00 committed by Christian Helmuth
parent d1f9434fd5
commit d372afd81e

View File

@ -95,8 +95,9 @@ class Hw::Pl310 : public Genode::Mmio
struct Prefetch_ctrl : Register<0xf60, 32>
{
struct Data_prefetch : Bitfield<28,1> { };
struct Inst_prefetch : Bitfield<29,1> { };
struct Data_prefetch : Bitfield<28,1> { };
struct Inst_prefetch : Bitfield<29,1> { };
struct Double_linefill : Bitfield<30,1> { };
};
void _sync() { while (read<Cache_sync>()) ; }