~kris/9p

9hist

ref: 98fa67bbffa0242d369873fc94f8dd8e7c6b4307 9hist/bitsy/devflash.c -rw-r--r-- 291 bytes
98fa67bb — David du Colombier Plan 9 from Bell Labs 2000-11-03 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;
};