All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Memory issues and USB support?
@ 2017-06-04 13:55 David O'Shea
  2017-06-05 14:41 ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: David O'Shea @ 2017-06-04 13:55 UTC (permalink / raw)
  To: linux-8086

Hi all,

I'm new here, and I'm just about to send a bunch of emails about
various things, but I will probably quieten down fairly quickly, so
don't worry :)

> From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
> Date: Sun, 19 Mar 2017 14:27:45 +0000
>
> ...
>
> On an 8086 the other option is to support EMM boards. That allows you up
> to 4MB or so of which 64K at a time is visible in a fixed memory window -
> that's actually ideal for ELKS but fiddly for memory management as any
> application that's got split code/data and can be over 64K will need to
> be arranged so only half of it lives in EMM space.

Apologies if I'm getting things extremely muddled up here, but I take
it that since you're not in protected mode, you don't get to have page
faults which give the kernel the opportunity to make the code/data the
application wants available, and instead the application is going to
have to be aware of the fact that some of it is not necessarily
directly addressable without asking the kernel first?

I always knew about EMS having a 64KB page window from the DOS days,
but https://en.wikipedia.org/wiki/Expanded_memory says that in LIM EMS
4.0 "any 16 KB region in lower RAM [could] be mapped to expanded
memory", which makes it sound to me like the ELKS kernel could at
least map in a process's memory when it's about to run it and then
unmap it when it switches to another process?  As it is, with LIM EMS
3.2, even if you can only map in a single 64KB page at a time, you
could at least do that for some of their memory.  I guess you also get
some memory protection from this, right?

Just curious - not planning to try my hand at implementing any of that, sorry!

Thanks in advance,
David

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Memory issues and USB support?
@ 2017-03-19  6:02 Derek Johansen
  2017-03-19 13:57 ` Jody Bruchon
  2017-03-19 14:27 ` Alan Cox
  0 siblings, 2 replies; 5+ messages in thread
From: Derek Johansen @ 2017-03-19  6:02 UTC (permalink / raw)
  To: ELKS

Just out of curiosity:

1) Why the restriction to ~640K of memory for running ELKS.  Lots of
implementations banging up against this lately.  Can ELKS be modified
to use all available memory (e,g, my virtual system has ~1 GB
available; could ELKS be modified to use all of that)?

2)  Does ELKS support USB devices?  Will it ever?  Is it even possible?

Thanks,
Derek

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

end of thread, other threads:[~2017-06-05 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-04 13:55 Memory issues and USB support? David O'Shea
2017-06-05 14:41 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2017-03-19  6:02 Derek Johansen
2017-03-19 13:57 ` Jody Bruchon
2017-03-19 14:27 ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.