forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <rtems/score/registers.h>
|
||||
#include "cache_.h"
|
||||
|
||||
void _CPU_disable_cache() {
|
||||
void _CPU_disable_cache(void) {
|
||||
cr0 regCr0;
|
||||
|
||||
regCr0.i = i386_get_cr0();
|
||||
@@ -22,7 +22,7 @@ void _CPU_disable_cache() {
|
||||
* Enable the entire cache
|
||||
*/
|
||||
|
||||
void _CPU_enable_cache() {
|
||||
void _CPU_enable_cache(void) {
|
||||
cr0 regCr0;
|
||||
|
||||
regCr0.i = i386_get_cr0();
|
||||
|
||||
@@ -172,7 +172,7 @@ static const char * getmodel(int x86, int model)
|
||||
return nbuf;
|
||||
}
|
||||
|
||||
void printCpuInfo()
|
||||
void printCpuInfo(void)
|
||||
{
|
||||
int i;
|
||||
static const char *x86_cap_flags[] = {
|
||||
|
||||
@@ -42,7 +42,7 @@ extern uint32_t rtemsFreeMemStart;
|
||||
/*
|
||||
* Disable the paging
|
||||
*/
|
||||
void _CPU_disable_paging() {
|
||||
void _CPU_disable_paging(void) {
|
||||
cr0 regCr0;
|
||||
|
||||
rtems_cache_flush_entire_data();
|
||||
@@ -54,7 +54,7 @@ void _CPU_disable_paging() {
|
||||
/*
|
||||
* Enable the paging
|
||||
*/
|
||||
void _CPU_enable_paging() {
|
||||
void _CPU_enable_paging(void) {
|
||||
cr0 regCr0;
|
||||
|
||||
regCr0.i = i386_get_cr0();
|
||||
@@ -68,7 +68,7 @@ void _CPU_enable_paging() {
|
||||
* Initialize the paging with 1-to-1 mapping
|
||||
*/
|
||||
|
||||
int init_paging() {
|
||||
int init_paging(void) {
|
||||
|
||||
int memorySize;
|
||||
int nbPages;
|
||||
|
||||
Reference in New Issue
Block a user