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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [h8500hms/] [misc.c] - Blame information for rev 258

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.