Contiki 3.x
|
Syscall implementations for K60 CPU.More...
#include <unistd.h>
#include <sys/reent.h>
#include <sys/times.h>
#include <string.h>
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include "K60.h"
#include "devopttab.h"
#include "devicemap.h"
#include "cfs.h"
#include "synchronization.h"
Go to the source code of this file.
Functions | |
pid_t | _getpid (void) |
int | _fstat_r (struct _reent *r, int fd, struct stat *st) |
void * | _sbrk_r (struct _reent *r, ptrdiff_t increment) |
Move the program break. More... | |
Syscall implementations for K60 CPU.
Definition in file newlib-syscalls.c.
int _fstat_r | ( | struct _reent * | r, |
int | fd, | ||
struct stat * | st | ||
) |
pid_t _getpid | ( | void | ) |
Definition at line 115 of file newlib-syscalls.c.
void* _sbrk_r | ( | struct _reent * | r, |
ptrdiff_t | increment | ||
) |
Move the program break.
This function can increase the size of the allocated memory.
NEVER call this from ISRs (or anything that may call this function, e.g. malloc, free).
Definition at line 461 of file newlib-syscalls.c.
References lock_acquire(), and lock_release().