Contiki-Inga 3.x
Functions | Variables
fat_coop.c File Reference

 FAT driver coop additions implementation
More...

#include "cfs-fat.h"
#include "fat_coop.h"
#include "watchdog.h"
#include "fat-coop-arch.h"

Go to the source code of this file.

Functions

void coop_mt_init (void *data)
 This function is mostly copied from the arm/mtarch.c file.
 
void coop_switch_sp ()
 Function switches the stack pointers for Atmel based devices (32 GPR's).
 
void perform_next_step (QueueEntry *entry)
 Changes Stack pointer to internal Thread. More...
 
void finish_operation (QueueEntry *entry)
 Sends a Message to the source_process of the Entry and removes the Entry from the queue. More...
 
void operation (void *data)
 
uint8_t push_on_buffer (uint8_t *source, uint16_t length)
 This function is used to buffer the payload of write requests in a ring buffer However, the ring functionality does not work.
 
int8_t ccfs_write (int fd, uint8_t *buf, uint16_t length, uint8_t *token)
 

Variables

struct file_system mounted
 From fat.c.
 
struct file fat_file_pool [FAT_FD_POOL_SIZE]
 From fat.c.
 
struct file_desc fat_fd_pool [FAT_FD_POOL_SIZE]
 From fat.c.
 

Detailed Description

 FAT driver coop additions implementation
Author
Christoph Peltz peltz.nosp@m.@ibr.nosp@m..cs.t.nosp@m.u-bs.nosp@m..de

Definition in file fat_coop.c.