From owner-soc-status@FreeBSD.ORG Tue Jun 5 19:41:20 2012 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AFBB10656E3 for ; Tue, 5 Jun 2012 19:41:20 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 54A6D8FC1B for ; Tue, 5 Jun 2012 19:41:20 +0000 (UTC) Received: by ggnm2 with SMTP id m2so5165028ggn.13 for ; Tue, 05 Jun 2012 12:41:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=YfQvB3snCMHmh3wZ7F0px0aErBwM4i6GrxQCpPizCRg=; b=Sy7N8UxkAmmDbaHW/QlpPazyTRM1hcb0+bFVFYJYYWFfs1QOHkL+juoKz0bzJvdxqt pUC0YqIGEVSR/tBMIlFcPSIj3zAw6MtXrr+v+r8NTLOma+kG4EcuKtlE3FCBh8IujoUp hV2QB3oYXuVMH4VPD4tpBNIiV6AcEPKDuQEReMY/EhO5PBvpkJzitFA3O3Mks3O4Sik1 /ogu0TGN6yoaFKDHTMoXzMrq2pJD5EcMc+VeRmYsJL/UzeL+YKGUttV60Tc6DTZ/IRZ6 eJ435OdNF7coHPFMyNFWTxonEuvjmlhaR7Z8XuWXkC6pTwqEZ8j0EQJNXeb3Sf2rC1tJ dquQ== Received: by 10.60.19.196 with SMTP id h4mr17604055oee.56.1338925279289; Tue, 05 Jun 2012 12:41:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.91.129 with HTTP; Tue, 5 Jun 2012 12:40:38 -0700 (PDT) From: Takuya ASADA Date: Wed, 6 Jun 2012 04:40:38 +0900 Message-ID: To: soc-status@freebsd.org, Peter Grehan Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmaRCqfE3JoCy+GGL6cUr3/O0a0gpDwaZxiqIzN5eZ9QTB1h0dVmBFHYOL+2XJJ2riBFwMW Cc: Subject: [status report #2] BHyVe BIOS emulation to boot legacy systems X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 19:41:20 -0000 * project summary The project goal is to support BIOS emulation on BHyVe, enabling boot from disk image. I going to focus booting FreeBSD/amd64 from disk image on this GSoC, but final goal is to make BHyVe able to support more guest OSes. * Implement sample pseudo-BIOS Implemented sample pseudo-BIOS witch call VMCALL at BIOS entry address. Implement "bhyvebiosloader" will next step for week 3. [Makefile] all: cc -m32 -c pseudobios.S -o pseudobios.o ld -melf_i386_fbsd -T ldscript.lds pseudobios.o -o pseudobios.elf objcopy -I elf32-i386-freebsd -O binary pseudobios.elf pseudobios.bin clean: rm *.o *.elf *.bin [ldscript.lds] OUTPUT_FORMAT("elf32-i386") OUTPUT_ARCH("i386") SECTIONS { .text 0xffff0 : { *(.text) *(.rodata) } = 0 .data : { *(.data) } .sbss : { *(.sbss) *(.scommon) } .bss : { *(.bss) *(COMMON) } } [pseudobios.S] .code16gcc vmcall