logo       

Preliminary SMP fix: msg#00121

emulators.bochs.devel

Subject: Preliminary SMP fix

I've commited a change which allows booting Linux with the 'noapic' kernel
parameter. It looks like it'll be IO-APIC fixes from here, but otherwise..

Enjoy.

Index: bochs-cvs//cpu/apic.h
===================================================================
RCS file: /cvsroot/bochs/bochs/cpu/apic.h,v
retrieving revision 1.2
diff -u -p -B -r1.2 apic.h
--- bochs-cvs//cpu/apic.h 17 Aug 2003 18:55:16 -0000 1.2
+++ bochs-cvs//cpu/apic.h 23 Nov 2003 02:33:35 -0000
@@ -128,7 +128,7 @@ public:
void print_status ();
virtual bx_bool match_logical_addr (Bit8u address);
virtual bx_bool is_local_apic () const { return true; }
- virtual bx_apic_type_t get_type () const { return APIC_TYPE_LOCAL_APIC; }
+ virtual bx_apic_type_t get_type () { return APIC_TYPE_LOCAL_APIC; }
virtual Bit32u get_delivery_bitmask (Bit8u dest, Bit8u dest_mode);
virtual bx_bool deliver (Bit8u destination, Bit8u dest_mode, Bit8u
delivery_mode, Bit8u vector, Bit8u polarity, Bit8u trig_mode);
Bit8u get_ppr ();


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise