Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/ofwboot handle prototype for freeall
details: https://anonhg.NetBSD.org/src/rev/2940d7d9c184
branches: trunk
changeset: 765088:2940d7d9c184
user: christos <christos%NetBSD.org@localhost>
date: Thu May 19 03:09:47 2011 +0000
description:
handle prototype for freeall
diffstat:
sys/arch/sparc/stand/ofwboot/alloc.c | 3 ++-
sys/arch/sparc/stand/ofwboot/boot.h | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r d04350a45c00 -r 2940d7d9c184 sys/arch/sparc/stand/ofwboot/alloc.c
--- a/sys/arch/sparc/stand/ofwboot/alloc.c Thu May 19 03:07:29 2011 +0000
+++ b/sys/arch/sparc/stand/ofwboot/alloc.c Thu May 19 03:09:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alloc.c,v 1.4 2008/04/28 20:23:36 martin Exp $ */
+/* $NetBSD: alloc.c,v 1.5 2011/05/19 03:09:47 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -82,6 +82,7 @@
#include <lib/libsa/stand.h>
#include "openfirm.h"
+#include "boot.h"
/*
* Each block actually has ALIGN(struct ml) + ALIGN(size) bytes allocated
diff -r d04350a45c00 -r 2940d7d9c184 sys/arch/sparc/stand/ofwboot/boot.h
--- a/sys/arch/sparc/stand/ofwboot/boot.h Thu May 19 03:07:29 2011 +0000
+++ b/sys/arch/sparc/stand/ofwboot/boot.h Thu May 19 03:09:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.h,v 1.6 2011/01/22 19:19:24 joerg Exp $ */
+/* $NetBSD: boot.h,v 1.7 2011/05/19 03:09:47 christos Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -63,6 +63,9 @@
#define LOADFILE_MMU_ALLOCATOR 0x2
extern void loadfile_set_allocator(int);
+/* alloc.c */
+extern vois freeall(void);
+
/* ofdev.c */
char *filename(char*, char*);
Home |
Main Index |
Thread Index |
Old Index