mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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.
This commit is contained in:
@@ -19,11 +19,13 @@
|
||||
#include "bootldr.h"
|
||||
#include <libcpu/spr.h>
|
||||
#include "zlib.h"
|
||||
#include <libcpu/page.h>
|
||||
#include <libcpu/byteorder.h>
|
||||
#include <rtems/bspIo.h>
|
||||
#include <bsp.h>
|
||||
|
||||
/* to align the pointer to the (next) page boundary */
|
||||
#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
|
||||
|
||||
SPR_RO(PPC_PVR)
|
||||
|
||||
struct inode;
|
||||
|
||||
@@ -41,9 +41,11 @@
|
||||
#include <libcpu/spr.h>
|
||||
#include "bootldr.h"
|
||||
#include <libcpu/mmu.h>
|
||||
#include <libcpu/page.h>
|
||||
#include <limits.h>
|
||||
|
||||
/* to align the pointer to the (next) page boundary */
|
||||
#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
|
||||
|
||||
extern void (tlb_handlers)(void);
|
||||
extern void (_handler_glue)(void);
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "bootldr.h"
|
||||
#include "pci.h"
|
||||
#include <libcpu/io.h>
|
||||
#include <libcpu/page.h>
|
||||
#include <bsp/consoleIo.h>
|
||||
#include <string.h>
|
||||
#include <bsp.h>
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <sys/types.h>
|
||||
#include <libcpu/byteorder.h>
|
||||
#include <libcpu/page.h>
|
||||
#include <libcpu/mmu.h>
|
||||
#include <libcpu/io.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include <rtems.h>
|
||||
#include <libcpu/mmu.h>
|
||||
#include <libcpu/page.h>
|
||||
#include <rtems/bspIo.h>
|
||||
#include <libcpu/pte121.h>
|
||||
|
||||
@@ -15,6 +14,9 @@
|
||||
* Also, the 'setup' routine must reduce
|
||||
* *pmemsize by the size of the page table.
|
||||
*/
|
||||
/* to align the pointer to the (next) page boundary */
|
||||
#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)
|
||||
|
||||
|
||||
/*
|
||||
* Authorship
|
||||
|
||||
Reference in New Issue
Block a user