Make sure vt_coldinit() is called before vt_coldmalloc().
This commit is contained in:
parent
f37edba165
commit
e2baea19f3
@ -159,6 +159,9 @@ pcattach(struct isa_device *dev)
|
||||
|
||||
int i;
|
||||
|
||||
if(do_initialization)
|
||||
vt_coldinit();
|
||||
|
||||
vt_coldmalloc(); /* allocate memory for screens */
|
||||
|
||||
#if PCVT_NETBSD || PCVT_FREEBSD
|
||||
|
@ -1367,6 +1367,7 @@ void vt_clreol ( struct video_state *svsp );
|
||||
void vt_clreos ( struct video_state *svsp );
|
||||
void vt_clrtab ( struct video_state *svsp );
|
||||
int vt_col ( struct video_state *svsp, int cols );
|
||||
void vt_coldinit ( void );
|
||||
void vt_coldmalloc ( void );
|
||||
void vt_cub ( struct video_state *svsp );
|
||||
void vt_cud ( struct video_state *svsp );
|
||||
|
@ -74,7 +74,6 @@
|
||||
|
||||
static void check_scroll ( struct video_state *svsp );
|
||||
static void hp_entry ( U_char ch, struct video_state *svsp );
|
||||
static void vt_coldinit ( void );
|
||||
static void wrfkl ( int num, u_char *string, struct video_state *svsp );
|
||||
static void writefkl ( int num, u_char *string, struct video_state *svsp );
|
||||
|
||||
@ -976,7 +975,7 @@ sput (u_char *s, U_char kernel, int len, int page)
|
||||
/*---------------------------------------------------------------------------*
|
||||
* this is the absolute cold initialization of the emulator
|
||||
*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
void
|
||||
vt_coldinit(void)
|
||||
{
|
||||
extern u_short csd_ascii[]; /* pcvt_tbl.h */
|
||||
|
Loading…
Reference in New Issue
Block a user