History log of /kvm-unit-tests/lib/getchar.c (Results 1 – 1 of 1)
Revision Date Author Comments
# 1aee4297 07-Feb-2018 Andrew Jones <drjones@redhat.com>

powerpc: Introduce getchar

Move the unit test specific h_get_term_char() to powerpc common code.
Make it __getchar() because it is not blocking, and wrap it with a
real getchar(). Other architecture

powerpc: Introduce getchar

Move the unit test specific h_get_term_char() to powerpc common code.
Make it __getchar() because it is not blocking, and wrap it with a
real getchar(). Other architectures may want to implement __getchar()
too (ARM will in a coming patch), so put the prototype in libcflat.h

Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20180207190334.16516-5-drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...