1101704Smjacob/*- 2139749Simp * Copyright (c) 2017 Netflix, Inc. 3101704Smjacob * 4101704Smjacob * Redistribution and use in source and binary forms, with or without 5101704Smjacob * modification, are permitted provided that the following conditions 6101704Smjacob * are met: 7101704Smjacob * 1. Redistributions of source code must retain the above copyright 8101704Smjacob * notice, this list of conditions and the following disclaimer. 9101704Smjacob * 2. Redistributions in binary form must reproduce the above copyright 10101704Smjacob * notice, this list of conditions and the following disclaimer in the 11101704Smjacob * documentation and/or other materials provided with the distribution. 12101704Smjacob * 13101704Smjacob * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14101704Smjacob * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15101704Smjacob * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16101704Smjacob * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17101704Smjacob * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18101704Smjacob * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19101704Smjacob * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20101704Smjacob * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21101704Smjacob * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22101704Smjacob * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23101704Smjacob * SUCH DAMAGE. 24101704Smjacob */ 25101704Smjacob 26101704Smjacob/* 27101704Smjacob * different routines to dump data. 28156000Smjacob */ 29156000Smjacob 30156000Smjacobvoid asciidump(uint8_t *data, size_t datalen); 31156000Smjacobvoid bindump(uint8_t *data, size_t datalen); 32156000Smjacobvoid efi_print_load_option(uint8_t *, size_t, int, int, int); 33156000Smjacobvoid hexdump(uint8_t *data, size_t datalen); 34156000Smjacobvoid utf8dump(uint8_t *data, size_t datalen); 35156000Smjacob 36156000Smjacob