8dfe8f29cd
Generate a new set of OCD register definitions in asm/ocd.h and rename __mfdr() and __mtdr() to ocd_read() and ocd_write() respectively. The bitfield definitions are a lot more complete now, and they are entirely based on bit numbers, not masks. This is because OCD registers are frequently accessed from assembly code, where bit numbers are a lot more useful (can be fed directly to sbr, bfins, etc.) Bitfields that consist of more than one bit have two definitions: _START, which indicates the number of the first bit, and _SIZE, which indicates the number of bits. These directly correspond to the parameters taken by the bfextu, bfexts and bfins instructions. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
avr32_ksyms.c | ||
cpu.c | ||
entry-avr32b.S | ||
head.S | ||
init_task.c | ||
irq.c | ||
kprobes.c | ||
Makefile | ||
module.c | ||
process.c | ||
ptrace.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
stacktrace.c | ||
switch_to.S | ||
sys_avr32.c | ||
syscall_table.S | ||
syscall-stubs.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |