search for: ticks_per_ms

Displaying 3 results from an estimated 3 matches for "ticks_per_ms".

2016 Feb 28
2
[PATCH 0/1] UEFI UDP/TFTP
...served > + * Serva (c) 2010-2016 Patrick Masotta - All Rights Reserved > + * > */ > > #include <string.h> > @@ -8,50 +9,189 @@ > #include "net.h" > #include "fs/pxe/pxe.h" > > + > +#define TICKS_PER_SECOND 10000000 > +#define TICKS_PER_MS 10000 > + > +#define UDP_TIME_TO_GETMAP 5 * TICKS_PER_SECOND > +#define UDP_TIME_TX_TIMEOUT 1 * TICKS_PER_SECOND + 500 * TICKS_PER_MS > +#define UDP_TIME_RX_TIMEOUT 1 * TICKS_PER_SECOND + 500 * TICKS_PER_MS <snip/> > > /** > - * Try to configure this UD...
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also ntfssect.c is designed to be compiled in non Unicode mode when using MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use of 'A' API calls) so that it doesn't break when compiled in Unicode mode, which is what Rufus uses with MSVC. -------------- next part --------------
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
.../* - * Copyright 2013-2014 Intel Corporation - All Rights Reserved + * Serva (c) 2010-2016 Patrick Masotta - All Rights Reserved + * */ #include <string.h> @@ -8,50 +9,189 @@ #include "net.h" #include "fs/pxe/pxe.h" + +#define TICKS_PER_SECOND 10000000 +#define TICKS_PER_MS 10000 + +#define UDP_TIME_TO_GETMAP 5 * TICKS_PER_SECOND +#define UDP_TIME_TX_TIMEOUT 1 * TICKS_PER_SECOND + 500 * TICKS_PER_MS +#define UDP_TIME_RX_TIMEOUT 1 * TICKS_PER_SECOND + 500 * TICKS_PER_MS + + +/// +/// Type defined as RX. +/// This data structure wraps receive udp paramete...