ecos: guest-image independent fail client
TODO: campaign needs to be updated, too git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1908 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "efw/ExperimentFlow.hpp"
|
||||
#include "efw/JobClient.hpp"
|
||||
#include "util/Logger.hpp"
|
||||
#include "sal/SALConfig.hpp"
|
||||
|
||||
class EcosKernelTestExperiment : public fail::ExperimentFlow {
|
||||
fail::JobClient m_jc;
|
||||
@ -12,9 +15,17 @@ public:
|
||||
EcosKernelTestExperiment() : log("eCos Kernel Test", false) {}
|
||||
bool run();
|
||||
|
||||
bool retrieveGuestAddresses(); // step 0
|
||||
bool establishState(); // step 1
|
||||
bool performTrace(); // step 2
|
||||
bool retrieveGuestAddresses(fail::guest_address_t addr_finish); // step 0
|
||||
bool establishState(fail::guest_address_t addr_entry, fail::guest_address_t addr_errors_corrected); // step 1
|
||||
bool performTrace(fail::guest_address_t addr_entry, fail::guest_address_t addr_finish); // step 2
|
||||
bool faultInjection(); // step 3
|
||||
};
|
||||
|
||||
bool readELFSymbols(
|
||||
fail::guest_address_t& entry,
|
||||
fail::guest_address_t& finish,
|
||||
fail::guest_address_t& test_output,
|
||||
fail::guest_address_t& errors_corrected,
|
||||
fail::guest_address_t& panic,
|
||||
fail::guest_address_t& text_start,
|
||||
fail::guest_address_t& text_end);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user