~kris/9p

9hist

ref: 8a69ccf4e63d9f93e3a4c9796c45833e43a84660 9hist/bitsy/devflash.c -rw-r--r-- 291 bytes
8a69ccf4 — David du Colombier Plan 9 from Bell Labs 2000-11-02 25 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include	"u.h"
#include	"../port/lib.h"
#include	"mem.h"
#include	"dat.h"
#include	"fns.h"
#include	"io.h"
#include	"../port/error.h"

/* flash partitions */
typedef struct FlashPart FlashPart;
struct FlashPart
{
	QLock;
	char	name[NAMELEN];
	ulong	start;		/* byte offsets */
	ulong	end;
};