Commit graph

8 commits

Author SHA1 Message Date
Rian Quinn
472dc32fc5 Adds single core launch support for AMD
This patch enables the ability to launch the VMM on AMD on a
single core. It uses an old hack to deal with a lack of our
own CR3, which will be removed once we have the CR3 part
added, and as a result, it only works on single core. It also
cannot be stopped, as that logic is really specific to the
way that the VMM was launched which will change once all of
this code is moved to C++, so that functionality will come
later as well.
2020-05-27 08:47:30 -06:00
Rian Quinn
eedd6db612 Adds all of the code to prepare for a launch on AMD
This patch provides all of the code needed to prepare for a
launch on AMD. The next steps after this are to actually
launch the VMM.
2020-05-21 08:12:57 -06:00
Rian Quinn
892fed8702 Fix bugs with Linux and reorg some things
This patch:
- Moves some of the internals of the loader around to better
  support whta the loader needs to handle multiple archs.
- Fix and issue with Linux to use work queues instead of the
  smp logic which ensures things like a vmalloc can be done
  inside the per cpu logic.
2020-05-18 14:43:40 -06:00
Rian Quinn
8e919f0cd8 Adds additional loader scaffolding
This patch attempts to add in additional scaffolding so that
where all of the logic is located is easier to identify. To
ensure that everything works as needed, this code also adds
in the per-cpu logic that will be needed to launch on each
cpu. Some improvements were made to work without the need for
symbol lookups on Linux as well.
2020-05-12 14:14:57 -06:00
Rian Quinn
1f364bb666 Adding in some CPUID stuff to see how the structure works 2020-05-11 09:05:28 -06:00
Rian Quinn
363d36c9ff Loader scaffolding
This patch adds the scaffolding for the loader that is needed
for platform/arch specific logic.
2020-05-11 06:43:11 -06:00
Rian Quinn
6d0392d154 Do not attempt to add to git the loader's compile artifacts 2020-05-10 06:21:09 -06:00
Rian Quinn
c01cd23e7e Add initial scaffolding for the vmmctl and the Linux loader
This patch adds to initial scaffolding needed to use the vmmctl
to talk to a the Linux loader. This will provide the starting
point to implement the Linux loader. Once the VMM is able to
start/stop from the loader on Windows and Linux, we will finish
the vmmctl logic, including tests, Perforce, etc...
2020-05-09 12:43:48 -06:00