#
d599df95 |
| 14-Oct-2002 |
bjh21 <bjh21@NetBSD.org> |
Continue the " - . - 8" purge. Specifically:
add rd, pc, #foo - . - 8 -> adr rd, foo ldr rd, [pc, #foo - . - 8] -> ldr rd, foo
Also, when saving the return address for a function pointer call, u
Continue the " - . - 8" purge. Specifically:
add rd, pc, #foo - . - 8 -> adr rd, foo ldr rd, [pc, #foo - . - 8] -> ldr rd, foo
Also, when saving the return address for a function pointer call, use "mov lr, pc" just before the call unless the return address is somewhere other than just after the call site.
Finally, a few obvious little micro-optimisations like using LDR directly rather than ADR followed by LDR, and loading directly into PC rather than bouncing via R0.
show more ...
|
#
991426d3 |
| 05-Apr-2002 |
thorpej <thorpej@NetBSD.org> |
* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual. Significant cleanup, here, including better PTE bit names. * Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual. Significant cleanup, here, including better PTE bit names. * Add XScale PTE extensions (ECC enable, write-allocate cache mode). * Mechanical changes everywhere else to update for new pte.h. While doing this, two bugs (as a result of typos) were fixed in
arm/arm32/bus_dma.c evbarm/integrator/int_bus_dma.c
show more ...
|
#
bfca87bb |
| 03-Apr-2002 |
thorpej <thorpej@NetBSD.org> |
Clean up Netwinder bootstrap: * Put the code that runs with the MMU off in a separate section (.start). * Use a linker script to set the VMA/LMA appropriately for each section. * Fix kernel page tabl
Clean up Netwinder bootstrap: * Put the code that runs with the MMU off in a separate section (.start). * Use a linker script to set the VMA/LMA appropriately for each section. * Fix kernel page table allocation and mapping of kernel text/data/bss.
...and now that kernel images > 2MB work: * Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols. * Use dbsym to load the kernel's DDB symbol area.
show more ...
|
#
15c76e3c |
| 23-Nov-2001 |
thorpej <thorpej@NetBSD.org> |
- Move more contents of various <machine/vmparam.h> files into <arm/arm32/vmparam.h> (mostly the stuff that's tied to the pmap implementation). - Since the MMU definitions in pte.h are specific t
- Move more contents of various <machine/vmparam.h> files into <arm/arm32/vmparam.h> (mostly the stuff that's tied to the pmap implementation). - Since the MMU definitions in pte.h are specific to ARM processors that support 32-bit mode, move pte.h to <arm/arm32/pte.h>. - Make the Netwinder startup file build again (use PT_B|PT_C, rather than PT_CACHEABLE, since the latter expands to a variable these days).
show more ...
|