diff options
| author | James Simmons <jsimmons@heisenberg.transvirtual.com> | 2002-04-16 23:08:40 -0700 |
|---|---|---|
| committer | James Simmons <jsimmons@heisenberg.transvirtual.com> | 2002-04-16 23:08:40 -0700 |
| commit | 2a32f660f77c54ff96900eff11cd5b7608e41c57 (patch) | |
| tree | f3a822044feb7ad7e1a5b8c0e2259890f3aae728 /include/video | |
| parent | 8bf5f8896cf7b657c081ffe60c2c3cb4c1d3d63f (diff) | |
Added a macro to obtain the foreground color of the erase character. The new accel wrapper uses it.
Diffstat (limited to 'include/video')
| -rw-r--r-- | include/video/fbcon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/fbcon.h b/include/video/fbcon.h index 2e6ab5d5f1b1..f3d1a6639c3c 100644 --- a/include/video/fbcon.h +++ b/include/video/fbcon.h @@ -141,6 +141,8 @@ extern int set_all_vcs(int fbidx, struct fb_ops *fb, (((s) >> ((p)->bgshift)) & 0x0f) #define attr_bgcol_ec(p,conp) \ ((conp) ? (((conp)->vc_video_erase_char >> ((p)->bgshift)) & 0x0f) : 0) +#define attr_fgcol_ec(p,vc) \ + ((vc) ? (((vc)->vc_video_erase_char >> ((p)->fgshift)) & 0x0f) : 0) /* Monochrome */ #define attr_bold(p,s) \ |
