Jump to content

QuickThreads for ARM


eactor

Recommended Posts

Hello as apfitch did on his blog Half Fact http://apfitch.wordpress.com/2012/08/30/systemc-on-a-raspberry-pi/, I tried SystemC on an ARM platform. It works reasonably based on pthreads making it somewhat slow. So I thought about porting the QT (QuickThreads) for ARM? 1- Did anybody do that before?

 

I already read the original Technical Report of 93-05-06 of David Keppel describing QT and had a look into the QT source folder. Now I’m kind of stuck where to start at. It seems relevant to know the ABI (Application Binary Interface) of the target. 2-Would that be depended on which Linux Kernel is running on the target or maybe if the ARM platform is armv7 or armv6 based?

 

3- I’m also happy about every hint which would get me started on the issue.

Link to comment
Share on other sites

I'm not quite sure about the QT implementation. For some architectures it looks like it just extending a simple thread implementation with the QT abilities, instead of doing a thread implementation from scratch.

So I’m not sure if just asking for QT on ARM is enough or if I actually would do a QT for ARM only working with a specific OS on it e.g. Linux.

Link to comment
Share on other sites

If this is related to your "bare metal" question elsethread, you definitely ask for QT on ARM, not for a specific OS.

 

The closest thing related to "QT on ARM" implementation, I'm aware of, is included in the "old stable" version of Guile (http://www.gnu.org/software/guile/).

 

In http://git.savannah.gnu.org/gitweb/?p=guile.git;a=tree;f=qt;h=c98346f9299df235964738dbf4b87da9806c9f52;hb=72e4a3b1df86fdfca752221716c3e3f5573ff6a5, there is "md/arm.{h,s}", which may be a good starting point.

 

When I had a closer look several years back, I think this has not been fully integrated in the QT package there.  So there is probably still some work left, especially for including it in the build system and the architecture detection, etc.  Maybe you can contact the original author to learn something about the status of the port.

 

hth,

  Philipp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...