OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [setup.h] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 * include/asm/setup.h
3
 *
4
 * Structure passed to kernel to tell it about the hardware it's running on
5
 *
6
 * Copyright (C) 1997,1998 Russell King
7
 */
8
#ifndef __ASMARM_SETUP_H
9
#define __ASMARM_SETUP_H
10
 
11
struct param_struct {
12
    union {
13
        struct {
14
            unsigned long page_size;            /*  0 */
15
            unsigned long nr_pages;             /*  4 */
16
            unsigned long ramdisk_size;         /*  8 */
17
            unsigned long flags;                /* 12 */
18
#define FLAG_READONLY   1
19
#define FLAG_RDLOAD     4
20
#define FLAG_RDPROMPT   8
21
            unsigned long rootdev;              /* 16 */
22
            unsigned long video_num_cols;       /* 20 */
23
            unsigned long video_num_rows;       /* 24 */
24
            unsigned long video_x;              /* 28 */
25
            unsigned long video_y;              /* 32 */
26
            unsigned long bytes_per_char_h;     /* 36 */
27
            unsigned long bytes_per_char_v;     /* 40 */
28
            unsigned long initrd_start;         /* 44 */
29
            unsigned long initrd_size;          /* 48 */
30
            unsigned long rd_start;             /* 52 */
31
        } s;
32
        char unused[256];
33
    } u1;
34
    union {
35
        char paths[8][128];
36
        struct {
37
            unsigned long magic;
38
            char n[1024 - sizeof(unsigned long)];
39
        } s;
40
    } u2;
41
    char commandline[256];
42
};
43
 
44
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.