xref: /openbsd-src/usr.sbin/installboot/stubs.c (revision c3e1bf61f341872489eb4f26a008bb8b84534147)
1*c3e1bf61Skettenis /*	$OpenBSD: stubs.c,v 1.5 2021/07/20 14:51:56 kettenis Exp $	*/
239e364efSjsing 
339e364efSjsing /*
439e364efSjsing  * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
539e364efSjsing  *
639e364efSjsing  * Permission to use, copy, modify, and distribute this software for any
739e364efSjsing  * purpose with or without fee is hereby granted, provided that the above
839e364efSjsing  * copyright notice and this permission notice appear in all copies.
939e364efSjsing  *
1039e364efSjsing  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1139e364efSjsing  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1239e364efSjsing  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1339e364efSjsing  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1439e364efSjsing  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1539e364efSjsing  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1639e364efSjsing  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1739e364efSjsing  */
1839e364efSjsing 
198de3cdacSjsing #include <err.h>
208de3cdacSjsing 
2139e364efSjsing #include "installboot.h"
2239e364efSjsing 
2339e364efSjsing void
md_init(void)2439e364efSjsing md_init(void)
2539e364efSjsing {
2639e364efSjsing 	errx(1, "not yet implemented");
2739e364efSjsing }
2839e364efSjsing 
2939e364efSjsing void
md_loadboot(void)3039e364efSjsing md_loadboot(void)
3139e364efSjsing {
3239e364efSjsing }
3339e364efSjsing 
3439e364efSjsing void
md_prepareboot(int devfd,char * dev)35*c3e1bf61Skettenis md_prepareboot(int devfd, char *dev)
36*c3e1bf61Skettenis {
37*c3e1bf61Skettenis }
38*c3e1bf61Skettenis 
39*c3e1bf61Skettenis void
md_installboot(int devfd,char * dev)4039e364efSjsing md_installboot(int devfd, char *dev)
4139e364efSjsing {
4239e364efSjsing }
43