~ubuntu-branches/ubuntu/trusty/proll/trusty

« back to all changes in this revision

Viewing changes to src/openprom.h

  • Committer: Bazaar Package Importer
  • Author(s): Guillem Jover
  • Date: 2011-06-08 04:35:59 UTC
  • Revision ID: james.westby@ubuntu.com-20110608043559-8ln88b583x0uqcox
Tags: 18-5
* Switch to debhelper compatibility level 7.
* Use dh_prep instead of “dh_clean -k”.
* Use $(filter ...) instead of $(findstring ...) to extract space separated
  options from DEB_BUILD_OPTIONS in debian/rules.
* Switch to source format “3.0 (quilt)”:
  - Remove quilt from Build-Depends.
  - Remove quilt.make include from debian/rules.
  - Remove patch and unpatch targets from debian/rules.
  - Remove now unneeded debian/README.source.
* Now using Standards-Version 3.9.2 (no changes needed).
* Remove leading ‘./’ from lintian overrides.
* Rename build target to build-indep, install to install-indep, and add
  an empty build-arch target.
* Use dpkg-buildflags to set CPPFLAGS, CFLAGS and LDFLAGS.
* Disable Sparc V9 specific unbuildable code.
* Add ${misc:Depends} to Depends field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
};
55
55
 
56
56
struct linux_mem_v0 {
57
 
        struct linux_mlist_v0 **v0_totphys;
58
 
        struct linux_mlist_v0 **v0_prommap;
59
 
        struct linux_mlist_v0 **v0_available; /* What we can use */
 
57
        struct linux_mlist_v0 * const *v0_totphys;
 
58
        struct linux_mlist_v0 * const *v0_prommap;
 
59
        struct linux_mlist_v0 * const *v0_available; /* What we can use */
60
60
};
61
61
 
62
62
/* Arguments sent to the kernel from the boot prompt. */
63
63
struct linux_arguments_v0 {
64
 
        char *argv[8];
 
64
        const char *argv[8];
65
65
        char args[100];
66
66
        char boot_dev[2];
67
67
        int boot_dev_ctrl;
68
68
        int boot_dev_unit;
69
69
        int dev_partition;
70
 
        char *kernel_file_name;
 
70
        const char *kernel_file_name;
71
71
        void *aieee1;           /* XXX */
72
72
};
73
73
 
91
91
        struct linux_mem_v0 pv_v0mem;
92
92
 
93
93
        /* Node operations. */
94
 
        struct linux_nodeops *pv_nodeops;
 
94
        const struct linux_nodeops *pv_nodeops;
95
95
 
96
96
        char **pv_bootstr;
97
97
        struct linux_dev_v0_funcs pv_v0devops;
98
98
 
99
 
        char *pv_stdin;
100
 
        char *pv_stdout;
 
99
        const char *pv_stdin;
 
100
        const char *pv_stdout;
101
101
#define PROMDEV_KBD     0               /* input from keyboard */
102
102
#define PROMDEV_SCREEN  0               /* output to screen */
103
103
#define PROMDEV_TTYA    1               /* in/out to ttya */
127
127
                void (*v2_eval)(char *str);
128
128
        } pv_fortheval;
129
129
 
130
 
        struct linux_arguments_v0 **pv_v0bootargs;
 
130
        const struct linux_arguments_v0 * const *pv_v0bootargs;
131
131
 
132
132
        /* Get ether address. */
133
133
        unsigned int (*pv_enaddr)(int d, char *enaddr);
175
175
        int (*no_proplen)(int node, char *name);
176
176
        int (*no_getprop)(int node, char *name, char *val);
177
177
        int (*no_setprop)(int node, char *name, char *val, int len);
178
 
        char * (*no_nextprop)(int node, char *name);
 
178
        const char * (*no_nextprop)(int node, char *name);
179
179
};
180
180
 
181
181
/* More fun PROM structures for device probing. */