userconf.h revision 1.6
11.6Suebayasi/*	$NetBSD: userconf.h,v 1.6 2011/05/26 04:25:27 uebayasi Exp $	*/
21.1Sgmcgarry
31.1Sgmcgarry/*-
41.6Suebayasi * Copyright (c) 2001, 2009 The NetBSD Foundation, Inc.
51.1Sgmcgarry * All rights reserved.
61.1Sgmcgarry *
71.1Sgmcgarry * Redistribution and use in source and binary forms, with or without
81.1Sgmcgarry * modification, are permitted provided that the following conditions
91.1Sgmcgarry * are met:
101.1Sgmcgarry * 1. Redistributions of source code must retain the above copyright
111.1Sgmcgarry *    notice, this list of conditions and the following disclaimer.
121.1Sgmcgarry * 2. Redistributions in binary form must reproduce the above copyright
131.1Sgmcgarry *    notice, this list of conditions and the following disclaimer in the
141.1Sgmcgarry *    documentation and/or other materials provided with the distribution.
151.1Sgmcgarry *
161.1Sgmcgarry * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
171.1Sgmcgarry * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Sgmcgarry * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Sgmcgarry * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
201.1Sgmcgarry * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Sgmcgarry * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Sgmcgarry * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Sgmcgarry * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Sgmcgarry * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Sgmcgarry * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Sgmcgarry * POSSIBILITY OF SUCH DAMAGE.
271.1Sgmcgarry */
281.1Sgmcgarry
291.1Sgmcgarry#ifndef _SYS_USERCONF_H_
301.2Skleink#define _SYS_USERCONF_H_
311.1Sgmcgarry
321.6Suebayasi#include <sys/cpu.h>
331.6Suebayasi
341.6Suebayasivoid userconf_init(void);
351.6Suebayasivoid userconf_prompt(void);
361.6Suebayasiint userconf_parse(char *);
371.6Suebayasi
381.6Suebayasi#ifdef __HAVE_USERCONF_BOOTINFO
391.6Suebayasivoid userconf_bootinfo(void);
401.6Suebayasi#endif
411.1Sgmcgarry
421.2Skleink#endif /* !_SYS_USERCONF_H_ */
43