fb_copy_cmap

Name

fb_copy_cmap --  copy a colormap

Synopsis

void fb_copy_cmap (struct fb_cmap * from, struct fb_cmap * to, int fsfromto);

Arguments

from

frame buffer colormap structure

to

frame buffer colormap structure

fsfromto

determine copy method

Description

Copy contents of colormap from from to to.

0

memcpy function

1

copy_from_user function to copy from userspace

2

copy_to_user function to copy to userspace