efibootia32.c revision 1.1
160484Sobrien/* $NetBSD: efibootia32.c,v 1.1 2017/01/24 11:09:14 nonaka Exp $ */ 260484Sobrien 360484Sobrien/*- 460484Sobrien * Copyright (c) 2016 Kimihiro Nonaka <nonaka@netbsd.org> 560484Sobrien * All rights reserved. 660484Sobrien * 760484Sobrien * Redistribution and use in source and binary forms, with or without 860484Sobrien * modification, are permitted provided that the following conditions 960484Sobrien * are met: 1060484Sobrien * 1. Redistributions of source code must retain the above copyright 1160484Sobrien * notice, this list of conditions and the following disclaimer. 1260484Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1360484Sobrien * notice, this list of conditions and the following disclaimer in the 1460484Sobrien * documentation and/or other materials provided with the distribution. 1560484Sobrien * 1660484Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1760484Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1860484Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1960484Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2060484Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2160484Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2260484Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2360484Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2460484Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2560484Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2660484Sobrien * SUCH DAMAGE. 2760484Sobrien */ 2860484Sobrien 2960484Sobrien#include "efiboot.h" 3060484Sobrien 3160484Sobrien#include <sys/bootblock.h> 3260484Sobrien 3360484Sobrienstruct x86_boot_params boot_params; 3460484Sobrien 3560484Sobrienvoid 3660484Sobrienefi_md_init(void) 3760484Sobrien{ 3860484Sobrien /* Nothing to do */ 3960484Sobrien} 4060484Sobrien 4160484Sobrienvoid 4260484Sobrienstartprog(physaddr_t entry, uint32_t argc, uint32_t *argv, physaddr_t sp) 4360484Sobrien{ 4460484Sobrien Panic(L"%a: not implemented", __func__); 4560484Sobrien} 4660484Sobrien 4760484Sobrienvoid 4860484Sobrienmultiboot(physaddr_t entry, physaddr_t header, physaddr_t sp) 4960484Sobrien{ 5060484Sobrien Panic(L"%a: not implemented", __func__); 5160484Sobrien} 5260484Sobrien