[RTEMS 5 PATCH] bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader
Chris Johns
chrisj at rtems.org
Mon Feb 8 21:04:39 UTC 2021
On 9/2/21 5:18 am, Gedare Bloom wrote:
> If you put this on master/6, you can switch that align to use
> RTEMS_ALIGN_UP(addr, PAGE_SIZE) -- not PAGE_MASK
Sorry, I had already pushed the patch.
A quick grep shows there are a few of these ...
$ grep -r PAGE_MASK *
0001-bsp-motorola_powerp-Print-RTEMS_VERSION-from-the-boo.patch: #define
PAGE_ALIGN(addr) (((addr) + PAGE_MASK) & ~PAGE_MASK)
0002-bsp-motorola_powerp-Print-RTEMS_VERSION-from-the-boo.patch: #define
PAGE_ALIGN(addr) (((addr) + PAGE_MASK) & ~PAGE_MASK)
bsps/powerpc/motorola_powerpc/bootloader/mm.c:#define PAGE_ALIGN(addr) (((addr)
+ PAGE_MASK) & ~PAGE_MASK)
bsps/powerpc/motorola_powerpc/bootloader/mm.c: rpn =
(vaddr&PAGE_MASK)-area->base+area->firstpte;
bsps/powerpc/motorola_powerpc/bootloader/mm.c: if (mask&PAGE_MASK) {
bsps/powerpc/motorola_powerpc/bootloader/misc.c:#define PAGE_ALIGN(addr)
(((addr) + PAGE_MASK) & ~PAGE_MASK)
bsps/powerpc/include/libcpu/pgtable.h:#define _PAGE_CHG_MASK (PAGE_MASK |
_PAGE_ACCESSED | _PAGE_DIRTY)
bsps/powerpc/shared/start/pgtbl_setup.c:#define PAGE_ALIGN(addr) (((addr)
+ PAGE_MASK) & ~PAGE_MASK)
cpukit/libnetworking/vm/vm_param.h: ((vm_offset_t)((((vm_offset_t)(x)) +
PAGE_MASK) >> PAGE_SHIFT))
cpukit/posix/src/mmap.c: if ((uintptr_t)addr & PAGE_MASK) {
Do all these needs to be looked at as well?
Chris
More information about the devel
mailing list