URL
https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk
Subversion Repositories or1k_soc_on_altera_embedded_dev_kit
[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [include/] [asm-cris/] [unaligned.h] - Rev 7
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef __CRIS_UNALIGNED_H #define __CRIS_UNALIGNED_H /* * CRIS can do unaligned accesses itself. * * The strange macros are there to make sure these can't * be misused in a way that makes them not work on other * architectures where unaligned accesses aren't as simple. */ #define get_unaligned(ptr) (*(ptr)) #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) #endif
Go to most recent revision | Compare with Previous | Blame | View Log