bank16k_low: Introduce 16K low common banking logic and use it
authorAlan Cox <alan@linux.intel.com>
Sat, 24 Jan 2015 21:23:18 +0000 (21:23 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 24 Jan 2015 21:23:18 +0000 (21:23 +0000)
commita0358984cec08d8005159ff366a2d02af6819b90
treeecb57b2c4f6e15ed62e54a24476162ae0009ca11
parenta7ccb63c1e17cb218428469449429ad1065666a4
bank16k_low: Introduce 16K low common banking logic and use it

We need a different algorithm because we must keep the low page safe not the high
one. The standard bank16k grows by inserting pages before the existing repeating
top map so that common is preserved in high space. The 6502 has common in low
space so we must instead preserve the first page mapping.
Kernel/Makefile
Kernel/bank16k_low.c [new file with mode: 0644]
Kernel/platform-tgl6502/Makefile
Kernel/platform-tgl6502/config.h
Kernel/platform-tgl6502/main.c