Deleted Added
full compact
openfirm.c (131783) openfirm.c (133862)
1/* $NetBSD: Locore.c,v 1.7 2000/08/20 07:04:59 tsubai Exp $ */
2
3/*
4 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5 * Copyright (C) 1995, 1996 TooLs GmbH.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 42 unchanged lines hidden (view full) ---

51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
52 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
53 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
54 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
55 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 */
57
58#include <sys/cdefs.h>
1/* $NetBSD: Locore.c,v 1.7 2000/08/20 07:04:59 tsubai Exp $ */
2
3/*
4 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5 * Copyright (C) 1995, 1996 TooLs GmbH.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 42 unchanged lines hidden (view full) ---

51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
52 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
53 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
54 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
55 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 */
57
58#include <sys/cdefs.h>
59__FBSDID("$FreeBSD: head/sys/boot/ofw/libofw/openfirm.c 131783 2004-07-08 06:09:22Z grehan $");
59__FBSDID("$FreeBSD: head/sys/boot/ofw/libofw/openfirm.c 133862 2004-08-16 15:45:27Z marius $");
60
61#include <machine/stdarg.h>
62
63#include <stand.h>
64
65#include "openfirm.h"
66
67int (*openfirmware)(void *);

--- 789 unchanged lines hidden (view full) ---

857 0
858 };
859
860 args.bootspec = (cell_t)bootspec;
861 openfirmware(&args);
862 for (;;); /* just in case */
863}
864
60
61#include <machine/stdarg.h>
62
63#include <stand.h>
64
65#include "openfirm.h"
66
67int (*openfirmware)(void *);

--- 789 unchanged lines hidden (view full) ---

857 0
858 };
859
860 args.bootspec = (cell_t)bootspec;
861 openfirmware(&args);
862 for (;;); /* just in case */
863}
864
865/* Suspend and drop back to the OpenFirmware interface. */
865/* Suspend and drop back to the Open Firmware interface. */
866void
867OF_enter()
868{
869 static struct {
870 cell_t name;
871 cell_t nargs;
872 cell_t nreturns;
873 } args = {
874 (cell_t)"enter",
875 0,
876 0
877 };
878
879 openfirmware(&args);
880}
881
866void
867OF_enter()
868{
869 static struct {
870 cell_t name;
871 cell_t nargs;
872 cell_t nreturns;
873 } args = {
874 (cell_t)"enter",
875 0,
876 0
877 };
878
879 openfirmware(&args);
880}
881
882/* Shut down and drop back to the OpenFirmware interface. */
882/* Shut down and drop back to the Open Firmware interface. */
883void
884OF_exit()
885{
886 static struct {
887 cell_t name;
888 cell_t nargs;
889 cell_t nreturns;
890 } args = {

--- 56 unchanged lines hidden ---
883void
884OF_exit()
885{
886 static struct {
887 cell_t name;
888 cell_t nargs;
889 cell_t nreturns;
890 } args = {

--- 56 unchanged lines hidden ---