Make the openfirmware entry point function pointer non-static so that it
can be passed to the kernel.
This commit is contained in:
parent
823a5e8365
commit
eea923d7f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85717
@ -63,7 +63,8 @@
|
||||
|
||||
#include "openfirm.h"
|
||||
|
||||
static int (*openfirmware)(void *);
|
||||
int (*openfirmware)(void *);
|
||||
|
||||
static ihandle_t stdin;
|
||||
static ihandle_t stdout;
|
||||
|
||||
|
@ -69,6 +69,7 @@ typedef unsigned int ihandle_t;
|
||||
typedef unsigned int phandle_t;
|
||||
typedef unsigned long int cell_t;
|
||||
|
||||
extern int (*openfirmware)(void *);
|
||||
extern phandle_t chosen;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user