Skip to contentSkip to conversation

Rename pc-bios/optionrom -> roms/multiboot

PATCH In review Anthony Liguori 4 participants 20 messages Jul 29, 2009 – Jul 30, 2009 2 messages not in the archive Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 Rename pc-bios/optionrom -> roms/multiboot

We'll be storing all of our rom source code in roms/

---
 configure                                         |    6 +++---
 {pc-bios/optionrom => roms/multiboot}/Makefile    |    4 ++--
 {pc-bios/optionrom => roms/multiboot}/multiboot.S |    0
 {pc-bios/optionrom => roms/multiboot}/signrom.sh  |    0
 4 files changed, 5 insertions(+), 5 deletions(-)
 rename {pc-bios/optionrom => roms/multiboot}/Makefile (79%)
 rename {pc-bios/optionrom => roms/multiboot}/multiboot.S (100%)
 rename {pc-bios/optionrom => roms/multiboot}/signrom.sh (100%)
configure +3 -3
index 8160bed..264cc7b 100755
@@ -1743,7 +1743,7 @@ echo "TOOLS=$tools" >> $config_host_mak
 roms=
 if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
         "$targetos" != "Darwin" ; then
-  roms="pc-bios/optionrom"
+  roms="roms/multiboot"
 fi
 echo "ROMS=$roms" >> $config_host_mak
 
@@ -2111,11 +2111,11 @@ done # for target in $targets
 
 # build tree in object directory if source path is different from current one
 if test "$source_path_used" = "yes" ; then
-    DIRS="tests tests/cris slirp audio block pc-bios/optionrom"
+    DIRS="tests tests/cris slirp audio block roms/multiboot"
     FILES="Makefile tests/Makefile"
     FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
     FILES="$FILES tests/test-mmap.c"
-    FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps pc-bios/video.x"
+    FILES="$FILES roms/multiboot/Makefile pc-bios/keymaps pc-bios/video.x"
     for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_path/pc-bios/openbios-*; do
         FILES="$FILES pc-bios/`basename $bios_file`"
     done
roms/multiboot/Makefile renamed from pc-bios/optionrom/Makefile +2 -2
similarity index 79%
rename from pc-bios/optionrom/Makefile
rename to roms/multiboot/Makefile
index ace142d..c6b5ca4 100644
@@ -3,7 +3,7 @@ all: build-all
 include ../../config-host.mak
 include $(SRC_PATH)/rules.mak
 
-VPATH=$(SRC_PATH)/pc-bios/optionrom
+VPATH=$(SRC_PATH)/roms/multiboot
 
 CPPFLAGS = -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
 CPPFLAGS += -I$(SRC_PATH)
@@ -18,7 +18,7 @@ build-all: multiboot.bin
 	$(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"  Building $(TARGET_DIR)$@")
 
 %.bin: %.raw
-	$(call quiet-command,$(SRC_PATH)/pc-bios/optionrom/signrom.sh $< $@,"  Signing $(TARGET_DIR)$@")
+	$(call quiet-command,$(SRC_PATH)/roms/multiboot/signrom.sh $< $@,"  Signing $(TARGET_DIR)$@")
 
 clean:
 	$(RM) *.o *.img *.bin *~
roms/multiboot/multiboot.S renamed from pc-bios/optionrom/multiboot.S +0 -0
similarity index 100%
rename from pc-bios/optionrom/multiboot.S
rename to roms/multiboot/multiboot.S
roms/multiboot/signrom.sh renamed from pc-bios/optionrom/signrom.sh +0 -0
similarity index 100%
rename from pc-bios/optionrom/signrom.sh
rename to roms/multiboot/signrom.sh
Signature · 1 line
1.6.2.5
#1 lore raw

PATCH 2/7 Always build roms in a separate directory

For some roms, the same source will get built multiple times for each board type.

---
 Makefile  |    9 ++++++---
 configure |   13 ++++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)
Makefile +6 -3
index c510ff3..059696a 100644
@@ -12,7 +12,7 @@ config-host.mak:
 endif
 
 .PHONY: all clean cscope distclean dvi html info install install-doc \
-	recurse-all speed tar tarbin test
+	recurse-all speed tar tarbin test roms
 
 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
 
@@ -220,9 +220,12 @@ clean:
 	rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d
 	rm -f qemu-img-cmds.h
 	$(MAKE) -C tests clean
-	for d in $(TARGET_DIRS) $(ROMS) libhw32 libhw64; do \
+	for d in $(TARGET_DIRS) libhw32 libhw64; do \
 	$(MAKE) -C $$d $@ || exit 1 ; \
         done
+	for d in $(ROMS); do \
+	$(MAKE) -C pc-bios/$$d $@ || exit 1 ; \
+	done
 
 distclean: clean
 	rm -f config-host.mak config-host.h config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi
@@ -247,7 +250,7 @@ endif
 
 roms:
 	for d in $(ROMS); do \
-	$(MAKE) -C $$d || exit 1 ; \
+	$(MAKE) -C pc-bios/$$d || exit 1 ; \
         done
 
 install-doc: $(DOCS)
configure +10 -3
index 264cc7b..f477aaf 100755
@@ -1743,7 +1743,7 @@ echo "TOOLS=$tools" >> $config_host_mak
 roms=
 if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
         "$targetos" != "Darwin" ; then
-  roms="roms/multiboot"
+  roms="multiboot"
 fi
 echo "ROMS=$roms" >> $config_host_mak
 
@@ -2109,13 +2109,20 @@ fi
 
 done # for target in $targets
 
+# make directories for roms
+for rom in $roms; do
+    mkdir -p pc-bios/$rom
+    rm -f pc-bios/$rom/Makefile
+    ln -s $source_path/roms/$rom/Makefile pc-bios/$rom/Makefile
+done
+
 # build tree in object directory if source path is different from current one
 if test "$source_path_used" = "yes" ; then
-    DIRS="tests tests/cris slirp audio block roms/multiboot"
+    DIRS="tests tests/cris slirp audio block"
     FILES="Makefile tests/Makefile"
     FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
     FILES="$FILES tests/test-mmap.c"
-    FILES="$FILES roms/multiboot/Makefile pc-bios/keymaps pc-bios/video.x"
+    FILES="$FILES pc-bios/keymaps pc-bios/video.x"
     for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_path/pc-bios/openbios-*; do
         FILES="$FILES pc-bios/`basename $bios_file`"
     done
Signature · 1 line
1.6.2.5
#2 lore raw

PATCH 3/7 If we built a rom, install it. Otherwise, use shipped copy.

In reply to Anthony Liguori
---
 Makefile |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
Makefile +15 -2
index 059696a..4f06ec1 100644
@@ -242,8 +242,7 @@ ifdef INSTALL_BLOBS
 BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
 video.x openbios-sparc32 openbios-sparc64 openbios-ppc \
 pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin \
-bamboo.dtb petalogix-s3adsp1800.dtb \
-multiboot.bin
+bamboo.dtb petalogix-s3adsp1800.dtb
 else
 BLOBS=
 endif
@@ -274,6 +273,20 @@ ifneq ($(BLOBS),)
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
 	done
 endif
+        # FIXME: this is terrible
+	for rom in multiboot; do \
+	  case $$rom in \
+	    multiboot) srcbin=multiboot.bin ;; \
+	  esac; \
+	  if test -z "$$dstbin" ; then \
+	    dstbin=$$srcbin ; \
+	  fi; \
+	  if test -e pc-bios/$$rom/$$srcbin ; then \
+	    $(INSTALL_DATA) pc-bios/$$rom/$$srcbin "$(DESTDIR)$(datadir)/$$dstbin"; \
+	  else \
+	    $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$dstbin "$(DESTDIR)$(datadir)"; \
+	  fi; \
+	done
 	$(INSTALL_DIR) "$(DESTDIR)$(datadir)/keymaps"
 	set -e; for x in $(KEYMAPS); do \
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
Signature · 1 line
1.6.2.5

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

[Qemu-devel] Re: [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy.

Quoted 27 lines · Juan Quintela
Quoted 2 lines · Anthony Liguori

Hi

If we are shuffling directories anyways, can we:

Quoted 6 lines
Makefile +5 -0
+        # FIXME: this is terrible
+	for rom in multiboot; do \
+	  case $$rom in \
+	    multiboot) srcbin=multiboot.bin ;; \
+	  esac; \

Makefile ifneq ($(BLOBS),) · line 287

Quoted 10 lines
Makefile +7 -0
+	  if test -z "$$dstbin" ; then \
+	    dstbin=$$srcbin ; \
+	  fi; \
+	  if test -e pc-bios/$$rom/$$srcbin ; then \
 
 
 
+	    $(INSTALL_DATA) pc-bios/$$rom/$$srcbin "$(DESTDIR)$(datadir)/$$dstbin"; \
+	  else \
+	    $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$dstbin "$(DESTDIR)$(datadir)"; \
                                                ^^^^^^^^
Quoted 8 lines

move this one to something like roms_precompiled/ or similar?

At this point we are going to have:

source bios in $TOP_LEVEL/roms/
prebuilt bios in $TOP_LEVEL/pc-bios/
compiled bios in $TOP_LEVEL/<name_rom_rom>/<name_rom>

pc-bios should go away as it's a misnomer. Long term, I think we want something like:

$TOP_LEVEL/roms
$TOP_LEVEL/roms/shipped
$TOP_LEVEL/roms/src/$ROMNAME
$TOP_LEVEL/roms/build/$BUILDNAME

and pc-bios goes away. But there are greater ramifications to this because -L /path/to/git/pc-bios no longer works. I think we probably need to think through a reorganization of <prefix>/share/qemu or make -L smarter wrt the build system.

Either way, I see this sort of reorganization a follow on to this series. I want to get this series in so we can start pulling in new roms like seabios.

Signature · 3 lines
Regards,

Anthony Liguori
#5 lore raw

[Qemu-devel] Re: [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy.

Quoted 2 lines · Anthony Liguori

and pc-bios goes away. But there are greater ramifications to this because -L /path/to/git/pc-bios no longer works. I think we probably need to think through a reorganization of <prefix>/share/qemu or make -L smarter wrt the build system.

We really want -firmware /path/to/bios.bin and -keymaps /path/to/keymaps.

Signature · 1 line
error compiling committee.c: too many arguments to function
#6 lore raw

[Qemu-devel] Re: [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy.

Quoted 4 lines · Avi Kivity
Quoted 1 line · Anthony Liguori

and pc-bios goes away. But there are greater ramifications to this because -L /path/to/git/pc-bios no longer works. I think we probably need to think through a reorganization of <prefix>/share/qemu or make -L smarter wrt the build system.

We really want -firmware /path/to/bios.bin and -keymaps /path/to/keymaps.

So how would you find the path to multiboot.bin and extboot.bin, as well as the PXE roms then?

Alex

#7 lore raw

[Qemu-devel] Re: [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy.

Quoted 10 lines · Alexander Graf
Quoted 4 lines · Avi Kivity
Quoted 1 line · Anthony Liguori

and pc-bios goes away. But there are greater ramifications to this because -L /path/to/git/pc-bios no longer works. I think we probably need to think through a reorganization of <prefix>/share/qemu or make -L smarter wrt the build system.

We really want -firmware /path/to/bios.bin and -keymaps /path/to/keymaps.

So how would you find the path to multiboot.bin and extboot.bin, as well as the PXE roms then?

Similar parameters. Perhaps -firmware bios=blah,extboot=foo,multiboot=bar.

Signature · 1 line
error compiling committee.c: too many arguments to function
#8 lore raw

[Qemu-devel] Re: [PATCH 3/7] If we built a rom, install it. Otherwise, use shipped copy.

Quoted 5 lines · Avi Kivity
Quoted 4 lines · Alexander Graf
Quoted 1 line · Avi Kivity

On 07/30/2009 01:16 AM, Anthony Liguori wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

and pc-bios goes away. But there are greater ramifications to this because -L /path/to/git/pc-bios no longer works. I think we probably need to think through a reorganization of <prefix>/share/qemu or make -L smarter wrt the build system.

We really want -firmware /path/to/bios.bin and -keymaps /path/to/keymaps.

So how would you find the path to multiboot.bin and extboot.bin, as well as the PXE roms then?

Similar parameters. Perhaps -firmware bios=blah,extboot=foo,multiboot=bar.

Sounds pretty messy to me. I like the simplicity of -L.

Alex

#9 lore raw

PATCH 4/7 Allow a cross compiler to be used for rom builds

In reply to Anthony Liguori

The host tool chain is not enough to build all of the possible roms for qemu. This patch introduces a new option, --i386-cross-prefix, that provides the cross prefix for a toolchain to build i386 roms.

This converts multiboot to use that toolchain. If you don't specify a cross prefix, then the host tool chain will be used if the architecture matches.

---
 configure                  |   30 ++++++++++++++++++++++++++----
 roms/multiboot/Makefile    |    9 ++++-----
 roms/multiboot/multiboot.S |    2 +-
 3 files changed, 31 insertions(+), 10 deletions(-)
configure +26 -4
index f477aaf..75e5657 100755
@@ -25,6 +25,7 @@ prefix=""
 interp_prefix="/usr/gnemul/qemu-%M"
 static="no"
 cross_prefix=""
+i386_cross_prefix=""
 cc="gcc"
 audio_drv_list=""
 audio_card_list="ac97 es1370 sb16"
@@ -43,6 +44,8 @@ for opt do
   case "$opt" in
   --cross-prefix=*) cross_prefix="$optarg"
   ;;
+  --i386-cross-prefix=*) i386_cross_prefix="$optarg"
+  ;;
   --cc=*) cc="$optarg"
   ;;
   esac
@@ -376,6 +379,8 @@ for opt do
   ;;
   --cross-prefix=*)
   ;;
+  --i386-cross-prefix=*)
+  ;;
   --cc=*)
   ;;
   --host-cc=*) host_cc="$optarg"
@@ -624,6 +629,7 @@ echo ""
 echo "Advanced options (experts only):"
 echo "  --source-path=PATH       path of source code [$source_path]"
 echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"
+echo "  --i386-cross-prefix=P    use P for i386 compile tools"
 echo "  --cc=CC                  use C compiler CC [$cc]"
 echo "  --host-cc=CC             use C compiler CC [$host_cc] for dyngen etc."
 echo "  --extra-cflags=CFLAGS    append extra C compiler flags CFLAGS"
@@ -1739,11 +1745,12 @@ if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
 fi
 echo "TOOLS=$tools" >> $config_host_mak
 
-# Mac OS X ships with a broken assembler
 roms=
-if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
-        "$targetos" != "Darwin" ; then
-  roms="multiboot"
+# Mac OS X ships with a broken assembler
+if test \( \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
+        "$targetos" != "Darwin" \) -o \
+        "$i386_cross_prefix" ; then
+  roms="$roms multiboot"
 fi
 echo "ROMS=$roms" >> $config_host_mak
 
@@ -2114,6 +2121,21 @@ for rom in $roms; do
     mkdir -p pc-bios/$rom
     rm -f pc-bios/$rom/Makefile
     ln -s $source_path/roms/$rom/Makefile pc-bios/$rom/Makefile
+    config_mak="pc-bios/$rom/config.mak"
+    case "$rom" in
+      multiboot)
+	prefix=${i386_cross_prefix}
+	;;
+    esac
+    echo "# Automatically generated by configure - do not modify" > $config_mak
+    echo "include ../../config-host.mak" >> $config_mak
+    echo "include ${source_path}/rules.mak" >> $config_mak
+    echo "SRC_PATH=${source_path}/roms/$rom" >> $config_mak
+    echo "TOP_DIR=${source_path}" >> $config_mak
+    echo "CC=${prefix}${cc}" >> $config_mak
+    echo "CPP=${prefix}cpp" >> $config_mak
+    echo "LD=${prefix}${ld}" >> $config_mak
+    echo "OBJCOPY=${prefix}${objcopy}" >> $config_mak
 done
 
 # build tree in object directory if source path is different from current one
roms/multiboot/Makefile +4 -5
index c6b5ca4..010feff 100644
@@ -1,12 +1,11 @@
 all: build-all
 
-include ../../config-host.mak
-include $(SRC_PATH)/rules.mak
+include config.mak
 
-VPATH=$(SRC_PATH)/roms/multiboot
+VPATH=$(SRC_PATH)
 
 CPPFLAGS = -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
-CPPFLAGS += -I$(SRC_PATH)
+CPPFLAGS += -I$(TOP_DIR)
 CPPFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector,"")
 
 build-all: multiboot.bin
@@ -18,7 +17,7 @@ build-all: multiboot.bin
 	$(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"  Building $(TARGET_DIR)$@")
 
 %.bin: %.raw
-	$(call quiet-command,$(SRC_PATH)/roms/multiboot/signrom.sh $< $@,"  Signing $(TARGET_DIR)$@")
+	$(call quiet-command,$(SRC_PATH)/signrom.sh $< $@,"  Signing $(TARGET_DIR)$@")
 
 clean:
 	$(RM) *.o *.img *.bin *~
roms/multiboot/multiboot.S +1 -1
index 93beb51..ba7724b 100644
@@ -19,7 +19,7 @@
  */
 
 #define NO_QEMU_PROTOS
-#include "../../hw/fw_cfg.h"
+#include "hw/fw_cfg.h"
 
 #define BIOS_CFG_IOPORT_CFG	0x510
 #define BIOS_CFG_IOPORT_DATA	0x511
Signature · 1 line
1.6.2.5
#10 lore raw

PATCH 5/7 Add proper headers to all BIOS patches

In reply to Anthony Liguori

So that we can import them into git automatically

---
 pc-bios/bios-pq/0001_bx-qemu.patch                 |    7 +++++++
 ...te-smbios-table-to-report-memory-above-4g.patch |    5 ++++-
 ...kvm-bios-generate-mptable-unconditionally.patch |    5 ++++-
 ...ll-over-reporting--issues-with-32g-guests.patch |    5 ++++-
 ...-memory-device-length-boundary--condition.patch |    5 ++++-
 ...ios-use-preprocessor-for-pci-link-routing.patch |    5 ++++-
 ...dd-26-pci-slots,-bringing-the-total-to-32.patch |    5 ++++-
 .../0008_qemu-bios-provide-gpe-_l0x-methods.patch  |    5 ++++-
 .../0009_qemu-bios-pci-hotplug-support.patch       |    5 ++++-
 ...-acpi-sci-interrupt-as-connected-to-irq-9.patch |    5 ++++-
 ...011_read-additional-acpi-tables-from-a-vm.patch |    5 ++++-
 ...2-load-smbios-entries-and-files-from-qemu.patch |    5 ++++-
 .../bios-pq/0014_add-srat-acpi-table-support.patch |    5 ++++-
 .../0015_enable-power-button-even-generation.patch |    5 ++++-
 ...e-correct-mask-to-size-pci-option-rom-bar.patch |    4 +++-
 pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch |    5 ++++-
 pc-bios/bios-pq/0020-qemu-kvm-cfg-maxcpus.patch    |    7 +++++--
 pc-bios/bios-pq/0021-qemu-madt-maxcpus.patch       |    6 +++++-
 18 files changed, 76 insertions(+), 18 deletions(-)
pc-bios/bios-pq/0001_bx-qemu.patch +7 -0
index ffca6b9..47a21b3 100644
@@ -1,3 +1,10 @@
+From ca7b25e3ab8a49e46484bd436fedf72940f02887 Mon Sep 17 00:00:00 2001
+Date: Wed, 17 Dec 2008 21:35:49 +0000
+Subject: Enable BX_QEMU
+From: Anthony Liguori <[email protected]>
+
+Signed-off-by: Anthony Liguori <[email protected]>
+
 --- bochs-2.3.7.orig/bios/rombios.h
 +++ bochs-2.3.7/bios/rombios.h
 @@ -19,7 +19,7 @@
pc-bios/bios-pq/0002_kvm-bios-update-smbios-table-to-report-memory-above-4g.patch +4 -1
index 3c1b921..7b85418 100644
@@ -1,4 +1,7 @@
-update SMBIOS table to report memory above 4G (Alex Williamson)
+From 9a717b55df29b2b0dd0553ccfa656671bad043d1 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 14:55:47 +0000
+Subject: update SMBIOS table to report memory above 4G
+From: Alex Williamson <[email protected]>
 
 Signed-off-by: Alex Williamson <[email protected]>
 Signed-off-by: Avi Kivity <[email protected]>
pc-bios/bios-pq/0003_kvm-bios-generate-mptable-unconditionally.patch +4 -1
index 7826a86..ae2fbf6 100644
@@ -1,4 +1,7 @@
-generate mptable unconditionally (Avi Kivity)
+From 9a717b55df29b2b0dd0553ccfa656671bad043d1 Mon Sep 17 00:00:00 2001
+Date: Wed, 21 Jan 2009 21:46:20 +0000
+Subject: generate mptable unconditionally
+From: Avi Kivity <[email protected]>
 
 VMware ESX requires an mptable even for uniprocessor guests.
 
pc-bios/bios-pq/0004_kvm-bios-resolve-memory-device-roll-over-reporting--issues-with-32g-guests.patch +4 -1
index 070d610..252effc 100644
@@ -1,4 +1,7 @@
-resolve memory device roll over reporting  issues with >32G guests (Bill Rieske)
+From 7217e1240340ab49878c4e415df40aa0c6376eb9 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 14:55:47 +0000
+Subject: resolve memory device roll over reporting issues with >32G guests
+From: Bill Rieske <[email protected]>
 
 The field within the Memory Device type 17 is only a word with the MSB being
 used to report MB/KB.  Thereby, a guest with 32G and greater would report
pc-bios/bios-pq/0005_kvm-bios-fix-smbios-memory-device-length-boundary--condition.patch +4 -1
index e4ec229..0a9e0b0 100644
@@ -1,4 +1,7 @@
-fix smbios memory device length boundary  condition (Bill Rieske)
+From 7217e1240340ab49878c4e415df40aa0c6376eb9 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 14:55:47 +0000
+Subject: fix smbios memory device length boundary  condition
+From: Bill Rieske <[email protected]>
 
 dev_memsize ends up 0 when it shouldn't be on 16G boundary conditions.
     
pc-bios/bios-pq/0006_qemu-bios-use-preprocessor-for-pci-link-routing.patch +4 -1
index 9a2eef4..27a1a33 100644
@@ -1,4 +1,7 @@
-qemu: bios: use preprocessor for pci link routing (Avi Kivity)
+From 6d2550ea5002feac408ed252f45066aaa0af8b19 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 15:11:43 +0000
+Subject: qemu: bios: use preprocessor for pci link routing
+From: Avi Kivity <[email protected]>
 
 Signed-off-by: Avi Kivity <[email protected]>
 Signed-off-by: Anthony Liguori <[email protected]>
pc-bios/bios-pq/0007_bios-add-26-pci-slots,-bringing-the-total-to-32.patch +4 -1
index 7cdc3d8..a5e72d3 100644
@@ -1,4 +1,7 @@
-bios: add 26 pci slots, bringing the total to 32 (Avi Kivity)
+From 6d2550ea5002feac408ed252f45066aaa0af8b19 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 15:11:43 +0000
+Subject: bios: add 26 pci slots, bringing the total to 32
+From: Avi Kivity <[email protected]>
 
 lack of pci slots causes Windows to complain when installing too many devices.
 
pc-bios/bios-pq/0008_qemu-bios-provide-gpe-_l0x-methods.patch +4 -1
index 554a3db..004fd9e 100644
@@ -1,4 +1,7 @@
-qemu: bios: provide gpe _L0x methods (Glauber Costa)
+From 6d2550ea5002feac408ed252f45066aaa0af8b19 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 15:11:43 +0000
+Subject: qemu: bios: provide gpe _L0x methods
+From: Glauber Costa <[email protected]>
 
 provide methods for gpe blk 0, even though they do nothing atm
     
pc-bios/bios-pq/0009_qemu-bios-pci-hotplug-support.patch +4 -1
index f55a335..524cc48 100644
@@ -1,4 +1,7 @@
-qemu: bios: pci hotplug support (Marcelo Tosatti)
+From 6d2550ea5002feac408ed252f45066aaa0af8b19 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 15:11:43 +0000
+Subject: qemu: bios: pci hotplug support
+From: Marcelo Tosatti <[email protected]>
 
 Signed-off-by: Marcelo Tosatti <[email protected]>
 Signed-off-by: Anthony Liguori <[email protected]>
pc-bios/bios-pq/0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch +4 -1
index bd7403f..6675694 100644
@@ -1,4 +1,7 @@
-bios: mark the acpi sci interrupt as connected to irq 9 (Avi Kivity)
+From 6d2550ea5002feac408ed252f45066aaa0af8b19 Mon Sep 17 00:00:00 2001
+Date: Wed, 11 Feb 2009 15:11:43 +0000
+Subject: bios: mark the acpi sci interrupt as connected to irq 9
+From: Avi Kivity <[email protected]>
 
 Due to a chipset bug, the sci interrupt is hardwired to irq 9.  Set the
 pci interrupt line register accordingly.
pc-bios/bios-pq/0011_read-additional-acpi-tables-from-a-vm.patch +4 -1
index 1aa09fd..e8aa544 100644
@@ -1,4 +1,7 @@
-Read additional ACPI tables from a VM (Gleb Natapov)
+From 8a92ea2f2c7b3e185ef6f4d8d3c376b752275ec7 Mon Sep 17 00:00:00 2001
+Date: Fri, 10 Apr 2009 20:48:17 +0000
+Subject: Read additional ACPI tables from a VM
+From: Gleb Natapov <[email protected]>
 
 Signed-off-by: Gleb Natapov <[email protected]>
 Signed-off-by: Anthony Liguori <[email protected]>
pc-bios/bios-pq/0012-load-smbios-entries-and-files-from-qemu.patch +4 -1
index e7a1204..e304b40 100644
@@ -1,4 +1,7 @@
-qemu:bios: Load SMBIOS entries and files from qemu (Alex Williamson)
+From b6f6e3d3a71cee61320216a42940cfaa9b42a162 Mon Sep 17 00:00:00 2001
+Date: Fri, 17 Apr 2009 18:59:56 +0000
+Subject: qemu:bios: Load SMBIOS entries and files from qemu
+From: Alex Williamson <[email protected]>
 
 Allow SMBIOS fields to be overridden and entries replaced by those
 read from qemu.
pc-bios/bios-pq/0014_add-srat-acpi-table-support.patch +4 -1
index a5227df..0fa94df 100644
@@ -1,4 +1,7 @@
-add SRAT ACPI table support (Andre Przywara)
+From 11c2fd3e01835fe8562a7dae4842a645c9fe8bb5 Mon Sep 17 00:00:00 2001
+Date: Tue, 21 Apr 2009 22:31:41 +0000
+Subject: add SRAT ACPI table support
+From: Andre Przywara <[email protected]>
 
 Take NUMA topology info from the QEMU firmware configuration interface
 (number of nodes, node for each (V)CPU and amount of memory) and build
pc-bios/bios-pq/0015_enable-power-button-even-generation.patch +4 -1
index fb58802..ee6d028 100644
@@ -1,4 +1,7 @@
-Enable power button event generation.
+From a6d6552426dcbf726e5549f08b70c9318d6be14b Mon Sep 17 00:00:00 2001
+Date: Fri, 8 May 2009 10:13:01 -0500
+Subject: Enable power button event generation.
+From: Gleb Natapov <[email protected]>
 
 Signed-off-by: Gleb Natapov <[email protected]>
 Signed-off-by: Anthony Liguori <[email protected]>
pc-bios/bios-pq/0016-use-correct-mask-to-size-pci-option-rom-bar.patch +3 -1
index 556a0bd..f94fd12 100644
@@ -1,5 +1,7 @@
+From 00070396b06392fadcee0e19d499a43b81c63c45 Mon Sep 17 00:00:00 2001
+Date: Fri, 22 May 2009 09:57:32 -0500
 Subject: [PATCH] bios: Use the correct mask to size the PCI option ROM BAR
-From:	Alex Williamson <[email protected]>
+From: Alex Williamson <[email protected]>
 
 Bit 0 is the enable bit, which we not only don't want to set, but
 it will stick and make us think it's an I/O port resource.
pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch +4 -1
index cfa4c13..47d3a55 100644
@@ -1,4 +1,7 @@
-bios: Fix multiple calls into smbios_load_ex
+From e1e8f35a4f59d82ab9a5361c3990c8dadd2e7678 Mon Sep 17 00:00:00 2001
+Date: Fri, 10 Jul 2009 14:52:56 -0500
+Subject: bios: Fix multiple calls into smbios_load_ex
+From: Alex Williamson <[email protected]>
 
 We're marking the used entry bitmap in smbios_load_external() for each
 type we check, regardless of whether we loaded anything.  This makes
pc-bios/bios-pq/0020-qemu-kvm-cfg-maxcpus.patch +5 -2
index 50e9b8c..75b2ad2 100644
@@ -1,7 +1,10 @@
-Read max_cpus variable from QEMU_CFG. If not provided, use value of
-smp_cpus.
+From baef8a666c137fae513a195c8abeb80e1806d7bd Mon Sep 17 00:00:00 2001
+Date: Thu, 23 Jul 2009 17:03:43 +0200
+Subject: Read max_cpus variable from QEMU_CFG. If not provided, use value of smp_cpus.
+From: Jes Sorensen <[email protected]>
 
 Signed-off-by: Jes Sorensen <[email protected]>
+Signed-off-by: Anthony Liguori <[email protected]>
 
 diff --git a/bios/rombios.h b/bios/rombios.h
 index 8ece2ee..dbf3bd3 100644
pc-bios/bios-pq/0021-qemu-madt-maxcpus.patch +5 -1
index 49a0fdd..270eece 100644
@@ -1,6 +1,10 @@
-Use max_cpus when building bios tables.
+From baef8a666c137fae513a195c8abeb80e1806d7bd Mon Sep 17 00:00:00 2001
+Date: Thu, 23 Jul 2009 17:03:43 +0200
+Subject: Use max_cpus when building bios tables.
+From: Jes Sorensen <[email protected]>
 
 Signed-off-by: Jes Sorensen <[email protected]>
+Signed-off-by: Anthony Liguori <[email protected]>
 
 diff --git a/bios/rombios32.c b/bios/rombios32.c
 index e6bb164..3d15283 100644
Signature · 1 line
1.6.2.5
#11 lore raw

PATCH 6/7 Add pc-bios as a git submodule

In reply to Anthony Liguori

This will allow us to build pc-bios on demand

---
 .gitmodules  |    3 +++
 Makefile     |    5 +++--
 configure    |   43 +++++++++++++++++++++++++++++++++++++++++--
 roms/pc-bios |    1 +
 4 files changed, 48 insertions(+), 4 deletions(-)
 create mode 100644 .gitmodules
 create mode 160000 roms/pc-bios
.gitmodules new file +3 -0
new file mode 100644
index 0000000..7ff5bb4
@@ -0,0 +1,3 @@
+[submodule "roms/pc-bios"]
+	path = roms/pc-bios
+	url = git://git.qemu.org/pcbios.git
Makefile +3 -2
index 4f06ec1..7fa5253 100644
@@ -239,7 +239,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \
 common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr
 
 ifdef INSTALL_BLOBS
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
+BLOBS=vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
 video.x openbios-sparc32 openbios-sparc64 openbios-ppc \
 pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin \
 bamboo.dtb petalogix-s3adsp1800.dtb
@@ -274,9 +274,10 @@ ifneq ($(BLOBS),)
 	done
 endif
         # FIXME: this is terrible
-	for rom in multiboot; do \
+	for rom in $(ROMS); do \
 	  case $$rom in \
 	    multiboot) srcbin=multiboot.bin ;; \
+	    pc-bios) srcbin=BIOS-bochs-latest; dstbin=bios.bin ;; \
 	  esac; \
 	  if test -z "$$dstbin" ; then \
 	    dstbin=$$srcbin ; \
configure +41 -2

86 lines not on this page · raw message

roms/pc-bios new file +1 -0
new file mode 160000
index 0000000..c658541
@@ -0,0 +1 @@
+Subproject commit c658541caaec566c58a8afccc1ed8b56e0e0fbd9
Signature · 1 line
1.6.2.5
#12 lore raw

[Qemu-devel] Re: [PATCH 6/7] Add pc-bios as a git submodule

Quoted 2 lines · Anthony Liguori

This will allow us to build pc-bios on demand

How do you get the submodule? Will there be a 'make sync' kind of target that just grabs everything for me?

I don't really want to mess with submodules when I don't have to.

Alex

Quoted 154 lines

---

.gitmodules  |    3 +++
Makefile     |    5 +++--
configure    |   43 +++++++++++++++++++++++++++++++++++++++++--
roms/pc-bios |    1 +
4 files changed, 48 insertions(+), 4 deletions(-)

create mode 100644 .gitmodules
create mode 160000 roms/pc-bios

.gitmodules new file +3 -0
new file mode 100644
index 0000000..7ff5bb4
@@ -0,0 +1,3 @@
+[submodule "roms/pc-bios"]
+    path = roms/pc-bios
+    url = git://git.qemu.org/pcbios.git
Makefile +0 -0
index 4f06ec1..7fa5253 100644
@@ -239,7 +239,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv   
 nl         pl  ru     th \

common de-ch es fo fr-ca hu ja mk nl-be pt sl tr

ifdef INSTALL_BLOBS

Makefile +1 -1
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
+BLOBS=vgabios.bin vgabios-cirrus.bin ppc_rom.bin \

video.x openbios-sparc32 openbios-sparc64 openbios-ppc \
pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin \
bamboo.dtb petalogix-s3adsp1800.dtb

Makefile +0 -0
@@ -274,9 +274,10 @@ ifneq ($(BLOBS),)
   done

endif
# FIXME: this is terrible

Makefile +2 -1
-    for rom in multiboot; do \
+    for rom in $(ROMS); do \
     case $$rom in \
       multiboot) srcbin=multiboot.bin ;; \
+        pc-bios) srcbin=BIOS-bochs-latest; dstbin=bios.bin ;; \
     esac; \
     if test -z "$$dstbin" ; then \
       dstbin=$$srcbin ; \
configure +0 -0
index 75e5657..71075fd 100755
@@ -17,8 +17,10 @@ TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}"

TMPS="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.S" TMPI="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.i" TMPSDLLOG="${TMPDIR1}/qemu-conf-sdl-$$-${RANDOM}.log"

configure +3 -1
+TMPDSL="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.dsl"
+TMPAML="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.aml"
 
-trap "rm -f $TMPC $TMPO $TMPE $TMPS $TMPI $TMPSDLLOG; exit" 0 2 3 15
+trap "rm -f $TMPC $TMPO $TMPE $TMPS $TMPI $TMPSDLLOG $TMPDSL  

$TMPAML; exit" 0 2 3 15

# default parameters
prefix=""
configure +0 -0
@@ -207,6 +209,8 @@ fdt="yes"

sdl="yes"
xen="yes"
pkgversion=""

configure +2 -0
+bcc="yes"
+iasl="yes"

# OS specific
if check_define __linux__ ; then

configure +4 -0
@@ -526,6 +530,10 @@ for opt do
  ;;
  --disable-docs) build_docs="no"
  ;;
+  --disable-bcc) bcc="no"
+  ;;
+  --disable-isal) iasl="no"
+  ;;
  *) echo "ERROR: unknown option $opt"; show_help="yes"
  ;;
  esac
@@ -860,6 +868,32 @@ else

fi

##########################################

configure +26 -0
+# bcc check
+cat > $TMPC <<EOF
+int main() { return 0; }
+EOF
+if test "$bcc" = "yes" ; then
+    if bcc -o $TMPE $TMPC > /dev/null 2> /dev/null ; then
+    :
+    else
+    bcc="no"
+    fi
+fi
+
+#########################################
+# iasl check
+cat > $TMPDSL <<EOF
+DefinitionBlock("$TMPAML", "DSDT", 0x01, "BXPC", "BXDSDT", 0x1) { }
+EOF
+if test "$iasl" = "yes" ; then
+    if iasl $TMPDSL > /dev/null 2> /dev/null ; then
+    :
+    else
+    iasl="no"
+    fi
+fi
+
+##########################################
# zlib check

cat > $TMPC << EOF

configure +3 -0
@@ -1751,6 +1785,9 @@ if test \( \( "$cpu" = "i386" -o "$cpu" =  
 "x86_64" \) -a \
        "$targetos" != "Darwin" \) -o \
        "$i386_cross_prefix" ; then
  roms="$roms multiboot"
+  if test "$bcc" = "yes" -a "$iasl" = "yes" ; then
+    roms="$roms pc-bios"
+  fi

fi
echo "ROMS=$roms" >> $config_host_mak

configure +3 -1
@@ -2123,7 +2160,7 @@ for rom in $roms; do
    ln -s $source_path/roms/$rom/Makefile pc-bios/$rom/Makefile
    config_mak="pc-bios/$rom/config.mak"
    case "$rom" in
-      multiboot)
+      multiboot|pc-bios)
   prefix=${i386_cross_prefix}
   ;;
    esac
@@ -2136,6 +2173,8 @@ for rom in $roms; do
    echo "CPP=${prefix}cpp" >> $config_mak
    echo "LD=${prefix}${ld}" >> $config_mak
    echo "OBJCOPY=${prefix}${objcopy}" >> $config_mak
+    echo "BCC=bcc" >> $config_mak
+    echo "IASL=iasl" >> $config_mak

done

# build tree in object directory if source path is different from current one
roms/pc-bios new file +1 -0
new file mode 160000
index 0000000..c658541
@@ -0,0 +1 @@
+Subproject commit c658541caaec566c58a8afccc1ed8b56e0e0fbd9
Signature · 1 line
1.6.2.5
#13 lore raw

[Qemu-devel] Re: [PATCH 6/7] Add pc-bios as a git submodule

Quoted 6 lines · Alexander Graf

On 29.07.2009, at 20:45, Anthony Liguori <[email protected]> wrote:

Quoted 7 lines
Quoted 2 lines

This will allow us to build pc-bios on demand

How do you get the submodule? Will there be a 'make sync' kind of target that just grabs everything for me?

I don't really want to mess with submodules when I don't have to.

Actually, that reminds me that I need to handle the case where the submodules haven't been updated.

But all you do is:

git submodule update --init

And everything will just work.

Signature · 3 lines
Regards,

Anthony Liguori
#14 lore raw

[Qemu-devel] Re: [PATCH 6/7] Add pc-bios as a git submodule

Quoted 15 lines · Anthony Liguori
Quoted 6 lines · Alexander Graf

On 29.07.2009, at 20:45, Anthony Liguori <[email protected]> wrote:

Quoted 7 lines
Quoted 2 lines

This will allow us to build pc-bios on demand

How do you get the submodule? Will there be a 'make sync' kind of target that just grabs everything for me?

I don't really want to mess with submodules when I don't have to.

Quoted 7 lines

Actually, that reminds me that I need to handle the case where the submodules haven't been updated.

But all you do is:

git submodule update --init

And everything will just work.

Well, at least be sure to document that in several places. I tend to forget git syntax _really_ fast :-).

Alex

#15 lore raw

Re: [Qemu-devel] [PATCH 6/7] Add pc-bios as a git submodule

In reply to Anthony Liguori
Quoted 18 lines · Anthony Liguori

This will allow us to build pc-bios on demand

---
 .gitmodules  |    3 +++
 Makefile     |    5 +++--
 configure    |   43 +++++++++++++++++++++++++++++++++++++++++-- roms/pc-bios |    1 +

 4 files changed, 48 insertions(+), 4 deletions(-)

 create mode 100644 .gitmodules
 create mode 160000 roms/pc-bios

.gitmodules new file +0 -0
new file mode 100644
index 0000000..7ff5bb4

.gitmodules line 3

Quoted 3 lines
.gitmodules new file +3 -0
@@ -0,0 +1,3 @@
+[submodule "roms/pc-bios"]
+       path = roms/pc-bios
+       url = git://git.qemu.org/pcbios.git

Will this cause hassles for those without git protocol access? For example, at work I pull qemu via the http url to go through the proxy server.

Quoted 135 lines
Makefile +0 -0
index 4f06ec1..7fa5253 100644
@@ -239,7 +239,7 @@ ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \

 common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr

 ifdef INSTALL_BLOBS

Makefile +1 -1
-BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
+BLOBS=vgabios.bin vgabios-cirrus.bin ppc_rom.bin \

 video.x openbios-sparc32 openbios-sparc64 openbios-ppc \
 pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin \
 bamboo.dtb petalogix-s3adsp1800.dtb

Makefile +0 -0
@@ -274,9 +274,10 @@ ifneq ($(BLOBS),)

       done
 endif
        # FIXME: this is terrible
-       for rom in multiboot; do \
+       for rom in $(ROMS); do \
         case $$rom in \
           multiboot) srcbin=multiboot.bin ;; \
+           pc-bios) srcbin=BIOS-bochs-latest; dstbin=bios.bin ;; \
         esac; \
         if test -z "$$dstbin" ; then \
           dstbin=$$srcbin ; \

configure +0 -0
index 75e5657..71075fd 100755
@@ -17,8 +17,10 @@ TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}"

 TMPS="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.S" TMPI="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.i" TMPSDLLOG="${TMPDIR1}/qemu-conf-sdl-$$-${RANDOM}.log"

configure +3 -1
+TMPDSL="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.dsl"
+TMPAML="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.aml"
 
-trap "rm -f $TMPC $TMPO $TMPE $TMPS $TMPI $TMPSDLLOG; exit" 0 2 3 15
+trap "rm -f $TMPC $TMPO $TMPE $TMPS $TMPI $TMPSDLLOG $TMPDSL $TMPAML; exit" 0 2 3 15
 # default parameters
 prefix=""
configure +0 -0
@@ -207,6 +209,8 @@ fdt="yes"

 sdl="yes"
 xen="yes"
 pkgversion=""

configure +2 -0
+bcc="yes"
+iasl="yes"

 # OS specific
 if check_define __linux__ ; then

configure +0 -0
@@ -526,6 +530,10 @@ for opt do
   ;;

  --disable-docs) build_docs="no"
  ;;
+  --disable-bcc) bcc="no"
+  ;;
+  --disable-isal) iasl="no"
+  ;;
  *) echo "ERROR: unknown option $opt"; show_help="yes" ;;
  esac

configure +0 -0
@@ -860,6 +868,32 @@ else

 fi

 ##########################################

configure +26 -0
+# bcc check
+cat > $TMPC <<EOF
+int main() { return 0; }
+EOF
+if test "$bcc" = "yes" ; then
+    if bcc -o $TMPE $TMPC > /dev/null 2> /dev/null ; then
+       :
+    else
+       bcc="no"
+    fi
+fi
+
+#########################################
+# iasl check
+cat > $TMPDSL <<EOF
+DefinitionBlock("$TMPAML", "DSDT", 0x01, "BXPC", "BXDSDT", 0x1) { }
+EOF
+if test "$iasl" = "yes" ; then
+    if iasl $TMPDSL > /dev/null 2> /dev/null ; then
+       :
+    else
+       iasl="no"
+    fi
+fi
+
+##########################################
 # zlib check

 cat > $TMPC << EOF

configure +0 -0
@@ -1751,6 +1785,9 @@ if test \( \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
         "$targetos" != "Darwin" \) -o \

        "$i386_cross_prefix" ; then roms="$roms multiboot"
+  if test "$bcc" = "yes" -a "$iasl" = "yes" ; then
+    roms="$roms pc-bios"
+  fi
 fi
 echo "ROMS=$roms" >> $config_host_mak

configure +0 -0
@@ -2123,7 +2160,7 @@ for rom in $roms; do

    ln -s $source_path/roms/$rom/Makefile pc-bios/$rom/Makefile config_mak="pc-bios/$rom/config.mak"
    case "$rom" in
-      multiboot)
+      multiboot|pc-bios)
       prefix=${i386_cross_prefix}
       ;;
    esac

configure +0 -0
@@ -2136,6 +2173,8 @@ for rom in $roms; do

    echo "CPP=${prefix}cpp" >> $config_mak echo "LD=${prefix}${ld}" >> $config_mak echo "OBJCOPY=${prefix}${objcopy}" >> $config_mak
+    echo "BCC=bcc" >> $config_mak
+    echo "IASL=iasl" >> $config_mak
 done

 # build tree in object directory if source path is different from current one
roms/pc-bios new file +1 -1
new file mode 160000
index 0000000..c658541
@@ -0,0 +1 @@
+Subproject commit c658541caaec566c58a8afccc1ed8b56e0e0fbd9
--

1.6.2.5

#16 lore raw

Re: [Qemu-devel] [PATCH 6/7] Add pc-bios as a git submodule

Quoted 14 lines · Jordan Justen
Quoted 12 lines · Anthony Liguori

This will allow us to build pc-bios on demand

---
 .gitmodules  |    3 +++
 Makefile     |    5 +++--
 configure    |   43 +++++++++++++++++++++++++++++++++++++++++--
 roms/pc-bios |    1 +
 4 files changed, 48 insertions(+), 4 deletions(-)
 create mode 100644 .gitmodules
 create mode 160000 roms/pc-bios
Quoted 15 lines

.gitmodules line 3

Quoted 10 lines
.gitmodules new file +3 -0
new file mode 100644
index 0000000..7ff5bb4
@@ -0,0 +1,3 @@
+[submodule "roms/pc-bios"]
+       path = roms/pc-bios
+       url = git://git.qemu.org/pcbios.git

Will this cause hassles for those without git protocol access? For example, at work I pull qemu via the http url to go through the proxy server.

When this gets committed, the url will be ../pcbios.git and we'll move to git.qemu.org being the host for qemu.git too. I just wanted to post these patches to get some feedback first.

So if you do an http pull through a proxy, it'll Just Work.

Signature · 3 lines
Regards,

Anthony Liguori
#17 lore raw

PATCH 7/7 Remove BIOS patches from the queue and update the README

In reply to Anthony Liguori
---
 pc-bios/README                                     |   25 -
 pc-bios/bios-pq/0001_bx-qemu.patch                 |   18 -
 ...te-smbios-table-to-report-memory-above-4g.patch |   58 ---
 ...kvm-bios-generate-mptable-unconditionally.patch |   28 --
 ...ll-over-reporting--issues-with-32g-guests.patch |  187 --------
 ...-memory-device-length-boundary--condition.patch |   26 --
 ...ios-use-preprocessor-for-pci-link-routing.patch |   76 ----
 ...dd-26-pci-slots,-bringing-the-total-to-32.patch |   52 ---
 .../0008_qemu-bios-provide-gpe-_l0x-methods.patch  |   95 ----
 .../0009_qemu-bios-pci-hotplug-support.patch       |  131 ------
 ...-acpi-sci-interrupt-as-connected-to-irq-9.patch |   29 --
 ...011_read-additional-acpi-tables-from-a-vm.patch |  153 -------
 ...2-load-smbios-entries-and-files-from-qemu.patch |  473 --------------------
 ...0013_fix-non-acpi-timer-interrupt-routing.patch |   60 ---
 .../bios-pq/0014_add-srat-acpi-table-support.patch |  308 -------------
 .../0015_enable-power-button-even-generation.patch |   23 -
 ...e-correct-mask-to-size-pci-option-rom-bar.patch |   35 --
 ...bios-Move-QEMU_CFG-constants-to-rombios.h.patch |   59 ---
 ...0018-bochs-bios-Make-boot-prompt-optional.patch |   68 ---
 pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch |   38 --
 pc-bios/bios-pq/0020-qemu-kvm-cfg-maxcpus.patch    |   65 ---
 pc-bios/bios-pq/0021-qemu-madt-maxcpus.patch       |  121 -----
 pc-bios/bios-pq/HEAD                               |    1 -
 pc-bios/bios-pq/series                             |   21 -
 24 files changed, 0 insertions(+), 2150 deletions(-)
 delete mode 100644 pc-bios/bios-pq/0001_bx-qemu.patch
 delete mode 100644 pc-bios/bios-pq/0002_kvm-bios-update-smbios-table-to-report-memory-above-4g.patch
 delete mode 100644 pc-bios/bios-pq/0003_kvm-bios-generate-mptable-unconditionally.patch
 delete mode 100644 pc-bios/bios-pq/0004_kvm-bios-resolve-memory-device-roll-over-reporting--issues-with-32g-guests.patch
 delete mode 100644 pc-bios/bios-pq/0005_kvm-bios-fix-smbios-memory-device-length-boundary--condition.patch
 delete mode 100644 pc-bios/bios-pq/0006_qemu-bios-use-preprocessor-for-pci-link-routing.patch
 delete mode 100644 pc-bios/bios-pq/0007_bios-add-26-pci-slots,-bringing-the-total-to-32.patch
 delete mode 100644 pc-bios/bios-pq/0008_qemu-bios-provide-gpe-_l0x-methods.patch
 delete mode 100644 pc-bios/bios-pq/0009_qemu-bios-pci-hotplug-support.patch
 delete mode 100644 pc-bios/bios-pq/0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch
 delete mode 100644 pc-bios/bios-pq/0011_read-additional-acpi-tables-from-a-vm.patch
 delete mode 100644 pc-bios/bios-pq/0012-load-smbios-entries-and-files-from-qemu.patch
 delete mode 100644 pc-bios/bios-pq/0013_fix-non-acpi-timer-interrupt-routing.patch
 delete mode 100644 pc-bios/bios-pq/0014_add-srat-acpi-table-support.patch
 delete mode 100644 pc-bios/bios-pq/0015_enable-power-button-even-generation.patch
 delete mode 100644 pc-bios/bios-pq/0016-use-correct-mask-to-size-pci-option-rom-bar.patch
 delete mode 100644 pc-bios/bios-pq/0017-bochs-bios-Move-QEMU_CFG-constants-to-rombios.h.patch
 delete mode 100644 pc-bios/bios-pq/0018-bochs-bios-Make-boot-prompt-optional.patch
 delete mode 100644 pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch
 delete mode 100644 pc-bios/bios-pq/0020-qemu-kvm-cfg-maxcpus.patch
 delete mode 100644 pc-bios/bios-pq/0021-qemu-madt-maxcpus.patch
 delete mode 100644 pc-bios/bios-pq/HEAD
 delete mode 100644 pc-bios/bios-pq/series
pc-bios/README +0 -25
index 269f1e5..021c310 100644
@@ -1,29 +1,4 @@
 - The PC BIOS comes from the Bochs project (http://bochs.sourceforge.net/).
-  The patches in bios-pq have been applied. The binary is based on the revision
-  in bios-pq/HEAD with the patches in bios-pq/series applied.  The git repo
-  that HEAD refers to is located at
-  git://git.kernel.org/pub/scm/virt/bochs/bochs.git
-
-  To build these use the following instructions:
-  using guilt:
-  $ export QEMUSRC=/path/to/qemu/svn
-  $ git clone git://git.kernel.org/pub/scm/virt/bochs/bochs.git
-  $ cd bochs
-  $ git checkout -b qemu-bios $(cat $QEMUSRC/pc-bios/bios-pq/HEAD)
-
-  $ mkdir -p .git/patches
-  $ ln -s $QEMUSRC/pc-bios/bios-pq .git/patches/qemu-bios
-  $ touch .git/patches/qemu-bios/status
-  $ guilt push -a
-  $ ./configure
-  $ cd bios
-  $ make
-  $ cp BIOS-bochs-latest $QEMUSRC/pc-bios/bios.bin
-
-  or alternatively (after the git checkout):
-  $ for p in $(cat $QEMUSRC/pc-bios/bios-pq/series); do git am $p; done
-  $ ./configure
-  $ make bios
 
 - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
   project (http://www.nongnu.org/vgabios/).  The binary is based on the revision
pc-bios/bios-pq/0001_bx-qemu.patch deleted +0 -18
deleted file mode 100644
index 47a21b3..0000000
@@ -1,18 +0,0 @@
-From ca7b25e3ab8a49e46484bd436fedf72940f02887 Mon Sep 17 00:00:00 2001
-Date: Wed, 17 Dec 2008 21:35:49 +0000
-Subject: Enable BX_QEMU
-From: Anthony Liguori <[email protected]>
-
-Signed-off-by: Anthony Liguori <[email protected]>
-
---- bochs-2.3.7.orig/bios/rombios.h
-+++ bochs-2.3.7/bios/rombios.h
-@@ -19,7 +19,7 @@
- //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
- 
- /* define it to include QEMU specific code */
--//#define BX_QEMU
-+#define BX_QEMU
- 
- #ifndef LEGACY
- #  define BX_ROMBIOS32     1
pc-bios/bios-pq/0002_kvm-bios-update-smbios-table-to-report-memory-above-4g.patch deleted +0 -58

58 lines not on this page · raw message

pc-bios/bios-pq/0003_kvm-bios-generate-mptable-unconditionally.patch deleted +0 -28
deleted file mode 100644
index ae2fbf6..0000000
@@ -1,28 +0,0 @@
-From 9a717b55df29b2b0dd0553ccfa656671bad043d1 Mon Sep 17 00:00:00 2001
-Date: Wed, 21 Jan 2009 21:46:20 +0000
-Subject: generate mptable unconditionally
-From: Avi Kivity <[email protected]>
-
-VMware ESX requires an mptable even for uniprocessor guests.
-
-Signed-off-by: Avi Kivity <[email protected]>
-Signed-off-by: Anthony Liguori <[email protected]>
-
-Index: bochs/bios/rombios32.c
-===================================================================
---- bochs.orig/bios/rombios32.c
-+++ bochs/bios/rombios32.c
-@@ -970,11 +970,6 @@ static void mptable_init(void)
-     int ioapic_id, i, len;
-     int mp_config_table_size;
-
--#ifdef BX_QEMU
--    if (smp_cpus <= 1)
--        return;
--#endif
--
- #ifdef BX_USE_EBDA_TABLES
-     mp_config_table = (uint8_t *)(ram_size - ACPI_DATA_SIZE - MPTABLE_MAX_SIZE);
- #else
-
-
pc-bios/bios-pq/0004_kvm-bios-resolve-memory-device-roll-over-reporting--issues-with-32g-guests.patch deleted +0 -187

187 lines not on this page · raw message

pc-bios/bios-pq/0005_kvm-bios-fix-smbios-memory-device-length-boundary--condition.patch deleted +0 -26
deleted file mode 100644
index 0a9e0b0..0000000
@@ -1,26 +0,0 @@
-From 7217e1240340ab49878c4e415df40aa0c6376eb9 Mon Sep 17 00:00:00 2001
-Date: Wed, 11 Feb 2009 14:55:47 +0000
-Subject: fix smbios memory device length boundary  condition
-From: Bill Rieske <[email protected]>
-
-dev_memsize ends up 0 when it shouldn't be on 16G boundary conditions.
-    
-Signed-off-by: Bill Rieske <[email protected]>
-Signed-off-by: Avi Kivity <[email protected]>
-Signed-off-by: Anthony Liguori <[email protected]>
-
-Index: bochs/bios/rombios32.c
-===================================================================
---- bochs.orig/bios/rombios32.c
-+++ bochs/bios/rombios32.c
-@@ -2218,7 +2218,7 @@ void smbios_init(void)
-     for ( i = 0; i < nr_mem_devs; i++ )
-     {
-         uint32_t dev_memsize = ((i == (nr_mem_devs - 1))
--                                ? (memsize & 0x3fff) : 0x4000);
-+                                ? (((memsize-1) & 0x3fff)+1) : 0x4000);
-         add_struct(smbios_type_17_init(p, dev_memsize, i));
-         add_struct(smbios_type_19_init(p, dev_memsize, i));
-         add_struct(smbios_type_20_init(p, dev_memsize, i));
-
-
pc-bios/bios-pq/0006_qemu-bios-use-preprocessor-for-pci-link-routing.patch deleted +0 -76

76 lines not on this page · raw message

pc-bios/bios-pq/0007_bios-add-26-pci-slots,-bringing-the-total-to-32.patch deleted +0 -52

52 lines not on this page · raw message

pc-bios/bios-pq/0008_qemu-bios-provide-gpe-_l0x-methods.patch deleted +0 -95

95 lines not on this page · raw message

pc-bios/bios-pq/0009_qemu-bios-pci-hotplug-support.patch deleted +0 -131

131 lines not on this page · raw message

pc-bios/bios-pq/0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch deleted +0 -29
deleted file mode 100644
index 6675694..0000000
@@ -1,29 +0,0 @@
-From 6d2550ea5002feac408ed252f45066aaa0af8b19 Mon Sep 17 00:00:00 2001
-Date: Wed, 11 Feb 2009 15:11:43 +0000
-Subject: bios: mark the acpi sci interrupt as connected to irq 9
-From: Avi Kivity <[email protected]>
-
-Due to a chipset bug, the sci interrupt is hardwired to irq 9.  Set the
-pci interrupt line register accordingly.
-    
-Signed-off-by: Avi Kivity <[email protected]>
-Signed-off-by: Anthony Liguori <[email protected]>
-
-Index: bochs/bios/rombios32.c
-===================================================================
---- bochs.orig/bios/rombios32.c
-+++ bochs/bios/rombios32.c
-@@ -981,6 +981,8 @@ static void pci_bios_init_device(PCIDevi
-         /* PIIX4 Power Management device (for ACPI) */
-         pm_io_base = PM_IO_BASE;
-         smb_io_base = SMB_IO_BASE;
-+        // acpi sci is hardwired to 9
-+        pci_config_writeb(d, PCI_INTERRUPT_LINE, 9);
-         pm_sci_int = pci_config_readb(d, PCI_INTERRUPT_LINE);
-         piix4_pm_enable(d);
-         acpi_enabled = 1;
-
--- 
-
-
-
pc-bios/bios-pq/0011_read-additional-acpi-tables-from-a-vm.patch deleted +0 -153

153 lines not on this page · raw message

pc-bios/bios-pq/0012-load-smbios-entries-and-files-from-qemu.patch deleted +0 -473

473 lines not on this page · raw message

pc-bios/bios-pq/0013_fix-non-acpi-timer-interrupt-routing.patch deleted +0 -60

60 lines not on this page · raw message

pc-bios/bios-pq/0014_add-srat-acpi-table-support.patch deleted +0 -308

308 lines not on this page · raw message

pc-bios/bios-pq/0015_enable-power-button-even-generation.patch deleted +0 -23
deleted file mode 100644
index ee6d028..0000000
@@ -1,23 +0,0 @@
-From a6d6552426dcbf726e5549f08b70c9318d6be14b Mon Sep 17 00:00:00 2001
-Date: Fri, 8 May 2009 10:13:01 -0500
-Subject: Enable power button event generation.
-From: Gleb Natapov <[email protected]>
-
-Signed-off-by: Gleb Natapov <[email protected]>
-Signed-off-by: Anthony Liguori <[email protected]>
-
-diff --git a/bios/rombios32.c b/bios/rombios32.c
-index 81e3bad..9986531 100644
---- a/bios/rombios32.c
-+++ b/bios/rombios32.c
-@@ -1767,8 +1767,8 @@ void acpi_bios_init(void)
-     fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported
-     fadt->gpe0_blk = cpu_to_le32(0xafe0);
-     fadt->gpe0_blk_len = 4;
--    /* WBINVD + PROC_C1 + PWR_BUTTON + SLP_BUTTON + FIX_RTC */
--    fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 4) | (1 << 5) | (1 << 6));
-+    /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC */
-+    fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6));
-     acpi_build_table_header((struct acpi_table_header *)fadt, "FACP",
-                             sizeof(*fadt), 1);
- 
pc-bios/bios-pq/0016-use-correct-mask-to-size-pci-option-rom-bar.patch deleted +0 -35
deleted file mode 100644
index f94fd12..0000000
@@ -1,35 +0,0 @@
-From 00070396b06392fadcee0e19d499a43b81c63c45 Mon Sep 17 00:00:00 2001
-Date: Fri, 22 May 2009 09:57:32 -0500
-Subject: [PATCH] bios: Use the correct mask to size the PCI option ROM BAR
-From: Alex Williamson <[email protected]>
-
-Bit 0 is the enable bit, which we not only don't want to set, but
-it will stick and make us think it's an I/O port resource.
-
-Signed-off-by: Alex Williamson <[email protected]>
-Signed-off-by: Anthony Liguori <[email protected]>
----
-
-diff --git a/bios/rombios32.c b/bios/rombios32.c
-index d7e18e9..f861f81 100644
---- a/bios/rombios32.c
-+++ b/bios/rombios32.c
-@@ -985,11 +985,13 @@ static void pci_bios_init_device(PCIDevice *d)
-             int ofs;
-             uint32_t val, size ;
- 
--            if (i == PCI_ROM_SLOT)
-+            if (i == PCI_ROM_SLOT) {
-                 ofs = 0x30;
--            else
-+                pci_config_writel(d, ofs, 0xfffffffe);
-+            } else {
-                 ofs = 0x10 + i * 4;
--            pci_config_writel(d, ofs, 0xffffffff);
-+                pci_config_writel(d, ofs, 0xffffffff);
-+            }
-             val = pci_config_readl(d, ofs);
-             if (val != 0) {
-                 size = (~(val & ~0xf)) + 1;
-
-
pc-bios/bios-pq/0017-bochs-bios-Move-QEMU_CFG-constants-to-rombios.h.patch deleted +0 -59

59 lines not on this page · raw message

pc-bios/bios-pq/0018-bochs-bios-Make-boot-prompt-optional.patch deleted +0 -68

68 lines not on this page · raw message

pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch deleted +0 -38
deleted file mode 100644
index 47d3a55..0000000
@@ -1,38 +0,0 @@
-From e1e8f35a4f59d82ab9a5361c3990c8dadd2e7678 Mon Sep 17 00:00:00 2001
-Date: Fri, 10 Jul 2009 14:52:56 -0500
-Subject: bios: Fix multiple calls into smbios_load_ex
-From: Alex Williamson <[email protected]>
-
-We're marking the used entry bitmap in smbios_load_external() for each
-type we check, regardless of whether we loaded anything.  This makes
-subsequent calls behave as if we've already loaded the tables from qemu
-and can result in missing tables (ex. multiple type4 entries on an SMP
-guest).  Only mark the bitmap if we actually load something.
-
-Signed-off-by: Alex Williamson <[email protected]>
-Signed-off-by: Anthony Liguori <[email protected]>
-
-diff --git a/bios/rombios32.c b/bios/rombios32.c
-index f861f81..c869798 100644
---- a/bios/rombios32.c
-+++ b/bios/rombios32.c
-@@ -2554,13 +2554,14 @@ smbios_load_external(int type, char **p, unsigned *nr_structs,
-             *max_struct_size = *p - (char *)header;
-     }
- 
--    /* Mark that we've reported on this type */
--    used_bitmap[(type >> 6) & 0x3] |= (1ULL << (type & 0x3f));
-+    if (start != *p) {
-+        /* Mark that we've reported on this type */
-+        used_bitmap[(type >> 6) & 0x3] |= (1ULL << (type & 0x3f));
-+        return 1;
-+    }
- 
--    return (start != *p);
--#else /* !BX_QEMU */
-+#endif /* !BX_QEMU */
-     return 0;
--#endif
- }
- 
- void smbios_init(void)
pc-bios/bios-pq/0020-qemu-kvm-cfg-maxcpus.patch deleted +0 -65

65 lines not on this page · raw message

pc-bios/bios-pq/0021-qemu-madt-maxcpus.patch deleted +0 -121

121 lines not on this page · raw message

pc-bios/bios-pq/HEAD deleted +0 -1
deleted file mode 100644
index 3a849d8..0000000
@@ -1 +0,0 @@
-04387139e3b5ac97b5633cd40b3d87cdf45efd6c
pc-bios/bios-pq/series deleted +0 -21
deleted file mode 100644
index 0422dec..0000000
@@ -1,21 +0,0 @@
-0001_bx-qemu.patch
-0002_kvm-bios-update-smbios-table-to-report-memory-above-4g.patch
-0003_kvm-bios-generate-mptable-unconditionally.patch
-0004_kvm-bios-resolve-memory-device-roll-over-reporting--issues-with-32g-guests.patch
-0005_kvm-bios-fix-smbios-memory-device-length-boundary--condition.patch
-0006_qemu-bios-use-preprocessor-for-pci-link-routing.patch
-0007_bios-add-26-pci-slots,-bringing-the-total-to-32.patch
-0008_qemu-bios-provide-gpe-_l0x-methods.patch
-0009_qemu-bios-pci-hotplug-support.patch
-0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch
-0011_read-additional-acpi-tables-from-a-vm.patch
-0012-load-smbios-entries-and-files-from-qemu.patch
-0013_fix-non-acpi-timer-interrupt-routing.patch
-0014_add-srat-acpi-table-support.patch
-0015_enable-power-button-even-generation.patch
-0016-use-correct-mask-to-size-pci-option-rom-bar.patch
-0017-bochs-bios-Move-QEMU_CFG-constants-to-rombios.h.patch
-0018-bochs-bios-Make-boot-prompt-optional.patch
-0019-bios-fix-multiple-calls.patch
-0020-qemu-kvm-cfg-maxcpus.patch
-0021-qemu-madt-maxcpus.patch
Signature · 1 line
1.6.2.5
#18 lore raw

[Qemu-devel] Re: [PATCH 7/7] Remove BIOS patches from the queue and update the README

Quoted 15 lines · Anthony Liguori

delete mode 100644 pc-bios/bios-pq/0001_bx-qemu.patch
delete mode 100644 pc-bios/bios-pq/0002_kvm-bios-update-smbios-table-to-report-memory-above-4g.patch delete mode 100644 pc-bios/bios-pq/0003_kvm-bios-generate-mptable-unconditionally.patch
delete mode 100644 pc-bios/bios-pq/0004_kvm-bios-resolve-memory-device-roll-over-reporting--issues-with-32g-guests.patch delete mode 100644 pc-bios/bios-pq/0005_kvm-bios-fix-smbios-memory-device-length-boundary--condition.patch delete mode 100644 pc-bios/bios-pq/0006_qemu-bios-use-preprocessor-for-pci-link-routing.patch
delete mode 100644 pc-bios/bios-pq/0007_bios-add-26-pci-slots,-bringing-the-total-to-32.patch
delete mode 100644 pc-bios/bios-pq/0008_qemu-bios-provide-gpe-_l0x-methods.patch
delete mode 100644 pc-bios/bios-pq/0009_qemu-bios-pci-hotplug-support.patch
delete mode 100644 pc-bios/bios-pq/0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch delete mode 100644 pc-bios/bios-pq/0011_read-additional-acpi-tables-from-a-vm.patch
delete mode 100644 pc-bios/bios-pq/0012-load-smbios-entries-and-files-from-qemu.patch
delete mode 100644 pc-bios/bios-pq/0013_fix-non-acpi-timer-interrupt-routing.patch
delete mode 100644 pc-bios/bios-pq/0014_add-srat-acpi-table-support.patch
delete mode 100644 pc-bios/bios-pq/0015_enable-power-button-even-generation.patch

Quoted 9 lines

delete mode 100644 pc-bios/bios-pq/0016-use-correct-mask-to-size-pci-option-rom-bar.patch delete mode 100644 pc-bios/bios-pq/0017-bochs-bios-Move-QEMU_CFG-constants-to-rombios.h.patch delete mode 100644 pc-bios/bios-pq/0018-bochs-bios-Make-boot-prompt-optional.patch delete mode 100644 pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch
delete mode 100644 pc-bios/bios-pq/0020-qemu-kvm-cfg-maxcpus.patch
delete mode 100644 pc-bios/bios-pq/0021-qemu-madt-maxcpus.patch
delete mode 100644 pc-bios/bios-pq/HEAD
delete mode 100644 pc-bios/bios-pq/series

ACK!

Signature · 1 line
error compiling committee.c: too many arguments to function

A message that is not in the archive (sent off-list or not yet received): [email protected]

#20 lore raw
Quoted 7 lines · Juan Quintela
Quoted 2 lines · Anthony Liguori

We'll be storing all of our rom source code in roms/

Can we store the source in roms_source/roms_src or something similar, please?

Why?

Signature · 3 lines
Regards,

Anthony Liguori
#21 lore raw
In reply to a message not in the archive
Quoted 7 lines · Juan Quintela
Quoted 2 lines · Anthony Liguori

We'll be storing all of our rom source code in roms/

Can we store the source in roms_source/roms_src or something similar, please?

It's silly to call directories in a source code repository source. They're all source. We need a special name when storing something that is not source.

Signature · 1 line
error compiling committee.c: too many arguments to function