The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/fs/partitions/acorn.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * fs/partitions/acorn.h
    3  *
    4  * Copyright (C) 1996-1998 Russell King
    5  */
    6 #include <linux/adfs_fs.h>
    7 
    8 /*
    9  * Partition types. (Oh for reusability)
   10  */
   11 #define PARTITION_RISCIX_MFM    1
   12 #define PARTITION_RISCIX_SCSI   2
   13 #define PARTITION_LINUX         9
   14 
   15 struct riscix_part {
   16         __u32  start;
   17         __u32  length;
   18         __u32  one;
   19         char name[16];
   20 };
   21 
   22 struct riscix_record {
   23         __u32  magic;
   24 #define RISCIX_MAGIC    (0x4a657320)
   25         __u32  date;
   26         struct riscix_part part[8];
   27 };
   28 
   29 #define LINUX_NATIVE_MAGIC 0xdeafa1de
   30 #define LINUX_SWAP_MAGIC   0xdeafab1e
   31 
   32 struct linux_part {
   33         __u32 magic;
   34         __u32 start_sect;
   35         __u32 nr_sects;
   36 };
   37 
   38 struct ics_part {
   39         __u32 start;
   40         __s32 size;
   41 };
   42 
   43 struct ptec_partition {
   44         __u32 unused1;
   45         __u32 unused2;
   46         __u32 start;
   47         __u32 size;
   48         __u32 unused5;
   49         char type[8];
   50 };
   51         
   52 
   53 int acorn_partition(struct gendisk *hd, struct block_device *bdev,
   54                    unsigned long first_sect, int first_minor);
   55 

Cache object: f2009cf4fd13fbda0328bb98edc49d74


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.