[haiku-development] Idea : 4 all Operating Systems : Cpu compatibility layer

  • From: Mattia Tristo <redmoonapache@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 18 Nov 2014 23:52:09 +0100

Hello,

the difference between architectures is the way it organize memory and do
calculation.

I suggest to do a compatibility layer in the kernel to do all system boots
with 1 kernel.

I.e. : the operation +

start the kernel
identify architecture


define the function plus

function plus
begin
        case Intel
                      ... intel calc of + here
        case Amd
                      ... amd calc of + here
         case ppc
                      ............. ...
         case Motorola
                                   ...

so on

 find and replace + with plus in kernel

so do all operation
on memory one included

THIS IDEA IS FREE AND FREELY TO USE BY ALL OPERATING SYSTEMS
I DONATE TO ALL
HAIKU TOO

Haiku is very nice!!!

What about it?

Best regards
Mattia Tristo

Other related posts: