OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [sys/] [h8500hms/] [misc.c] - Blame information for rev 753

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* Misc. operating system stubs.  */
2
 
3
#include <_ansi.h>
4
#include <sys/types.h>
5
#include <sys/stat.h>
6
#include <signal.h>
7
 
8
/* _raise(), getpid(), and kill() are required by abort().
9
   getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES.  */
10
 
11
int _DEFUN(_raise,(sig),
12
           int sig)
13
{
14
  return 0;
15
}
16
 
17
int _DEFUN(_getpid,(),)
18
{
19
  return 0;
20
}
21
 
22
int _DEFUN(_kill,(pid, sig),
23
           int pid _AND
24
           int sig)
25
{
26
  if (sig == SIGABRT)
27
    asm ("mov.w #34,r3; trapa #15");
28
  return 0;
29
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.