00001 00007 /* 00008 * Copyright (C) 2004 Bregmasoft 00009 * 00010 * This program is free software; you can redistribute it and/or modify it under 00011 * the terms of the GNU General Public License as published by the Free Software 00012 * Foundation; either version 2 of the License, or (at your option) any later 00013 * version. 00014 * 00015 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 00016 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 00017 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License along with 00020 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple 00021 * Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 #ifndef ZYGOMA_PAGEFRAMELINEARPOLICY_H_ 00024 #define ZYGOMA_PAGEFRAMELINEARPOLICY_H_ 00025 00026 #include <pageframeselectionpolicy.h> 00027 00028 namespace Zygoma 00029 { 00030 class PageFrameLinearPolicy 00031 : public PageFrameSelectionPolicy 00032 { 00033 public: 00039 virtual PageFrameTable::FrameIndex 00040 selectUnusedFrame() const; 00041 00053 virtual PageFrameTable::FrameIndex 00054 selectReplacementFrame(); 00055 }; 00056 } // namespace Zygoma 00057 00058 #endif // ZYGOMA_PAGEFRAMELINEARPOLICY_H_