-/* $OpenBSD: prom.c,v 1.15 2014/12/18 10:46:45 dlg Exp $ */
+/* $OpenBSD: prom.c,v 1.16 2014/12/18 10:50:02 dlg Exp $ */
/* $NetBSD: prom.c,v 1.39 2000/03/06 21:36:05 thorpej Exp $ */
/*
#endif /* _PMAP_MAY_USE_PROM_CONSOLE */
void
-init_prom_interface(rpb)
- struct rpb *rpb;
+init_prom_interface(struct rpb *rpb)
{
struct crb *c;
* of the console area.
*/
void
-promcnputc(dev, c)
- dev_t dev;
- int c;
+promcnputc(dev_t dev, int c)
{
prom_return_t ret;
unsigned char *to = (unsigned char *)0x20000000;
* Wait for the prom to get a real char and pass it back.
*/
int
-promcngetc(dev)
- dev_t dev;
+promcngetc(dev_t dev)
{
prom_return_t ret;
* See if prom has a real char and pass it back.
*/
int
-promcnlookc(dev, cp)
- dev_t dev;
- char *cp;
+promcnlookc(dev_t dev, char *cp)
{
prom_return_t ret;
}
int
-prom_getenv(id, buf, len)
- int id, len;
- char *buf;
+prom_getenv(int id, char *buf, int len)
{
unsigned char *to = (unsigned char *)0x20000000;
prom_return_t ret;
}
void
-prom_halt(halt)
- int halt;
+prom_halt(int halt)
{
struct pcs *p;
}
u_int64_t
-console_restart(framep)
- struct trapframe *framep;
+console_restart(struct trapframe *framep)
{
struct pcs *p;