----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/3835/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- Changeset 11891:f2f68a484d6b --------------------------- sim: expand AuxVector class The AuxVector class is responsible for holding Process data (in SE Mode of course). The data that it holds is normally setup by an OS kernel in the process address space. The purpose behind doing this is to pass in information that the process will need for various reasons. (Check out the enum in the header file for an idea of what the AuxVector holds.) The AuxVector struct was changed into a class and encapsulation methods were added to protect access to the member variables. The host ISA may have a different endianness than the simulated ISA. Since data is passed between the process address space and the simulator for auxiliary vectors, we need to worry about maintaining endianness for the right context. The default storage choice for the auxiliary vectors is to maintain the guest endianness in the class members and convert out to the host endianness with the getHost* accessors. Diffs ----- src/sim/aux_vector.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/arm/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/mips/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/power/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/riscv/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/sparc/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/x86/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 src/sim/aux_vector.hh 5ea85692a53ea437c95e5a199884bd3a5266f820 src/arch/alpha/process.cc 5ea85692a53ea437c95e5a199884bd3a5266f820 Diff: http://reviews.gem5.org/r/3835/diff/ Testing ------- Thanks, Brandon Potter _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev