On 12.01.2018 15:34, David Hildenbrand wrote: > Unfortunately, there is no easy way to simply read out the amount > of installed memory. We have to probe (via TEST PROTECTION) for installed > memory in a given range. > > Signed-off-by: David Hildenbrand <david@xxxxxxxxxx> > --- > lib/s390x/asm/arch_def.h | 12 ++++++++++ > lib/s390x/asm/interrupt.h | 1 + > lib/s390x/interrupt.c | 11 +++++++++ > lib/s390x/io.c | 1 + > lib/s390x/sclp.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++ > lib/s390x/sclp.h | 1 + > s390x/Makefile | 1 + > 7 files changed, 85 insertions(+) > create mode 100644 lib/s390x/sclp.c Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>