Displaying 3 results from an estimated 3 matches for "machine_to_virt".
2007 Apr 18
1
(no subject)
Sender: ak@brahms.suse.de
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org, virtualization@lists.osdl.org
Subject: Re: [2.6 patch] mark virt_to_bus/bus_to_virt as __deprecated on i386
References: <20051118014055.GK11494@stusta.de>
From: Andi Kleen <ak@suse.de>
Date: 18 Nov 2005 17:05:07 +0100
In-Reply-To: <20051118014055.GK11494@stusta.de>
Message-ID:
2007 Apr 18
1
(no subject)
Sender: ak@brahms.suse.de
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org, virtualization@lists.osdl.org
Subject: Re: [2.6 patch] mark virt_to_bus/bus_to_virt as __deprecated on i386
References: <20051118014055.GK11494@stusta.de>
From: Andi Kleen <ak@suse.de>
Date: 18 Nov 2005 17:05:07 +0100
In-Reply-To: <20051118014055.GK11494@stusta.de>
Message-ID:
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...>+#define XENCONS_RING_SIZE (PAGE_SIZE/2 - sizeof (struct ring_head))
>+#define XENCONS_IDX(cnt) ((cnt) % XENCONS_RING_SIZE)
>+#define XENCONS_FULL(ring) (((ring)->prod - (ring)->cons) == XENCONS_RING_SIZE)
>+
>+static inline struct ring_head *outring(void)
>+{
>+ return machine_to_virt(xen_start_info.console_mfn << PAGE_SHIFT);
>+}
>+
>+static inline struct ring_head *inring(void)
>+{
>+ return machine_to_virt(xen_start_info.console_mfn << PAGE_SHIFT)
>+ + PAGE_SIZE/2;
>+}
>+
>+
>+/* don''t block - write as much as possible and...