[lkml]   [2003]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: Simple patches for Linux as a guest OS in a plex86 VM (please consider)
On Wed, 22 Jan 2003, Kevin Lawton wrote:

Three minor points:

o If you included the patch inline instead of as application/octet-stream,
it'd be easier to reply ;)

> +Nothing, it's Open Source. Linux is obviously a GPL'd program.
> +Plex86 is an LGPL'd kernel module. Though it's a separate
> +

o Something's missing there?

diff -urN linux-2.5.59/Makefile linux-2.5.59-hal/Makefile
--- linux-2.5.59/Makefile Wed Jan 22 12:25:58 2003
+++ linux-2.5.59-hal/Makefile Wed Jan 22 22:36:00 2003
@@ -264,6 +264,18 @@
CFLAGS += -fomit-frame-pointer

+ifdef CONFIG_X86_HAL
+# On x86, if compiling for the Hardware Abstraction Layer
+# (running Linux as a guest OS in a Virtual Machine),
+# we need to insert some asm macros which redefine
+# the behaviour of instructions which modify the
+# interrupt flag. You are probably not configuring for
+# this mode. For more info, read 'Documentation/x86-hal.txt'.
+# This needs to be the first include any module sees.
+CFLAGS += -include include/asm/if.h
+AFLAGS += -include include/asm/if.h
# INSTALL_PATH specifies where to place the updated kernel and system map
# images. Uncomment if you want to place them anywhere other than root.
@@ -409,6 +421,10 @@
# their file += -P -C -U$(ARCH)

arch/$(ARCH)/ %.s: %.S scripts FORCE
$(call if_changed_dep,as_s_S)
o These modifications should be done from arch/i386/Makefile instead,
since they're obviously i386-specific.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.119 / U:3.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site