From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21909 invoked by alias); 17 May 2002 12:38:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21880 invoked from network); 17 May 2002 12:38:48 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 17 May 2002 12:38:48 -0000 Received: by fw-cam.cambridge.arm.com; id NAA28360; Fri, 17 May 2002 13:38:46 +0100 (BST) Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma027705; Fri, 17 May 02 13:38:05 +0100 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [172.16.1.91]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id NAA03843; Fri, 17 May 2002 13:38:04 +0100 (BST) Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id NAA22578; Fri, 17 May 2002 13:38:04 +0100 (BST) Message-Id: <200205171238.NAA22578@cam-mail2.cambridge.arm.com> To: Nick Clifton cc: gdb-patches@sources.redhat.com, Richard.Earnshaw@arm.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: ARM SIM - add support to select SWI emulations to support. In-reply-to: Your message of "17 May 2002 10:11:03 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 17 May 2002 05:38:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-05/txt/msg00705.txt.bz2 + + extern unsigned int swi_mask; + + #define SWI_MASK_DEMON (1 << 0) + #define SWI_MASK_ANGEL (1 << 1) + #define SWI_MASK_REDBOOT (1 << 2) Why make this a mask? A major part of the problem here is that these SWI sets may be mutually incompatible. Why not just require the user to select the right one? R.