From: "Ivan Pavić2" <Ivan.Pavic2@fer.hr>
To: Julien Grall <julien.grall@arm.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "jtd@galois.com" <jtd@galois.com>
Subject: Re: Basic bare metal ARM domain interface
Date: Fri, 27 May 2016 13:19:10 +0000 [thread overview]
Message-ID: <65387702CB408A468385A8FFC6F5807C3434CE@POSTAR.fer.hr> (raw)
In-Reply-To: <57481BC2.9030804@arm.com>
Hello,
Jullien, thanks for docs and references.
I used FreeRTOS code for console output. It is based on Mini OS code. There are two problems as I've determined with debugging. First is that vsnprintf blocks for some reason in print function so i commented it out. After the hypercall function blocked as well. I modified hypercall function so it looks like this:
(void)HYPERVISOR_console_io(CONSOLEIO_write, 3, "yes");
hoping to get "yes" as output..., but this blocked as well.
xenctx output after HYPERVISOR_console_io:
PC: 4000828c
CPSR: 200001d7
USR: SP:00000000 LR:00000000
SVC: SPSR:00000000 SP:4011bff4 LR:4000a37f
FIQ: SPSR:00000000 SP:40124200 LR:00000000
IRQ: SPSR:00000000 SP:40120200 LR:00000000
ABT: SPSR:200001f7 SP:40008140 LR:3f741306
UND: SPSR:00000000 SP:4012c200 LR:00000000
r0_usr: 4000815f r1_usr: 00000000 r2_usr: 40008160
r3_usr: 4000815c r4_usr: ffffa338 r5_usr: 4000c948
r6_usr: 00000000 r7_usr: 4000a53c r8_usr: 00000000
r9_usr: 00000000 r10_usr: 00000065 r11_usr: 00000000
r12_usr: 00000000
r8_fiq: 00000000
r9_fiq: 00000000 r10_fiq: 00000000 r11_fiq: 00000000
r12_fiq: 00000000
SCTLR: 00c50078
TTBCR: 0000000000000000
TTBR0: 0000000000000000
TTBR1: 0000000000000000
r10 = 101, I used it for debugging, to locate code where it is stuck. What could it be?
Thanks in advance,
Ivan Pavic.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-05-27 13:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-25 19:42 Basic bare metal ARM domain interface Ivan Pavić2
2016-05-27 10:04 ` Julien Grall
2016-05-27 13:19 ` Ivan Pavić2 [this message]
[not found] ` <20160527211650.GA43457@galois.com>
2016-05-28 11:21 ` Ivan Pavić2
2016-05-30 20:21 ` Odgovor: " Ivan Pavić2
2016-05-31 9:53 ` Julien Grall
2016-06-01 20:06 ` Ivan Pavic
2016-06-02 11:41 ` Julien Grall
2016-06-02 19:09 ` Ivan Pavic
2016-06-03 10:23 ` Julien Grall
2016-06-06 23:31 ` Ivan Pavic
2016-06-07 14:18 ` Julien Grall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=65387702CB408A468385A8FFC6F5807C3434CE@POSTAR.fer.hr \
--to=ivan.pavic2@fer.hr \
--cc=jtd@galois.com \
--cc=julien.grall@arm.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).