Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7d41c411
Commit
7d41c411
authored
Dec 11, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cacheflush): Add SONY NEWS-OS 4.2 version.
From-SVN: r13279
parent
e34fc615
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
gcc/libgcc2.c
+28
-0
No files found.
gcc/libgcc2.c
View file @
7d41c411
...
@@ -2801,6 +2801,34 @@ __enable_execute_stack ()
...
@@ -2801,6 +2801,34 @@ __enable_execute_stack ()
}
}
}
}
#endif
/* __pyr__ */
#endif
/* __pyr__ */
#if defined (sony_news) && defined (SYSTYPE_BSD)
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
#include <syscall.h>
#include <machine/sysnews.h>
/* cacheflush function for NEWS-OS 4.2.
This function is called from trampoline-initialize code
defined in config/mips/mips.h. */
void
cacheflush
(
beg
,
size
,
flag
)
char
*
beg
;
int
size
;
int
flag
;
{
if
(
syscall
(
SYS_sysnews
,
NEWS_CACHEFLUSH
,
beg
,
size
,
FLUSH_BCACHE
))
{
perror
(
"cache_flush"
);
fflush
(
stderr
);
abort
();
}
}
#endif
/* sony_news */
#endif
/* L_trampoline */
#endif
/* L_trampoline */
#ifdef L__main
#ifdef L__main
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment