search for: default_mem

Displaying 2 results from an estimated 2 matches for "default_mem".

Did you mean: default_dom
2009 Nov 05
0
[PATCH] Add VirtIO Frame Buffer Support
...n you just pad structures to multiples of 64 bit, or to full union size, instead? > + > +enum copy_type { > + COPY_KERNEL, > + COPY_USER, > + COPY_NOCOPY, > +}; > + > +#define DEFAULT_WIDTH 800 > +#define DEFAULT_HEIGHT 600 > +#define DEFAULT_DEPTH 32 > +#define DEFAULT_MEM 8 > + > +#define DEFAULT_FB_LEN (DEFAULT_WIDTH * DEFAULT_HEIGHT * DEFAULT_DEPTH / 8) > + > +enum { KPARAM_MEM, KPARAM_WIDTH, KPARAM_HEIGHT, KPARAM_CNT }; > +static int video[KPARAM_CNT] = { DEFAULT_MEM, DEFAULT_WIDTH, DEFAULT_HEIGHT }; > +module_param_array(video, int, NULL, 0);...
2009 Nov 05
0
[PATCH] Add VirtIO Frame Buffer Support
...n you just pad structures to multiples of 64 bit, or to full union size, instead? > + > +enum copy_type { > + COPY_KERNEL, > + COPY_USER, > + COPY_NOCOPY, > +}; > + > +#define DEFAULT_WIDTH 800 > +#define DEFAULT_HEIGHT 600 > +#define DEFAULT_DEPTH 32 > +#define DEFAULT_MEM 8 > + > +#define DEFAULT_FB_LEN (DEFAULT_WIDTH * DEFAULT_HEIGHT * DEFAULT_DEPTH / 8) > + > +enum { KPARAM_MEM, KPARAM_WIDTH, KPARAM_HEIGHT, KPARAM_CNT }; > +static int video[KPARAM_CNT] = { DEFAULT_MEM, DEFAULT_WIDTH, DEFAULT_HEIGHT }; > +module_param_array(video, int, NULL, 0);...