mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
Remove superfluous, generic Thread_state definition
The 'Cpu_state' in 'base/include/base/cpu_state.h' is not needed anymore. Moreover, it's inconsistent with the architecture-specific definitions of 'Cpu_state' that all reside in <cpu/cpu_state.h>.
This commit is contained in:
parent
6cd0c02dcd
commit
f2d81a8d62
@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
* \brief CPU state
|
|
||||||
* \author Christian Prochaska
|
|
||||||
* \date 2011-04-15
|
|
||||||
*
|
|
||||||
* This file contains the generic part of the CPU state.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2011-2012 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 _INCLUDE__BASE__CPU_STATE_H_
|
|
||||||
#define _INCLUDE__BASE__CPU_STATE_H_
|
|
||||||
|
|
||||||
#include <base/stdint.h>
|
|
||||||
|
|
||||||
namespace Genode {
|
|
||||||
|
|
||||||
struct Cpu_state
|
|
||||||
{
|
|
||||||
addr_t ip; /* instruction pointer */
|
|
||||||
addr_t sp; /* stack pointer */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor
|
|
||||||
*/
|
|
||||||
Cpu_state(): ip(0), sp(0) { }
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* _INCLUDE__BASE__CPU_STATE_H_ */
|
|
@ -16,7 +16,7 @@
|
|||||||
#ifndef _INCLUDE__BASE__THREAD_STATE_H_
|
#ifndef _INCLUDE__BASE__THREAD_STATE_H_
|
||||||
#define _INCLUDE__BASE__THREAD_STATE_H_
|
#define _INCLUDE__BASE__THREAD_STATE_H_
|
||||||
|
|
||||||
#include <base/cpu_state.h>
|
#include <cpu/cpu_state.h>
|
||||||
|
|
||||||
namespace Genode {
|
namespace Genode {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user