Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
7 crawler(s) on-line.
 103 guest(s) on-line.
 1 member(s) on-line.


 Musashi5150

You are an anonymous user.
Register Now!
 Musashi5150:  2 mins ago
 michalsc:  13 mins ago
 Rob:  14 mins ago
 pixie:  22 mins ago
 roar:  1 hr 20 mins ago
 MEGA_RJ_MICAL:  1 hr 28 mins ago
 VooDoo:  1 hr 35 mins ago
 Hammer:  2 hrs 6 mins ago
 Massi:  2 hrs 11 mins ago
 DiscreetFX:  2 hrs 30 mins ago

/  Forum Index
   /  AROS Software
      /  ARPi - AROS on Raspberry Pi
Register To Post

PosterThread
wawa 
Re: ARPi - AROS on Raspberry Pi
Posted on 5-Sep-2018 21:17:56
#1 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6259
From: Unknown

@wawa

errm, at least as i understand it. i dont have enough interest for it thugh. admittedly.

 Status: Offline
Profile     Report this post  
 Top | Parent


PosterThread
michalsc 
Re: ARPi - AROS on Raspberry Pi
Posted on 5-Sep-2018 21:19:59
#1 ]
AROS Core Developer
Joined: 14-Jun-2005
Posts: 377
From: Germany

@wawa

Quote:
it does as certainly any/most aros software for the same architecture. arix is something like highly integrated aros hosted with an invisible host.


It's not the arix you know from Jasons github repository. That one was an intermediate step between regular AROS hosted and something more tightly bound to the linux. What I'm working on right now is something completely different.

It may look the same, just like here:
Quote:

PutMsg(arixPort, &msg);
WaitPort(reply);


but if you look more carefully, you will notice differences, like mixed calls to arix libraries, linux syscalls or glibc:

Quote:

printf("doing %d iterations\n", NUM_ITER);
clock_gettime(CLOCK_REALTIME, &t0);
for (i=0; i < NUM_ITER; i++) {
PutMsg(arixPort, &msg);
WaitPort(reply);
DiscardMsg(GetMsg(reply));
}


Finally, if you look at the whole you will notice that the messages are passed by value through an unix socket, not by reference as on AmigaOS, as they are crossing a boundary between two linux processes. Even more strange, the arixPort is not a pointer to a struct MsgPort because it cannot be (the MsgPort was created in another process). Instead, there is:
Quote:

uuid_t arixPort = MAKE_UUID(0x00000001, 0x0000, 0x4000, 0x8000 | NT_MSGPORT, 0x000000000000);


To some degree it is source code compatible, but only where possible. Where not, I do not hesitate to redesign API and break compatibility totally.

 Status: Offline
Profile     Report this post  
 Top | Parent



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle