2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2010 Free Software Foundation, Inc. 2N/A * GRUB is free software: you can redistribute it and/or modify 2N/A * it under the terms of the GNU General Public License as published by 2N/A * the Free Software Foundation, either version 3 of the License, or 2N/A * (at your option) any later version. 2N/A * GRUB is distributed in the hope that it will be useful, 2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2N/A * GNU General Public License for more details. 2N/A * You should have received a copy of the GNU General Public License 2N/A /* Since grub_relocator_firmware_fill_events uses malloc 2N/A we need some reserve. Hence +10. */ 2N/A /* post-4G addresses are never supported on 32-bit EFI. 2N/A Moreover it has been reported that some 64-bit EFI contrary to the 2N/A spec don't map post-4G pages. So if you enable post-4G allocations, 2N/A map pages manually or check that they are mapped.