Files
FireBee_SVN/sd-emutos/cookie.h
Markus Fröschle 7e6e79c385 added header file dependencies
corrected stack order for more functions
2013-05-05 06:22:22 +00:00

21 lines
445 B
C

/*
* cookie.h
*
* Created on: 05.05.2013
* Author: mfro
*/
#ifndef _COOKIE_H_
#define _COOKIE_H_
#include <stdint.h>
/*
* get and set named cookies. Although these routines do access the cookiejar system variable (which is
* protected), they do not need to be called in supervisor mode
*/
extern int getcookie(uint32_t cookie, uint32_t *p_value);
extern void setcookie(uint32_t cookie, uint32_t value);
#endif /* _COOKIE_H_ */