X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.h;h=c6b6ecfda51fa87465cbf48408d8063fa0f3267e;hp=d954f0a3302467d16d3cc7ad9f169ff13ba97149;hb=7b721b3663920a2b74039ad6588ba4ed638c368b;hpb=78eecbf6d704cf178fb0310f7e1c180d2d2f3d4d diff --git a/src/misc.h b/src/misc.h index d954f0a3..c6b6ecfd 100644 --- a/src/misc.h +++ b/src/misc.h @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2009 Marco Costalba + Copyright (C) 2008-2010 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,6 +40,13 @@ #define Max(x, y) (((x) < (y))? (y) : (x)) +//// +//// Variables +//// + +extern bool Chess960; + + //// //// Prototypes //// @@ -48,6 +55,8 @@ extern const std::string engine_name(); extern int get_system_time(); extern int cpu_count(); extern int Bioskey(); +extern void prefetch(char* addr); +extern void prefetchPawn(Key, int); ////