xref: /openbsd-src/usr.sbin/installboot/hppa_installboot.c (revision c3e1bf61f341872489eb4f26a008bb8b84534147)
1*c3e1bf61Skettenis /*	$OpenBSD: hppa_installboot.c,v 1.4 2021/07/20 14:51:56 kettenis Exp $	*/
2b4544c7cSjsing 
3b4544c7cSjsing /*
4b4544c7cSjsing  * Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
5b4544c7cSjsing  *
6b4544c7cSjsing  * Permission to use, copy, modify, and distribute this software for any
7b4544c7cSjsing  * purpose with or without fee is hereby granted, provided that the above
8b4544c7cSjsing  * copyright notice and this permission notice appear in all copies.
9b4544c7cSjsing  *
10b4544c7cSjsing  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11b4544c7cSjsing  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12b4544c7cSjsing  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13b4544c7cSjsing  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14b4544c7cSjsing  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15b4544c7cSjsing  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16b4544c7cSjsing  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17b4544c7cSjsing  */
18b4544c7cSjsing 
19b4544c7cSjsing #include "installboot.h"
20b4544c7cSjsing 
21b4544c7cSjsing void
md_init(void)22b4544c7cSjsing md_init(void)
23b4544c7cSjsing {
24b4544c7cSjsing 	stages = 1;
25b4544c7cSjsing 	stage1 = "/usr/mdec/boot.lif";
26b4544c7cSjsing }
27b4544c7cSjsing 
28b4544c7cSjsing void
md_loadboot(void)29b4544c7cSjsing md_loadboot(void)
30b4544c7cSjsing {
31b4544c7cSjsing }
32b4544c7cSjsing 
33b4544c7cSjsing void
md_prepareboot(int devfd,char * dev)34*c3e1bf61Skettenis md_prepareboot(int devfd, char *dev)
35*c3e1bf61Skettenis {
36*c3e1bf61Skettenis }
37*c3e1bf61Skettenis 
38*c3e1bf61Skettenis void
md_installboot(int devfd,char * dev)39b4544c7cSjsing md_installboot(int devfd, char *dev)
40b4544c7cSjsing {
41f917af54Skrw 	bootstrap(devfd, dev, stage1);
42b4544c7cSjsing }
43