Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/wsfont



In article <20030209184034.4CF45B004%cvs.netbsd.org@localhost>
jdolecek%netbsd.org@localhost wrote:

> Module Name:  src
> Committed By: jdolecek
> Date:         Sun Feb  9 18:40:33 UTC 2003
> 
> Modified Files:
>       src/sys/dev/wsfont: wsfont.c
> 
> Log Message:
> wsfont_lock(): if bitorder/byteorder doesn't match, copy the font to new font
> also if the font is static (and thus it's 'data' point to const/text 
> location) -
> later call to wsfont_rev{bit,byte}() needs to change the font data in-place
> print info about the font copy when it's made

Your change still has a problem.

When consinit() is called at the first time, uvm_init() is not called yet
and we cannot use malloc(). So we cannot call wsfont_add0() imlicitly
at least if ent->lockcount == 0.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost



Home | Main Index | Thread Index | Old Index