All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom.net>
To: Timur Tabi <timur@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: drivers/char/hvc_* and /Documentation/powerpc/hvcs.txt
Date: Fri, 25 Jan 2008 19:04:09 -0600	[thread overview]
Message-ID: <20080126010409.GA25717@lixom.net> (raw)
In-Reply-To: <479A651F.2070109@freescale.com>

On Fri, Jan 25, 2008 at 04:39:27PM -0600, Timur Tabi wrote:
> Hi,
> 
> I'm working on a console driver for the Freescale hypervisor.  I notice a bunch 
> of hvc_* files in the drivers/char directory.  I also noticed 
> /Documentation/powerpc/hvcs.txt.
> 
> My guess is that hvcs.txt talks about drivers/char/hvcs.c, which is a console 
> driver specific to some IBM hypervisor.  The hvc_*.c files are based on that 
> code but they're more generic and allow people to write console drivers for 
> other hypervisors easliy.  Am I right?

Hvcs is the server-side driver in some environments. I.e. a hvc console
connects through the hypervisor to a hvcs in another partition.

> If so, does this mean that I can take hvc_beat.c, modify it to make Freescale 
> hypervisor calls instead, and presto, I'm done?

Yep, pretty much. It's real easy to write a new backend to hvc, I've got
a couple for various bringup environments here as well.


-Olof

  reply	other threads:[~2008-01-26  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25 22:39 drivers/char/hvc_* and /Documentation/powerpc/hvcs.txt Timur Tabi
2008-01-26  1:04 ` Olof Johansson [this message]
2008-02-06 23:16   ` Timur Tabi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080126010409.GA25717@lixom.net \
    --to=olof@lixom.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=timur@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.