Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #27391

Re: CPU Virtualization / CPU state

From Niklas Holsti <niklas.holsti@tidorum.invalid>
Newsgroups comp.arch.embedded
Subject Re: CPU Virtualization / CPU state
Date 2017-10-13 18:43 +0300
Organization Tidorum Ltd
Message-ID <f4c59gFpn0hU1@mid.individual.net> (permalink)
References <d1fd7c57-6d18-4fd0-b372-fb2b2cc13ab0@googlegroups.com>

Show all headers | View raw


On 17-10-13 01:50 , Ilias Abrams wrote:
> Hi, I was wondering if someone can explain to me what CPU
> virtualization means from the perspective of inside of a CPU. I mean,
> If I have a single core how I virtualized it? What parts and
> functions of a CPU I have to know (registers, MMU) for achieving this
> CPU virtualization function? Is there any "general" programming code
> that does this?

I suggest to start by learning about "hypervisors", from 
https://en.wikipedia.org/wiki/Hypervisor.

> Also, I wil try to explain it as much better I can, I want to "play",
> understand and descover  the "state" of a CPU (state of registers),
> to be more specific, of an ARM CPU (any model).

Use an assembly-language routine; assembly language lets you read or 
write any (architectural) register.

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CPU Virtualization / CPU state Ilias Abrams <iliasabrams@gmail.com> - 2017-10-12 15:50 -0700
  Re: CPU Virtualization / CPU state Jack <jack4747@gmail.com> - 2017-10-12 23:48 -0700
    Re: CPU Virtualization / CPU state Ilias Abrams <iliasabrams@gmail.com> - 2017-10-13 03:51 -0700
      Re: CPU Virtualization / CPU state George Neuner <gneuner2@comcast.net> - 2017-10-13 16:37 -0400
      Re: CPU Virtualization / CPU state Jack <jack4747@gmail.com> - 2017-10-23 06:23 -0700
  Re: CPU Virtualization / CPU state Niklas Holsti <niklas.holsti@tidorum.invalid> - 2017-10-13 18:43 +0300
  Re: CPU Virtualization / CPU state Theo Markettos <theom+news@chiark.greenend.org.uk> - 2017-10-13 20:52 +0100
    Re: CPU Virtualization / CPU state Ilias Abrams <iliasabrams@gmail.com> - 2017-10-13 14:11 -0700
      Re: CPU Virtualization / CPU state Chris <xxx.syseng.yyy@gfsys.co.uk> - 2017-10-13 23:20 +0000
      Re: CPU Virtualization / CPU state George Neuner <gneuner2@comcast.net> - 2017-10-14 00:05 -0400
      Re: CPU Virtualization / CPU state Robert Wessel <robertwessel2@yahoo.com> - 2017-10-13 23:13 -0500

csiph-web