On Mon, Jan 12, 2015 at 11:12 AM, Matthew Hammer wrote:
> Hi Rust Developers,
> I’m in need of this bit-level operation:
>
> http://en.wikipedia.org/wiki/Find_first_set
>
> I’m happy to implement it as a loop, but it seems like many architectures
> support it directly, as does libc.
>
> Does any
+1
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev
Yes unsafe is primarily for memory safety. However! Your idea is good. It
would be really good if you could have something like that. I am just not
sure what the best way to do it is. It could be done by an attribute and
lint with the ability to toggle it off with a module level, function level,
or
Well, actually I notice your code does not check that the UART buffer is
full which I think it is supposed to check, however from your mail it seems
like it is not outputting anything?
On Wed, Dec 17, 2014 at 10:02 AM, Kevin McGuire wrote:
>
> I saw your post about your rust kernel. Did yo
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
If you figure this out let me know, or the mailing list. I am curious what
is wrong.
The only help I can offer is that you try to find the problem. It may or
may not be an illegal instruction. Some rust targets trap segmentation
faults as illegal instruction.
Now you can also try implementing you