Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 15:25:34 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        arch@freebsd.org, freebsd-arm@freebsd.org, Fabien Thomas <fabient@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: [CFR] mge driver / elf reloc
Message-ID:  <F6D53A17-FED0-4F08-BB5B-9F66C5AF5EF6@kientzle.com>
In-Reply-To: <20140720220514.GP45513@funkthat.com>
References:  <14D22EA6-B73C-47BA-9A86-A957D24F23B8@freebsd.org> <1405810447.85788.41.camel@revolution.hippie.lan> <20140720220514.GP45513@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 20, 2014, at 3:05 PM, John-Mark Gurney <jmg@funkthat.com> wrote:

> Ian Lepore wrote this message on Sat, Jul 19, 2014 at 16:54 -0600:
>> Sorry to take so long to reply to this, I'm trying to get caught up.  I
>> see you've already committed the mge fixes.  I think the ELF alignment
>> fix looks good and should also be committed.
> 
> So, re the elf alignment...
> 
> I think we should get a set of macros that handle load/stores to/from
> unaligned addresses that are transparent to the caller....  I need
> these for some other code I'm writing... 
> 
> I thought Open/Net had these available, but I can't seem to find them
> right now...

$ man 9 byteorder

is most of what you want, lacking only some aliases to pick
the correct macro for native byte order.

Tim





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6D53A17-FED0-4F08-BB5B-9F66C5AF5EF6>