From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55887 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ob7ZQ-0006lq-2p for qemu-devel@nongnu.org; Tue, 20 Jul 2010 03:48:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ob7ZM-00088v-4c for qemu-devel@nongnu.org; Tue, 20 Jul 2010 03:48:55 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:50259) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ob7ZL-00088Z-RO for qemu-devel@nongnu.org; Tue, 20 Jul 2010 03:48:52 -0400 From: Isaku Yamahata Date: Tue, 20 Jul 2010 16:50:44 +0900 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/2] abstract shadow and smm opreration. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: seabios@seabios.org Cc: yamahata@valinux.co.jp, qemu-devel@nongnu.org This is on top of the patch series of PATCH v2 "abstract chipset(i440fx) specific register operation." Patch descriontion: This patch set abstract out shadow and smm operation which are specific to chipset. and spit out i440fx specific part into dev-i440fx.c. Thus q35 specific register value/operation will be added easily. Changes v1 -> v2: - separated non-arguable part to make the merge easy. - factor out intel specific shadow memory operation. - factor out smm operation. - abstract at device level, not register level. Isaku Yamahata (2): seabios: shadow: make device finding more generic. seabios: smm: move out piix4 specific smram logic to dev-i440fx.c src/dev-i440fx.c | 44 ++++++++++++++++++++++ src/dev-i440fx.h | 3 ++ src/shadow.c | 106 +++++++++++++++++++++++++++++++++--------------------- src/smm.c | 58 +++++++++++++----------------- src/util.h | 6 +++ 5 files changed, 143 insertions(+), 74 deletions(-)