[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/8] Split off mini-os to a separate tree



This is v3 of my mini-os splitting off patch series.

I use following runes to split off mini-os:

  git filter-branch --tag-name-filter cat \
    --subdirectory-filter extras/mini-os/ -- --all

  # There is already a tag name 4.3.0-rc2 which points to the same commit.
  git tag -d xen-4.3.0-rc2

  # Add xen- prefix to all tags
  for t in `git tag`; do git tag "xen-$t" "$t"; git tag -d "$t" ; done

  git gc --aggressive
  
The tree can be found at:
  git://xenbits.xen.org/people/liuw/mini-os.git master

The changeset used is f5d9868796e91bee70601805b9bfc1bb544b0586 which is
currently the HEAD of mater branch.

The Xen side patches can be pulled from:
  git://xenbits.xen.org/people/liuw/xen.git wip.build-system-v3

Now mini-os builds on its own. I've also done some minor adjustments to
stubdom's build system, so that we can properly issue "make build-stubdom"
in Xen tree top level directory.

I also ran following tests:

 1. ./configure
 2. make -j16 dist
 3. make -j16 distclean

and

 1. ./configure --disable-stubdom
 2. make -j16 dist
 3. make -j16 distclean

They both passed.

Wei.

Wei Liu (8):
  stubdom: fix "make build"
  Makefile: refactor build/clean/distclean targets
  stubdom: don't look for mini-os source file during configure
  stubdom: no need to clean mini-os
  git-checkout.sh: use "mkdir -p"
  Mini-OS: standalone build
  build system: stubdom targets now depends on mini-os target
  Remove in-tree mini-os directory

 .gitignore                                         |    7 +-
 Config.mk                                          |    6 +
 Makefile                                           |   72 +-
 extras/mini-os/COPYING                             |   36 -
 extras/mini-os/Config.mk                           |   57 -
 extras/mini-os/Makefile                            |  226 ---
 extras/mini-os/README                              |   46 -
 extras/mini-os/app.lds                             |   11 -
 extras/mini-os/arch/arm/arm32.S                    |  294 ----
 extras/mini-os/arch/arm/events.c                   |   31 -
 extras/mini-os/arch/arm/hypercalls32.S             |   64 -
 extras/mini-os/arch/arm/minios-arm32.lds           |   83 --
 extras/mini-os/arch/arm/mm.c                       |  139 --
 extras/mini-os/arch/arm/panic.c                    |   98 --
 extras/mini-os/arch/arm/sched.c                    |   47 -
 extras/mini-os/arch/arm/setup.c                    |  119 --
 extras/mini-os/arch/arm/time.c                     |  136 --
 extras/mini-os/arch/x86/Makefile                   |   31 -
 extras/mini-os/arch/x86/arch.mk                    |   22 -
 extras/mini-os/arch/x86/events.c                   |   35 -
 extras/mini-os/arch/x86/ioremap.c                  |   75 -
 extras/mini-os/arch/x86/iorw.c                     |   35 -
 extras/mini-os/arch/x86/minios-x86_32.lds          |   74 -
 extras/mini-os/arch/x86/minios-x86_64.lds          |   74 -
 extras/mini-os/arch/x86/mm.c                       |  957 ------------
 extras/mini-os/arch/x86/sched.c                    |  139 --
 extras/mini-os/arch/x86/setup.c                    |  168 ---
 extras/mini-os/arch/x86/time.c                     |  238 ---
 extras/mini-os/arch/x86/traps.c                    |  333 -----
 extras/mini-os/arch/x86/x86_32.S                   |  305 ----
 extras/mini-os/arch/x86/x86_64.S                   |  383 -----
 extras/mini-os/blkfront.c                          |  736 ----------
 extras/mini-os/console/console.c                   |  164 ---
 extras/mini-os/console/console.h                   |    2 -
 extras/mini-os/console/xenbus.c                    |  195 ---
 extras/mini-os/console/xencons_ring.c              |  195 ---
 extras/mini-os/daytime.c                           |   67 -
 extras/mini-os/domain_config                       |   19 -
 extras/mini-os/events.c                            |  269 ----
 extras/mini-os/fbfront.c                           |  710 ---------
 extras/mini-os/gntmap.c                            |  250 ----
 extras/mini-os/gnttab.c                            |  196 ---
 extras/mini-os/hypervisor.c                        |  132 --
 extras/mini-os/include/arch/cc.h                   |   87 --
 extras/mini-os/include/arch/perf.h                 |   15 -
 extras/mini-os/include/arch/sys_arch.h             |   35 -
 extras/mini-os/include/arm/arch_endian.h           |    7 -
 extras/mini-os/include/arm/arch_limits.h           |    9 -
 extras/mini-os/include/arm/arch_mm.h               |   38 -
 extras/mini-os/include/arm/arch_sched.h            |   19 -
 extras/mini-os/include/arm/arch_spinlock.h         |   36 -
 extras/mini-os/include/arm/arm32/arch_wordsize.h   |    1 -
 extras/mini-os/include/arm/gic.h                   |    1 -
 extras/mini-os/include/arm/hypercall-arm.h         |   98 --
 extras/mini-os/include/arm/os.h                    |  216 ---
 extras/mini-os/include/arm/traps.h                 |   20 -
 extras/mini-os/include/blkfront.h                  |   54 -
 extras/mini-os/include/byteorder.h                 |   36 -
 extras/mini-os/include/byteswap.h                  |   39 -
 extras/mini-os/include/compiler.h                  |   10 -
 extras/mini-os/include/console.h                   |   89 --
 extras/mini-os/include/ctype.h                     |   60 -
 extras/mini-os/include/endian.h                    |   19 -
 extras/mini-os/include/err.h                       |   31 -
 extras/mini-os/include/errno-base.h                |   39 -
 extras/mini-os/include/errno.h                     |  122 --
 extras/mini-os/include/events.h                    |   59 -
 extras/mini-os/include/fbfront.h                   |   46 -
 extras/mini-os/include/fcntl.h                     |   99 --
 extras/mini-os/include/gntmap.h                    |   35 -
 extras/mini-os/include/gnttab.h                    |   17 -
 extras/mini-os/include/hypervisor.h                |   48 -
 extras/mini-os/include/ioremap.h                   |   33 -
 extras/mini-os/include/iorw.h                      |   16 -
 extras/mini-os/include/kernel.h                    |    9 -
 extras/mini-os/include/lib-gpl.h                   |   59 -
 extras/mini-os/include/lib.h                       |  230 ---
 extras/mini-os/include/linux/types.h               |    5 -
 extras/mini-os/include/lwipopts.h                  |   23 -
 extras/mini-os/include/mm.h                        |   82 --
 extras/mini-os/include/netfront.h                  |   24 -
 extras/mini-os/include/pcifront.h                  |   29 -
 extras/mini-os/include/posix/arpa/inet.h           |    7 -
 extras/mini-os/include/posix/dirent.h              |   24 -
 extras/mini-os/include/posix/err.h                 |   15 -
 extras/mini-os/include/posix/fcntl.h               |   11 -
 extras/mini-os/include/posix/limits.h              |   48 -
 extras/mini-os/include/posix/net/if.h              |   85 --
 extras/mini-os/include/posix/netdb.h               |    9 -
 extras/mini-os/include/posix/netinet/in.h          |    7 -
 extras/mini-os/include/posix/netinet/tcp.h         |    6 -
 extras/mini-os/include/posix/poll.h                |    1 -
 extras/mini-os/include/posix/pthread.h             |   64 -
 extras/mini-os/include/posix/signal.h              |   10 -
 extras/mini-os/include/posix/stdlib.h              |    8 -
 extras/mini-os/include/posix/strings.h             |   12 -
 extras/mini-os/include/posix/sys/ioctl.h           |   16 -
 extras/mini-os/include/posix/sys/mman.h            |   22 -
 extras/mini-os/include/posix/sys/poll.h            |   79 -
 extras/mini-os/include/posix/sys/select.h          |    7 -
 extras/mini-os/include/posix/sys/socket.h          |   31 -
 extras/mini-os/include/posix/sys/stat.h            |    7 -
 extras/mini-os/include/posix/syslog.h              |   37 -
 extras/mini-os/include/posix/termios.h             |   87 --
 extras/mini-os/include/posix/time.h                |   11 -
 extras/mini-os/include/posix/unistd.h              |   16 -
 extras/mini-os/include/sched.h                     |   55 -
 extras/mini-os/include/semaphore.h                 |  110 --
 extras/mini-os/include/spinlock.h                  |   55 -
 extras/mini-os/include/sys/lock.h                  |   52 -
 extras/mini-os/include/sys/time.h                  |   47 -
 extras/mini-os/include/time.h                      |   63 -
 extras/mini-os/include/tpm_tis.h                   |   61 -
 extras/mini-os/include/tpmback.h                   |  104 --
 extras/mini-os/include/tpmfront.h                  |   97 --
 extras/mini-os/include/types.h                     |   74 -
 extras/mini-os/include/wait.h                      |  105 --
 extras/mini-os/include/waittypes.h                 |   32 -
 extras/mini-os/include/x86/arch_endian.h           |    7 -
 extras/mini-os/include/x86/arch_limits.h           |   20 -
 extras/mini-os/include/x86/arch_mm.h               |  233 ---
 extras/mini-os/include/x86/arch_sched.h            |   25 -
 extras/mini-os/include/x86/arch_spinlock.h         |   94 --
 extras/mini-os/include/x86/os.h                    |  572 --------
 extras/mini-os/include/x86/traps.h                 |   78 -
 extras/mini-os/include/x86/x86_32/arch_wordsize.h  |    1 -
 .../mini-os/include/x86/x86_32/hypercall-x86_32.h  |  337 -----
 extras/mini-os/include/x86/x86_64/arch_wordsize.h  |    2 -
 .../mini-os/include/x86/x86_64/hypercall-x86_64.h  |  344 -----
 extras/mini-os/include/xenbus.h                    |  120 --
 extras/mini-os/include/xmalloc.h                   |   44 -
 extras/mini-os/kernel.c                            |  198 ---
 extras/mini-os/lib/ctype.c                         |   29 -
 extras/mini-os/lib/math.c                          |  426 ------
 extras/mini-os/lib/printf.c                        |  786 ----------
 extras/mini-os/lib/stack_chk_fail.c                |    8 -
 extras/mini-os/lib/string.c                        |  228 ---
 extras/mini-os/lib/sys.c                           | 1550 --------------------
 extras/mini-os/lib/xmalloc.c                       |  319 ----
 extras/mini-os/lib/xs.c                            |  194 ---
 extras/mini-os/lock.c                              |  112 --
 extras/mini-os/lwip-arch.c                         |  293 ----
 extras/mini-os/lwip-net.c                          |  386 -----
 extras/mini-os/main.c                              |  193 ---
 extras/mini-os/minios.mk                           |   76 -
 extras/mini-os/mm.c                                |  441 ------
 extras/mini-os/netfront.c                          |  675 ---------
 extras/mini-os/pcifront.c                          |  616 --------
 extras/mini-os/sched.c                             |  304 ----
 extras/mini-os/test.c                              |  577 --------
 extras/mini-os/tpm_tis.c                           | 1523 -------------------
 extras/mini-os/tpmback.c                           | 1136 --------------
 extras/mini-os/tpmfront.c                          |  631 --------
 extras/mini-os/xenbus/xenbus.c                     |  870 -----------
 scripts/git-checkout.sh                            |    2 +-
 stubdom/Makefile                                   |    7 +-
 stubdom/configure.ac                               |    2 +-
 tools/misc/mktarball                               |    4 +-
 158 files changed, 83 insertions(+), 24026 deletions(-)
 delete mode 100644 extras/mini-os/COPYING
 delete mode 100644 extras/mini-os/Config.mk
 delete mode 100644 extras/mini-os/Makefile
 delete mode 100644 extras/mini-os/README
 delete mode 100644 extras/mini-os/app.lds
 delete mode 100644 extras/mini-os/arch/arm/arm32.S
 delete mode 100644 extras/mini-os/arch/arm/events.c
 delete mode 100644 extras/mini-os/arch/arm/hypercalls32.S
 delete mode 100755 extras/mini-os/arch/arm/minios-arm32.lds
 delete mode 100644 extras/mini-os/arch/arm/mm.c
 delete mode 100644 extras/mini-os/arch/arm/panic.c
 delete mode 100644 extras/mini-os/arch/arm/sched.c
 delete mode 100644 extras/mini-os/arch/arm/setup.c
 delete mode 100644 extras/mini-os/arch/arm/time.c
 delete mode 100644 extras/mini-os/arch/x86/Makefile
 delete mode 100644 extras/mini-os/arch/x86/arch.mk
 delete mode 100644 extras/mini-os/arch/x86/events.c
 delete mode 100644 extras/mini-os/arch/x86/ioremap.c
 delete mode 100644 extras/mini-os/arch/x86/iorw.c
 delete mode 100644 extras/mini-os/arch/x86/minios-x86_32.lds
 delete mode 100644 extras/mini-os/arch/x86/minios-x86_64.lds
 delete mode 100644 extras/mini-os/arch/x86/mm.c
 delete mode 100644 extras/mini-os/arch/x86/sched.c
 delete mode 100644 extras/mini-os/arch/x86/setup.c
 delete mode 100644 extras/mini-os/arch/x86/time.c
 delete mode 100644 extras/mini-os/arch/x86/traps.c
 delete mode 100644 extras/mini-os/arch/x86/x86_32.S
 delete mode 100644 extras/mini-os/arch/x86/x86_64.S
 delete mode 100644 extras/mini-os/blkfront.c
 delete mode 100644 extras/mini-os/console/console.c
 delete mode 100644 extras/mini-os/console/console.h
 delete mode 100644 extras/mini-os/console/xenbus.c
 delete mode 100644 extras/mini-os/console/xencons_ring.c
 delete mode 100644 extras/mini-os/daytime.c
 delete mode 100644 extras/mini-os/domain_config
 delete mode 100644 extras/mini-os/events.c
 delete mode 100644 extras/mini-os/fbfront.c
 delete mode 100644 extras/mini-os/gntmap.c
 delete mode 100644 extras/mini-os/gnttab.c
 delete mode 100644 extras/mini-os/hypervisor.c
 delete mode 100644 extras/mini-os/include/arch/cc.h
 delete mode 100644 extras/mini-os/include/arch/perf.h
 delete mode 100644 extras/mini-os/include/arch/sys_arch.h
 delete mode 100644 extras/mini-os/include/arm/arch_endian.h
 delete mode 100644 extras/mini-os/include/arm/arch_limits.h
 delete mode 100644 extras/mini-os/include/arm/arch_mm.h
 delete mode 100644 extras/mini-os/include/arm/arch_sched.h
 delete mode 100755 extras/mini-os/include/arm/arch_spinlock.h
 delete mode 100644 extras/mini-os/include/arm/arm32/arch_wordsize.h
 delete mode 100644 extras/mini-os/include/arm/gic.h
 delete mode 100644 extras/mini-os/include/arm/hypercall-arm.h
 delete mode 100644 extras/mini-os/include/arm/os.h
 delete mode 100644 extras/mini-os/include/arm/traps.h
 delete mode 100644 extras/mini-os/include/blkfront.h
 delete mode 100644 extras/mini-os/include/byteorder.h
 delete mode 100644 extras/mini-os/include/byteswap.h
 delete mode 100644 extras/mini-os/include/compiler.h
 delete mode 100644 extras/mini-os/include/console.h
 delete mode 100644 extras/mini-os/include/ctype.h
 delete mode 100644 extras/mini-os/include/endian.h
 delete mode 100644 extras/mini-os/include/err.h
 delete mode 100644 extras/mini-os/include/errno-base.h
 delete mode 100644 extras/mini-os/include/errno.h
 delete mode 100644 extras/mini-os/include/events.h
 delete mode 100644 extras/mini-os/include/fbfront.h
 delete mode 100644 extras/mini-os/include/fcntl.h
 delete mode 100644 extras/mini-os/include/gntmap.h
 delete mode 100644 extras/mini-os/include/gnttab.h
 delete mode 100644 extras/mini-os/include/hypervisor.h
 delete mode 100644 extras/mini-os/include/ioremap.h
 delete mode 100644 extras/mini-os/include/iorw.h
 delete mode 100644 extras/mini-os/include/kernel.h
 delete mode 100644 extras/mini-os/include/lib-gpl.h
 delete mode 100644 extras/mini-os/include/lib.h
 delete mode 100644 extras/mini-os/include/linux/types.h
 delete mode 100644 extras/mini-os/include/lwipopts.h
 delete mode 100644 extras/mini-os/include/mm.h
 delete mode 100644 extras/mini-os/include/netfront.h
 delete mode 100644 extras/mini-os/include/pcifront.h
 delete mode 100644 extras/mini-os/include/posix/arpa/inet.h
 delete mode 100644 extras/mini-os/include/posix/dirent.h
 delete mode 100644 extras/mini-os/include/posix/err.h
 delete mode 100644 extras/mini-os/include/posix/fcntl.h
 delete mode 100644 extras/mini-os/include/posix/limits.h
 delete mode 100644 extras/mini-os/include/posix/net/if.h
 delete mode 100644 extras/mini-os/include/posix/netdb.h
 delete mode 100644 extras/mini-os/include/posix/netinet/in.h
 delete mode 100644 extras/mini-os/include/posix/netinet/tcp.h
 delete mode 100644 extras/mini-os/include/posix/poll.h
 delete mode 100644 extras/mini-os/include/posix/pthread.h
 delete mode 100644 extras/mini-os/include/posix/signal.h
 delete mode 100644 extras/mini-os/include/posix/stdlib.h
 delete mode 100644 extras/mini-os/include/posix/strings.h
 delete mode 100644 extras/mini-os/include/posix/sys/ioctl.h
 delete mode 100644 extras/mini-os/include/posix/sys/mman.h
 delete mode 100644 extras/mini-os/include/posix/sys/poll.h
 delete mode 100644 extras/mini-os/include/posix/sys/select.h
 delete mode 100644 extras/mini-os/include/posix/sys/socket.h
 delete mode 100644 extras/mini-os/include/posix/sys/stat.h
 delete mode 100644 extras/mini-os/include/posix/syslog.h
 delete mode 100644 extras/mini-os/include/posix/termios.h
 delete mode 100644 extras/mini-os/include/posix/time.h
 delete mode 100644 extras/mini-os/include/posix/unistd.h
 delete mode 100644 extras/mini-os/include/sched.h
 delete mode 100644 extras/mini-os/include/semaphore.h
 delete mode 100644 extras/mini-os/include/spinlock.h
 delete mode 100644 extras/mini-os/include/sys/lock.h
 delete mode 100644 extras/mini-os/include/sys/time.h
 delete mode 100644 extras/mini-os/include/time.h
 delete mode 100644 extras/mini-os/include/tpm_tis.h
 delete mode 100644 extras/mini-os/include/tpmback.h
 delete mode 100644 extras/mini-os/include/tpmfront.h
 delete mode 100644 extras/mini-os/include/types.h
 delete mode 100644 extras/mini-os/include/wait.h
 delete mode 100644 extras/mini-os/include/waittypes.h
 delete mode 100644 extras/mini-os/include/x86/arch_endian.h
 delete mode 100644 extras/mini-os/include/x86/arch_limits.h
 delete mode 100644 extras/mini-os/include/x86/arch_mm.h
 delete mode 100644 extras/mini-os/include/x86/arch_sched.h
 delete mode 100644 extras/mini-os/include/x86/arch_spinlock.h
 delete mode 100644 extras/mini-os/include/x86/os.h
 delete mode 100644 extras/mini-os/include/x86/traps.h
 delete mode 100644 extras/mini-os/include/x86/x86_32/arch_wordsize.h
 delete mode 100644 extras/mini-os/include/x86/x86_32/hypercall-x86_32.h
 delete mode 100644 extras/mini-os/include/x86/x86_64/arch_wordsize.h
 delete mode 100644 extras/mini-os/include/x86/x86_64/hypercall-x86_64.h
 delete mode 100644 extras/mini-os/include/xenbus.h
 delete mode 100644 extras/mini-os/include/xmalloc.h
 delete mode 100644 extras/mini-os/kernel.c
 delete mode 100644 extras/mini-os/lib/ctype.c
 delete mode 100644 extras/mini-os/lib/math.c
 delete mode 100644 extras/mini-os/lib/printf.c
 delete mode 100644 extras/mini-os/lib/stack_chk_fail.c
 delete mode 100644 extras/mini-os/lib/string.c
 delete mode 100644 extras/mini-os/lib/sys.c
 delete mode 100644 extras/mini-os/lib/xmalloc.c
 delete mode 100644 extras/mini-os/lib/xs.c
 delete mode 100644 extras/mini-os/lock.c
 delete mode 100644 extras/mini-os/lwip-arch.c
 delete mode 100644 extras/mini-os/lwip-net.c
 delete mode 100644 extras/mini-os/main.c
 delete mode 100644 extras/mini-os/minios.mk
 delete mode 100644 extras/mini-os/mm.c
 delete mode 100644 extras/mini-os/netfront.c
 delete mode 100644 extras/mini-os/pcifront.c
 delete mode 100644 extras/mini-os/sched.c
 delete mode 100644 extras/mini-os/test.c
 delete mode 100644 extras/mini-os/tpm_tis.c
 delete mode 100644 extras/mini-os/tpmback.c
 delete mode 100644 extras/mini-os/tpmfront.c
 delete mode 100644 extras/mini-os/xenbus/xenbus.c

-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.