Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/vt/vt_core.c
Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | |||||
struct vt_device *main_vd = &vt_consdev; | struct vt_device *main_vd = &vt_consdev; | ||||
/* Boot logo. */ | /* Boot logo. */ | ||||
extern unsigned int vt_logo_width; | extern unsigned int vt_logo_width; | ||||
extern unsigned int vt_logo_height; | extern unsigned int vt_logo_height; | ||||
extern unsigned int vt_logo_depth; | extern unsigned int vt_logo_depth; | ||||
extern unsigned char vt_logo_image[]; | extern unsigned char vt_logo_image[]; | ||||
#ifndef DEV_SPLASH | #ifndef DEV_SPLASH | ||||
#define vtterm_draw_cpu_logos(...) | #define vtterm_draw_cpu_logos(...) do {} while (0) | ||||
markj: Phabricator might be hiding it, but there should be a tab after the #define. | |||||
cemAuthorUnsubmitted Not Done Inline ActionsThe existing convention in vt_core.c seems to be spaces between #define, name, and contents. I'm just following that. I can do a follow-up style(9) pass, if you like. cem: The existing convention in vt_core.c seems to be spaces between `#define`, name, and contents. | |||||
markjUnsubmitted Not Done Inline ActionsOnly 13 out of 101 #defines in vt(4) use a space, so I'm not sure that's supposed to be the convention, but it's up to you. I think we try to avoid style(9) sweeps unless the code hasn't been touched in a long time or one is about to do some further work in the area. markj: Only 13 out of 101 #defines in vt(4) use a space, so I'm not sure that's supposed to be the… | |||||
const unsigned int vt_logo_sprite_height; | const unsigned int vt_logo_sprite_height; | ||||
#endif | #endif | ||||
/* Font. */ | /* Font. */ | ||||
extern struct vt_font vt_font_default; | extern struct vt_font vt_font_default; | ||||
#ifndef SC_NO_CUTPASTE | #ifndef SC_NO_CUTPASTE | ||||
extern struct vt_mouse_cursor vt_default_mouse_pointer; | extern struct vt_mouse_cursor vt_default_mouse_pointer; | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 2,677 Lines • Show Last 20 Lines |
Phabricator might be hiding it, but there should be a tab after the #define.