archives of rust-dev@mozilla.org (2010-2015)
 help / color / mirror / Atom feed
From: Kevin McGuire <kmcg3413@gmail.com>
To: rust-dev@mozilla.org
Subject: [rust-dev] Kernel Rust
Date: Wed, 17 Dec 2014 10:02:45 -0600	[thread overview]
Message-ID: <CACVSexkzsWpPLL1hfrndg+N0bDFEZ2usWHor2wBEcPsM=EXahw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

I saw your post about your rust kernel. Did you ever figure out what was
wrong?

Also have you tried using QEMU?

First I would verify that your serial code is actually running. You could
triple fault the x86_64 to detect if it reaches a certain point.

Also setup of serial port on QEMU for x86_64 is very easy. All you do is
send the data and check the buffer. I have some great example Rust code.
Now real hardware is different because it can be touchy if you dont
properly intialize it.

Your code looks good okay so im wondering if it can be verified as running
- like I said QEMU can help you diagnose simple problems thsy will be
present in real hardware. Also be aware of QEMU monitor mode which lets you
dump the CPU registers during runtime so you can see exactly what the CPU
is executing.

Let me know because I can likely help you a bunch.

[-- Attachment #2: Type: text/html, Size: 896 bytes --]

             reply	other threads:[~2014-12-17 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17 16:02 Kevin McGuire [this message]
2014-12-17 17:22 ` [rust-dev] Kernel Rust Kevin McGuire
2014-12-18  7:48   ` C K Kashyap

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='CACVSexkzsWpPLL1hfrndg+N0bDFEZ2usWHor2wBEcPsM=EXahw@mail.gmail.com' \
    --to=kmcg3413@gmail.com \
    --cc=rust-dev@mozilla.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