[klibc] need a few additions

H. Peter Anvin hpa at zytor.com
Mon Jan 26 12:06:01 PST 2004


Jon Smirl wrote:
> I have my VBIOS reset program working on klibc now. I think I have tracked down
> and fixed all of the problems I was having. So to make this official I need a
> few minor klibc additions:
> 
> 1) fix inb/w/l to return the right variable. 
> 2) implement getpagesize()
> 3) add support for vm86 - one function and one header file.
> 

Those should all be in 0.98.

> Later, if you're interested, we could modify the vm86 function to call the x86
> emulator lib on non-X86 machines. This would make more x86 video cards usable on
> these machines. It's 140K library so it would need to be optional.

It's basically another library.

> You might want to move the structure definitions out of asm/vm86.h and into
> sys/vm86.h. This would make it transparent when switching to the emulator.

No, that would mean the emulator library should provide its own sys/vm86.h.

	-hpa



More information about the klibc mailing list