File: local.h

package info (click to toggle)
mtd 20050122-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,244 kB
  • ctags: 9,869
  • sloc: ansic: 97,013; asm: 1,055; sh: 558; makefile: 356; cpp: 68
file content (22 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* This header binds the reader code to some functions in the boot loader,
   providing some simple dummy structures to emulate the kernel */

#include "proto.h"

struct qstr 
{
   unsigned char *name;
   unsigned int len;
};

#include "ffs2_fs.h"
#include "ffs2_fs_sb.h"

#ifdef SMALLER
# define printk(x...)
#else
# define printk printf
#endif
#define getFFS2_sb(x) (*((struct ffs2_sb_info *)x))