[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Patch: sys/cookie.h
Is there some actual code that uses these in the kernel ?
There's no point in adding #defines for COOKIE's that don't have any
code using them.
Alan.
On 09/12/11 23:14, m0n0 wrote:
> I believe this is my first patch to the list, is diff? Here it is,
> please commit:
>
> Comment: Added Firebee cookies.
>
> --- ./sys/cookie.h.orig 2011-09-13 00:14:12.000000000 +0200
> +++ ./sys/cookie.h 2011-09-13 00:13:11.000000000 +0200
> @@ -83,6 +83,10 @@
> # define COOKIE_CT60 0x43543630L
> # define COOKIE_HADES 0x68616465L
>
> +/* FireBee cookies */
> +# define COOKIE_SOCK 0x534F434BL /* Socket API */
> +# define COOKIE_DMAC 0x444D4143L /* DMA API */
> +
> /* values of MCH cookie
> */
> # define ST 0