Skip to contentSkip to conversation

ACE implementation, conifguration and makefile

PATCH In review Wink Saville 1 participant 1 message May 6, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 ACE implementation, conifguration and makefile

---
  arch/x86_64/kernel/Makefile |    2
  arch/x86_64/kernel/ace.S    |  204 ++++++++++++++++++++++++++++++++++++
  arch/x86_64/kernel/entry.S  |   45 ++++++++
  drivers/Makefile            |    1
  drivers/ace/Kconfig         |   15 ++
  drivers/ace/Makefile        |    5
  drivers/ace/ace_device.c    |  246 ++++++++++++++++++++++++++++++++++++++++++++
  include/asm-x86_64/ace.h    |  124 ++++++++++++++++++++++
  mm/Kconfig                  |    2
  9 files changed, 644 insertions(+)

create mode 100644 arch/x86_64/kernel/ace.S
create mode 100644 drivers/ace/Kconfig
create mode 100644 drivers/ace/Makefile
create mode 100644 drivers/ace/ace_device.c
create mode 100644 include/asm-x86_64/ace.h

arch/x86_64/kernel/Makefile +2 -0
Index: linux-2.6/arch/x86_64/kernel/Makefile
===================================================================
@@ -41,6 +41,8 @@ obj-$(CONFIG_AUDIT)		+= audit.o
  obj-$(CONFIG_MODULES)		+= module.o
  obj-$(CONFIG_PCI)		+= early-quirks.o
 
+obj-$(CONFIG_ACE_DEVICE)	+= ace.o
+
  obj-y				+= topology.o
  obj-y				+= intel_cacheinfo.o
  obj-y				+= pcspeaker.o
arch/x86_64/kernel/ace.S new file +204 -0

204 lines not on this page · raw message

arch/x86_64/kernel/entry.S +45 -0

57 lines not on this page · raw message

drivers/Makefile +1 -0
Index: linux-2.6/drivers/Makefile
===================================================================
@@ -80,3 +80,4 @@ obj-$(CONFIG_GENERIC_TIME)	+= clocksourc
  obj-$(CONFIG_DMA_ENGINE)	+= dma/
  obj-$(CONFIG_HID)		+= hid/
  obj-$(CONFIG_PPC_PS3)		+= ps3/
+obj-$(CONFIG_ACE_DEVICE)	+= ace/
drivers/ace/Kconfig new file +15 -0
Index: linux-2.6/drivers/ace/Kconfig
===================================================================
@@ -0,0 +1,15 @@
+#
+# ACE configuration
+#
+
+menu "Atomic Code Execution (ACE)"
+
+config ACE_DEVICE
+	bool "ACE support"
+	---help---
+	  ACE allows code to be atomically executed either from kernel
+          space or user space as if it was surrounded by spin_lock_irqsave
+          and spin_lock_irqrestore.
+
+endmenu
+
drivers/ace/Makefile new file +5 -0
Index: linux-2.6/drivers/ace/Makefile
===================================================================
@@ -0,0 +1,5 @@
+#
+# Makefile for ACE.
+#
+
+obj-$(CONFIG_ACE_DEVICE)	+= ace_device.o
drivers/ace/ace_device.c new file +246 -0

246 lines not on this page · raw message

include/asm-x86_64/ace.h new file +124 -0

124 lines not on this page · raw message

mm/Kconfig +2 -0
Index: linux-2.6/mm/Kconfig
===================================================================
@@ -171,3 +171,5 @@ config KSHMEM
  	  user space programs. For instance interrupt service routines
  	  and user space programs may share the same memory.
 
+source "drivers/ace/Kconfig"
+

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/