linux.cc revision 11413
11736SN/A/*
21736SN/A * Copyright (c) 2003-2005 The Regents of The University of Michigan
31736SN/A * Copyright (c) 2009 The University of Edinburgh
41736SN/A * All rights reserved.
51736SN/A *
61736SN/A * Redistribution and use in source and binary forms, with or without
71736SN/A * modification, are permitted provided that the following conditions are
81736SN/A * met: redistributions of source code must retain the above copyright
91736SN/A * notice, this list of conditions and the following disclaimer;
101736SN/A * redistributions in binary form must reproduce the above copyright
111736SN/A * notice, this list of conditions and the following disclaimer in the
121736SN/A * documentation and/or other materials provided with the distribution;
131736SN/A * neither the name of the copyright holders nor the names of its
141736SN/A * contributors may be used to endorse or promote products derived from
151736SN/A * this software without specific prior written permission.
161736SN/A *
171736SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
181736SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
191736SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
201736SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211736SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
221736SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
231736SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
241736SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
251736SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262665Ssaidi@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272665Ssaidi@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
281736SN/A *
296654Snate@binkert.org * Authors: Timothy M. Jones
306654Snate@binkert.org */
316654Snate@binkert.org
322655Sstever@eecs.umich.edu#include "arch/power/linux/linux.hh"
334762Snate@binkert.org
348222Snate@binkert.org#include <fcntl.h>
358222Snate@binkert.org#include <sys/mman.h>
368222Snate@binkert.org
378222Snate@binkert.org#define TARGET PowerLinux
388222Snate@binkert.org#include "kern/linux/flag_tables.hh"
394762Snate@binkert.org