Use MaxMode to terminate the mode iteration. Actually the old way
authoryasuoka <yasuoka@openbsd.org>
Tue, 30 Aug 2016 20:31:09 +0000 (20:31 +0000)
committeryasuoka <yasuoka@openbsd.org>
Tue, 30 Aug 2016 20:31:09 +0000 (20:31 +0000)
commitc5259e9c0a7abd781e42ec2bd55ec54f3c711588
tree9a7f3101aa3f42816eacf4e19f32a1b955c4751d
parentbcdcf01e59c285b75a7e52706ed1e3260c38f470
Use MaxMode to terminate the mode iteration.  Actually the old way
couldn't interate the ConsOut modes properly on qemu.

input NONAKA Kimihiro
sys/arch/amd64/stand/efiboot/efiboot.c