Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/ss/rom.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname ss/rom.h 1992/0807
## diff -e /dev/null /n/bootesdump/1992/0807/sys/src/9/ss/rom.h
0a
typedef struct ROM	ROM;
typedef struct ROMconf	ROMconf;

struct ROM
{
	uint	magic;
	uint	version;
	uint	plugversion;
	uint	monid;
	uint	pad1[3];
	ROMconf	*conf;
	uint	pad2[17];
	void	(*boot)(void*);
	uint	pad3[1];
	void	(*enter)(void);
	int	*msec;
	void	(*exit)(void);
	void	(**callback)(void);
	uint	(*interpret)(void*);
	uint	pad4[2];	
	char	**bootpath;
	char	**bootargs;
	uint	*stdin;
	uint	*stdout;
	uint	(*phandle)(uint);
	uint	(*alloc)(void*, uint);
	void	(*free)(void*);
	uint	(*map)(void*, uint, uint, uint);
	void	(*unmap)(void*, uint);
	uint	(*open)(char*);
	uint	(*close)(uint);
	uint	(*read)(uint, void*, int);
	uint	(*write)(uint, void*, int);
	uint	(*seek)(uint, uint, uint);
	void	(*chain)(void*, uint, void*, void*, uint);
	void	(*release)(void*, uint);
	uint	pad5[16];
	int	(*startcpu)(uint, uint, uint, uint);
	int	(*stopcpu)(uint);
	int	(*idlecpu)(uint);
	int	(*resumecpu)(uint);
};

struct ROMconf
{
	uint	(*next)(uint);
	uint	(*child)(uint);
	int	(*getproplen)(uint, void*);
	int	(*getprop)(uint, void*, void*);
	void*	(*nextprop)(uint, void*);	
};

#define	ROMMAGIC	0x10010407

extern	ROM	*rom;
.
## diffname ss/rom.h 1992/0808
## diff -e /n/bootesdump/1992/0807/sys/src/9/ss/rom.h /n/bootesdump/1992/0808/sys/src/9/ss/rom.h
49a
	int	(*setprop)(uint, void*, void*);
.
37c
	uint	pad4[15];
	void	(*putcxsegm)(int, ulong, int);
.
## diffname ss/rom.h 1993/0501 # deleted
## diff -e /n/bootesdump/1992/0808/sys/src/9/ss/rom.h /n/fornaxdump/1993/0501/sys/src/brazil/ss/rom.h
1,57d

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].