public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* EDE - Personal Suggestions and Ideas
@ 2004-05-25 13:33 Miguel Bolanos
  2004-05-26 10:06 ` Gábor Lénárt
  0 siblings, 1 reply; 11+ messages in thread
From: Miguel Bolanos @ 2004-05-25 13:33 UTC (permalink / raw)
  To: linux-8086; +Cc: neil.holmes

Greetings,

As a result of the fact that ELKS seems to be back to life, I have been
thinking myself a lot of things.. as you may have noticed i encouraged
everyone in the mailing list to provide the developers some input what
they  consider the future of elks should be, so i also have somethings
in mind that i want to see accomplished, and that i will for sure work
hard on.

Some days ago a journalist send me an email asking for the advantages
that elks has to offer to the countries of the 3rd world, due to the
fact that elks is intended to run on very old machines... the kind of
machines that can be easily found over there... later.. a very realistic
comment came up on the IRC channel "People now days is so used to
machines with HUGE processor, memory and storage capacities, that are
not longer aware of the things that can be done with machines that have
limited resources.", this is indeed very true, old operating systems
used to make many useful things with this kind of boxes.. and there are
even very interesting projects around that could be in someway or
another ported to elks.. more specifically become part of EDE.

Many people have made me the question this 2 questions:

"What's the purpose of ELKS?"
"What's your goal on your ELKS contribution?"

I personally believe that we should focus ELKS on not a "for fun"
project but turn serious, now I'm not willing to be misunderstood here..
but i believe that more than wish lists we should have very well defined
goals for the project.

I would like to say that my personal goal, is get a kernel that has:

- TCP/IP support. (Yes Alan i know we already have, i just want to 		 
point each thing i believe important even if it 		  already exists)
- PPP support
- Support for various NICs
- swap support
- maybe ext2fs support.

Then get EDE to have the following features:

- Capable of been installed on a hard disk ( i know, done)
- Boot loader
- Maybe implement something like bootsplash or Linux Progress Patch
- X support.. perhaps Microwindows can be the solution?
- An internet browser
- a Gui mail client
- maybe an irc client
- A little "office" suite

With only this little features we could make a HUGE contribution not
only to the countries in the 3rd world, but in many others that have a
very unstable economy and can't afford to have the top of technology to
empower the education for example, now doing this won't mean that ELKS
will no longer be intended for embedded systems (just in case anyone
misunderstands me)

Anyways this is just my personal little idea - project, hopefully others
will share my vision.

Comments, suggestions, improvements.. are very welcome :)
best wishes

Mike







^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: AW: [Fwd: Re: EDE - Personal Suggestions and Ideas]
@ 2004-05-26 11:57 Gábor Lénárt
  2004-05-26 14:17 ` David Given
  0 siblings, 1 reply; 11+ messages in thread
From: Gábor Lénárt @ 2004-05-26 11:57 UTC (permalink / raw)
  To: Mario Premke; +Cc: David Given, linux-8086

Hello,

On Wed, May 26, 2004 at 01:43:03PM +0200, Mario Premke wrote:
> > Why? On 16 bit protected mode (80286) you CAN alter the starting
> > address of
> > a segment while refeering the same selector before and after this action
> > (this is because in protected mode the segment register only contains a
> > 'selector' which is an index in the descriptor table which describes the
> > segment). Sure, real mode does not allow this, because in real mode the
> > content of the segment register is simply the starting address of the
> > segment divided by 16, allowing maximum of 1Mb address space
> 
> Is it possible to use the the content of the segment register in real mode
> as a selector in protected mode - so assuming GDT and possibly LDT are
> properly set up, would a real mode program run in protected mode?

Ehhm, I see. Sorry I did not understand your point.

OK, now I see, but I haven't got the point. I mean, if you have a syscall or
whatever to allocate a memory as a separate segment, you would get a 16 bit
ID which can be load in the segment register. And this is NOTHING for a user
space application that this is real mode segment register contant (so real
address divided by 16) or a selector in pmode, user app should only load
this number into the segment register. In this way (if we don't allow a user
app to caculate segment register values only allow to get these values from
the OS) user space program does not need to now ANYTHING about the real
connection between the memory and the content of a segment register. It's up
to the kernel. If you do this right, a 8086 ELKS program should also run in
ELKS for 286-protected-mode. The only need - as I've described below - that
values used to load into segment registers are 'allocated', 'queried' etc
from the OS so there is no assumption about the "real meaning" of the value
used to load into segment registers. Sorry my English is not so good, but
maybe I was able to describe the theory of mine.

Using 286 pmode also gives some nice features. Like memory defragmentation.
I mean, allocating several memory blocks than freeing some may result in
having enough memory but not disallowing allocation of large memory block
because not enough continuous memory block. In 8086 (real) mode there is
nothing to do here, since we can't move memory blocks: we have already
give segments register values to user space programs which values have got
direct meaning for the starting address of the segment in real mode (OK
maybe some VERY ugly trick can be done: we provide a mechanism to send
signal or whatever to user space program to recalibrate all of its segment
allocations but this would be VERY VERY VERY ugly and complex and also
it's very far from the C and UNIX way, I think ...). But in 286 protected
mode, you can alter the starting address of the segment without chaning the
descriptor value which refeers the segment itself. The only need is a memory
defragmention kernel daemon or something similar which copies the memory
and then alter the descriptor table. Sure, some locking should be provided
to avoid to run of the process whose memory region is being moved.

- Gábor (larta'H)
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-05-29  5:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 13:33 EDE - Personal Suggestions and Ideas Miguel Bolanos
2004-05-26 10:06 ` Gábor Lénárt
  -- strict thread matches above, loose matches on Subject: below --
2004-05-26 11:57 AW: [Fwd: Re: EDE - Personal Suggestions and Ideas] Gábor Lénárt
2004-05-26 14:17 ` David Given
2004-05-26 15:10   ` Gábor Lénárt
2004-05-26 16:49     ` David Given
2004-05-26 17:42       ` Andrey Romanenko
2004-05-26 23:19         ` David Given
2004-05-27  6:07           ` EDE - Personal Suggestions and Ideas sandeep
2004-05-27 15:51             ` Eduardo Pereira Habkost
2004-05-28  8:09               ` sandeep
2004-05-28  8:10                 ` Gábor Lénárt
2004-05-28 10:11                   ` David Given
2004-05-28 11:23                     ` Andrey Romanenko
2004-05-28 12:14                       ` David Given
2004-05-29  5:28                         ` Dan Olson
2004-05-28 10:30                   ` sandeep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox