Okay, new version, this one actually successfully calls the VESA 3.0 Init function.


The original description:

Date: Wed, 06 Jan 1999 02:27:59 +0000
From: "Luke B. Bishop" <nanosoft@nanosoft.hypermart.net>
Message-ID: <3692CA2F.5E6EA4D6@nanosoft.hypermart.net>
Reply-To: nanosoft@nanosoft.hypermart.net
Organization: Nanosoft, Inc.
To: jmcc@ontv.com
Subject: Re: Selector Allocation Problems
References: <199901052142.QAA20967@pepsi.visus.com>

No, I got SS working now.  It only crashes when I actually call the
function now...  Actually it spontaneously reboots...
	Anyways, here are the main files needed.  The allocator should be put
in linux/arch/i386/kernel and its symbols should be declared probably in
include/asm/desc.h
and then you have to export the symbols.  Give it a shot.  Also try out
my VESA driver, its almost working, I think its closer than what you
did...
	Note that these are both against a 2.1.131 kernel, but that shouldnt be
a big deal...



Jason McMullan wrote:
> 
> 'Luke B. Bishop wrote with particular insight...'
> >
> > Okay, I've almost got my own preliminary driver ready.  Once it stops
> > crashing when I load SS, I'll send it.  Dont quite know what's wrong,
> > but I'll figure it out.
> 
>    There's a lot of special stuff you need to do to get SS to work -
> the APM guys don't do it becuase it was `too hard'. Anyway, the
> technique to do so is in the Pentium System Programmer's manual Volume 3,
> in the chapter on protection. (see http://pepsi.visus.com/~jmcc/intel
> for my copies in .PDF format)
> 
> >       I wrote a segment allocator that should do the job quite nicely.  It
> > uses a thread info, rather than screwing with the global GDT.  It seems
> > to work very well, still being debugged though...
> >       A kernel thread is overly complicated.  This is nice and simple.
> >       Just have to figure out whats wrong, should be easy.
> 
>    Cool. Send what you have when you do.
> 
> --
> Jason McMullan - Linux - GGI - http://pepsi.visus.com/~jmcc
>   I can't wait until the point where free Linux CD's or other paraphenalia is
> included in cereal boxes.  That truly will be the cherry ontop of our madness!
>   -- Mike A. Harris <mharris@ican.net> on linux-kernel@vger.rutgers.edu

-- 
Luke B. Bishop,
Senior Software Engineer,
Nanosoft, Inc., http://nanosoft.hypermart.net/
"Software For The Real World"
