hw_vea9x4: quickfix for missing SMP awareness

This fix configures TTBRs and translation-table descriptors as if we would use
SMP although we don't to circumvent problems with UP-configurations.
This fix should be superseded later by full SMP support for the VEA9X4.

ref #1312
This commit is contained in:
Martin Stein 2014-12-17 10:30:15 +01:00 committed by Christian Helmuth
parent 59d26e040e
commit 659f6ff5c8
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
/*
* \brief Board driver for core
* \author Martin Stein
* \date 2012-04-23
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _BOARD_H_
#define _BOARD_H_
/* core includes */
#include <drivers/board_base.h>
namespace Genode
{
class Board : public Board_base
{
public:
static void outer_cache_invalidate() { }
static void outer_cache_flush() { }
static void prepare_kernel() { }
static void secondary_cpus_ip(void * const ip) { }
/**
* FIXME We return true although base-hw doesn't support SMP
* because UP-configurations in the TTBRs and the
* translation-table descriptors cause problems.
*/
static bool is_smp() { return true; }
};
}
#endif /* _BOARD_H_ */