Commit 2a32f660 authored by James Simmons's avatar James Simmons

Added a macro to obtain the foreground color of the erase character. The new accel wrapper uses it.

parent 8bf5f889
......@@ -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) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment