00001 // See the end of this file for license information. 00002 00003 #ifndef TORSION_PAGESPAN_H 00004 #define TORSION_PAGESPAN_H 00005 00006 #include "list.h" 00007 #include "arch.h" 00008 00014 00015 struct Page : public List_node { 00016 unsigned alignment: PAGE_ALIGNMENT; 00017 00018 unsigned address: sizeof(unsigned) * 8 - PAGE_ALIGNMENT; 00019 void* owner; 00020 }; 00021 00022 #endif 00023 00024 /* Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman 00025 * 00026 * This program is free software; you can redistribute it and/or modify it 00027 * under the terms of the GNU General Public License as published by the 00028 * Free Software Foundation; either version 2 of the License, or (at your 00029 * option) any later version. 00030 * 00031 * This program is distributed in the hope that it will be useful, but 00032 * WITHOUT ANY WARRANTY; without even the implied warranty of 00033 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00034 * General Public License for more details (in the COPYING file). 00035 * 00036 * You should have received a copy of the GNU General Public License along 00037 * with this program; if not, write to the Free Software Foundation, Inc., 00038 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00039 */
Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman