Ignore:
Timestamp:
Mar 28, 2018, 4:17:45 PM (19 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
2d0bc83
Parents:
4f0dcb69
Message:

Eliminate PowerPC libcpu/page.h

Started to eliminate warnings and then realized that only one one-line
macro in the file was used by a few files. The rest of the file was
was not needed. Eliminate the file.

Closes #3354.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/bootloader/mm.c

    r4f0dcb69 r0b8a6d7  
    4242#include "bootldr.h"
    4343#include <libcpu/mmu.h>
    44 #include <libcpu/page.h>
    4544#include <limits.h>
     45
     46/* to align the pointer to the (next) page boundary */
     47#define PAGE_ALIGN(addr)        (((addr)+PAGE_SIZE-1)&PAGE_MASK)
    4648
    4749extern void (tlb_handlers)(void);
Note: See TracChangeset for help on using the changeset viewer.