Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/wsfont
Izumi Tsutsui wrote:
> 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.
What a pain.
OK, I'll back the whole data constification change off for now.
Another option would be to byte/bit swap the font when loading the
font to adapter, i.e. in vga_loadchars() or similar routine in
other wscons drivers. It's not like the font loading would be
executed very frequently.
Jaromir
--
Jaromir Dolecek <jdolecek%NetBSD.org@localhost>
http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-
Home |
Main Index |
Thread Index |
Old Index