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

[Minios-devel] [UNIKRAFT PATCH v2 0/6] Interrupt-safe compile units



Prepares the build system to compile units that are safe to get
called from interrupt/trap context. For this purpose, a new
reserved variant is introduced: `isr`.
Whenever this variant is given to a source file, the build system
instructs the compiler to avoid using extended machine units
which aren't saved before entering interrupt context (e.g.,
floating point units, vector units):
 LIBNAME_SRCS-y += $(LIBNAME_BASE)/handler.c|isr

Chnages v2:
 - support/build/Makefile.rules
   Make sure that the results of vprefix_* calls are stripped
 - Makefile.uk: Move the GCC flag `-fms-extensions` from Arm64
   to CFLAGS

Simon Kuenzer (6):
  build: buildrule: Strip arguments
  build: Forward variant to build rules
  build: Rename C++ buildrule to buildrule_cxx
  build: Introduce COMPFLAGS(-y) and ARCHFLAGS(-y)
  arch/*, build: Introduce reserved `isr` variant
  doc: Document reserved `isr` variant

 Makefile                      |   6 +
 Makefile.uk                   |  76 ++++-------
 arch/arm/arm/Makefile.uk      |  57 ++++----
 arch/arm/arm64/Makefile.uk    |  40 +++---
 arch/x86/x86_64/Makefile.uk   |  87 +++++--------
 doc/guides/developers-app.rst |  11 +-
 plat/kvm/Makefile.uk          |   3 +-
 support/build/Makefile.rules  | 238 +++++++++++++++++++---------------
 8 files changed, 265 insertions(+), 253 deletions(-)

-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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