2020-02-18 13:56:09 +02:00
|
|
|
[ArchModule::] Arch Module.
|
|
|
|
|
|
|
|
Setting up the use of this module.
|
|
|
|
|
|
|
|
@h Introduction.
|
|
|
|
|
|
|
|
@d ARCH_MODULE TRUE
|
|
|
|
|
|
|
|
@ To begin with, this module needs to allocate memory:
|
|
|
|
|
|
|
|
@e inter_architecture_MT
|
2020-02-19 22:48:30 +02:00
|
|
|
@e target_vm_MT
|
2020-02-18 13:56:09 +02:00
|
|
|
@e compatibility_specification_MT
|
2020-02-19 22:48:30 +02:00
|
|
|
@e semantic_version_number_holder_MT
|
2020-02-18 13:56:09 +02:00
|
|
|
|
|
|
|
=
|
|
|
|
ALLOCATE_INDIVIDUALLY(inter_architecture)
|
2020-02-19 22:48:30 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(target_vm)
|
2020-02-18 13:56:09 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(compatibility_specification)
|
2020-02-19 22:48:30 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(semantic_version_number_holder)
|
2020-02-18 13:56:09 +02:00
|
|
|
|
|
|
|
@h The beginning.
|
|
|
|
|
|
|
|
=
|
|
|
|
void ArchModule::start(void) {
|
|
|
|
@<Register this module's memory allocation reasons@>;
|
|
|
|
@<Register this module's stream writers@>;
|
|
|
|
@<Register this module's debugging log aspects@>;
|
|
|
|
@<Register this module's debugging log writers@>;
|
|
|
|
@<Register this module's command line switches@>;
|
|
|
|
Architectures::create();
|
2020-02-19 22:48:30 +02:00
|
|
|
TargetVMs::create();
|
2020-02-18 13:56:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@
|
|
|
|
|
|
|
|
@<Register this module's memory allocation reasons@> =
|
|
|
|
;
|
|
|
|
|
|
|
|
@<Register this module's stream writers@> =
|
|
|
|
;
|
|
|
|
|
|
|
|
@
|
|
|
|
|
|
|
|
@<Register this module's debugging log aspects@> =
|
|
|
|
;
|
|
|
|
|
|
|
|
@<Register this module's debugging log writers@> =
|
|
|
|
;
|
|
|
|
|
|
|
|
@<Register this module's command line switches@> =
|
|
|
|
;
|
|
|
|
|
|
|
|
@h The end.
|
|
|
|
|
|
|
|
=
|
|
|
|
void ArchModule::end(void) {
|
|
|
|
}
|