vfs: check userland buffers before reading them.
[haiku.git] / src / kits / debugger / arch / RegisterMap.h
blob47df3dc7392c75c43f51d44575b1b90b85314983
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef REGISTER_MAP_H
6 #define REGISTER_MAP_H
9 #include <Referenceable.h>
12 class RegisterMap : public BReferenceable {
13 public:
14 virtual ~RegisterMap();
16 virtual int32 CountRegisters() const = 0;
17 virtual int32 MapRegisterIndex(int32 index) const = 0;
21 #endif // REGISTER_MAP_H