From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.124.198 with SMTP id mk6mr18042010pab.22.1425150493866; Sat, 28 Feb 2015 11:08:13 -0800 (PST) X-Received: by 10.140.84.213 with SMTP id l79mr272573qgd.41.1425150493606; Sat, 28 Feb 2015 11:08:13 -0800 (PST) Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!hl2no1121645igb.0!news-out.google.com!c1ni203qar.1!nntp.google.com!i13no10334146qae.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 28 Feb 2015 11:08:13 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=105.236.12.239; posting-account=orbgeAkAAADzWCTlruxuX_Ts4lIq8C5J NNTP-Posting-Host: 105.236.12.239 References: <8e30f54c-81c4-4861-897c-bb6c563c76e8@googlegroups.com> <87wq37d12w.fsf@adaheads.sparre-andersen.dk> <7ae5ec06-f5e3-4c5f-ac95-58b4bf1256a0@googlegroups.com> <87egpfzapq.fsf@theworld.com> <99705630-02e3-4e43-9307-83e55336bc15@googlegroups.com> <8bde840e-4239-42f0-9a92-410b33163007@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <75dcf991-a485-4ad0-9ec9-51572116b5d8@googlegroups.com> Subject: Re: silly ravenscar question From: jan.de.kruyf@gmail.com Injection-Date: Sat, 28 Feb 2015 19:08:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.giganews.com comp.lang.ada:192371 Date: 2015-02-28T11:08:13-08:00 List-Id: On Saturday, February 28, 2015 at 11:57:14 AM UTC+2, Simon Wright wrote: > I now need to get back and review the differences between the AdaCore > version and mine (for example, I have Duration_32_Bits True; I think > that at that moment I was stuck on Time_Span being 32 bits .. but now I > have it at 64 bits ..) 32 bits? that wont do. for time synching you need 64 bits. . .=20 In any case I thought lemme quickly (note the word 'quickly') port the litt= le rs232 terminal program that I did, to zfp. So I want to use the system t= ime-tick timer (for measuring), so it is in the board support packages, so = I plant what I need in some subdirectory and start dropping what I dont nee= d and compiling and catching bugs. A great learning experience.=20 So now I have a question you might have seen the answer to, on one of your = travels: Where exactly does the system drop from supervisor mode into user mode? and also where is the silly routine to go back into supervisor mode? I thought I combed the ravenscar init section through properly but no luck. I know the theory about it. But it would be great to see an example. And I did not spot any system setup in the zfp collection! (That is the wor= st). May Oberon live forever (I even wrote a single pass compiler for a mini ver= sion long ago, for some other embedded project). cheers, j. >=20 > > Thanks a lot for your help. >=20 > Glad to be able to.