Subject:
|
Re: mmu
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 11 Aug 1998 23:32:03 GMT
|
Original-From:
|
Chuck McManis <cmcmanis@freegate^Spamcake^.com>
|
Viewed:
|
1516 times
|
| |
| |
It's not impossible. The easiest way is to use the same technique as
Java (or IC) and write an embedded interpreter that executes code for a
"psuedo" machine. The resulting machine can have arbitrarily strict
access restrictions between tasks. You do have to take away some C
"features" like casting an arbitrary value to a pointer, etc, but you
can do it.
I'm curious how the "users" of your system would be motivated to crash
it. If you're simply looking for a "safe" development environment
consider a version of BASIC without poke...
--Chuck
Richard meester wrote:
>
> Hello all,
>
> i'm trying to write a small OS, but am confused about something.
>
> I don't want to give access to all memory locations for the user, only
> for the supervisor.
> Since the 68hc11 doens't have these modes i have to think of something
> else. A sollution is a external mmu, but this maybe some overkill.
>
> Does anyone have some suggestions, or is it simply impossible to do.
>
> Regards
> Richard Meester
> Software Engineer
|
|
Message is in Reply To:
| | mmu
|
| Hello all, i'm trying to write a small OS, but am confused about something. I don't want to give access to all memory locations for the user, only for the supervisor. Since the 68hc11 doens't have these modes i have to think of something else. A (...) (26 years ago, 11-Aug-98, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|