qemu-e2k/hw/ppc
Alexander Graf fb37c3029c PPC: e500: Only expose even TLB sizes in initial TLB
When booting our e500 machine, we automatically generate a big TLB entry
in TLB1 that covers all of the code we need to run in there until the guest
can handle its TLB on its own.

However, e500v2 can only handle MAS1.0 sizes. However, we keep our TLB
information in MAS2.0 layout, which means we have twice as many TLB sizes
to choose from. That also means we can run into a situation where we try
to add a TLB size that could not fit into the MAS1.0 size bits.

Fix it by making sure we always have the lower bit set to 0. That way we
are always guaranteed to have MAS1.0 compatible TLB size information.

Signed-off-by: Alexander Graf <agraf@suse.de>
2012-10-05 02:35:11 +02:00
..
e500.c PPC: e500: Only expose even TLB sizes in initial TLB 2012-10-05 02:35:11 +02:00
e500.h PPC: e500: split mpc8544ds machine from generic e500 code 2012-08-15 19:43:13 +02:00
e500plat.c PPC: e500: add generic e500 platform 2012-08-15 19:43:13 +02:00
Makefile.objs PPC: e500: add generic e500 platform 2012-08-15 19:43:13 +02:00
mpc8544ds.c PPC: e500: split mpc8544ds machine from generic e500 code 2012-08-15 19:43:13 +02:00