/****************************************************************************** * wimboot.h * * Copyright (c) 2020, longpanda * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . * */ #ifndef __WIMBOOT_H__ #define __WIMBOOT_H__ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "ventoy_def.h" #define size_t grub_size_t #define ssize_t grub_ssize_t #define memset grub_memset #define memcpy grub_memcpy #define uint8_t grub_uint8_t #define uint16_t grub_uint16_t #define uint32_t grub_uint32_t #define uint64_t grub_uint64_t #define int32_t grub_int32_t #define assert(exp) //#define DBG grub_printf #define DBG(fmt, ...) const char * huffman_bin ( unsigned long value, unsigned int bits ); #endif