hw/hppa: Make number of TLB and BTLB entries configurable
authorHelge Deller <deller@gmx.de>
Thu, 27 Aug 2020 11:10:32 +0000 (13:10 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 2 Sep 2020 21:16:48 +0000 (23:16 +0200)
commitdf5c6a50944697bf1373582dcea719697edbc9ed
tree38f37da32b9da19345ca984e681531f8b6235e5e
parent009673edd938352d4238ba3dbe40a99da2c83e00
hw/hppa: Make number of TLB and BTLB entries configurable

Until now the TLB size was fixed at 256 entries. To allow operating
systems to utilize more TLB entries in the future, we need to tell
firmware how many TLB entries we actually support in the emulation.
Firmware then reports this to the operating system via the
PDC_CACHE_INFO call.

This patch simply does the preparation to allow more TLB entries.

Signed-off-by: Helge Deller <deller@gmx.de>
hw/hppa/machine.c
target/hppa/cpu.h