if (name == NULL)
goto close_master;
slave = open (name, O_RDWR);
if (slave == -1)
goto close_master;
if (isastream (slave))
{
if (ioctl (slave, I_PUSH, "ptem") < 0
|| ioctl (slave, I_PUSH, &
mething).
While, I grant that this is one area the ABI could have been improved upon
(alignment of floating point, and reservation of EBX as GOT pointers are other
sore spots), it is the ABI of record. Yes, we could certainly choose a
different ABI for Linux, but it is probably too late for
he other brand(s) as modules allows you to control
which scsi controller is the first controller in terms of where the
disks are.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone:
many devices you can specify the parameters at boot time if you use
something like lilo to boot.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTE
er.
*/
so my take is unless you explicitly use hotplug devices (I wasn't), that it is
much safer to unload the driver, unattach/attach scsi devices, and then reload
the driver (which will scan the scsi bus for devices), which you need modules
for.
--
Michael Meissner, Red Ha
On Tue, Jan 16, 2001 at 10:01:25PM +0100, Andi Kleen wrote:
> On Tue, Jan 16, 2001 at 03:37:57PM -0500, Michael Meissner wrote:
> > don't assume that the way your system gets booted is the way everybody's does,
> > particularly those on platforms other than the x86.
&g
On Tue, Jan 16, 2001 at 08:14:01PM -0600, Peter Samuelson wrote:
>
> [Michael Meissner]
> > Ummm, I just reread the 2.4 Changes file once again just to be sure,
> > and it did not cover this issue. So how the *$@% are people supposed
> > to "read some docs" to
;m an end-user, and I have 3 scsi-adapters of two different brands in my
system. Many of the people using Linux in high end things like servers,
etc. will have multiple scsi controlers. People are using Linux in lots of
things from small embedded devices to large systems, and Linux needs t
uild a kernel.
Ummm, I just reread the 2.4 Changes file once again just to be sure, and it did
not cover this issue. So how the *$@% are people supposed to "read some docs"
to know about this, if the docs don't mention the information. I know people
have been complaining about
emory system
using 36 bit words. The operating system and system software was written in
PL/1. Bell Labs had bought a GE-645 and was one of the three development
partners (along with GE and MIT) until they withdrew in April 1969. You might
want to browse:
http://www.multicians.org/
tics that it
references, and those must be hand initialized.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
-
To unsubscribe from this li
old the compiler tools plus web pages I want to serve. If I was serving much
more content, I would probably chuck the compiler tools/kernel source.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1
-3 instructions to access global/static variables. Global
variables you have more problems visiblity and such.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED]
r could randomly order things specifically to catch
these type of errors (the problem with the normal checkout compilers
that I'm aware of, is that the kernel uses structs to talk to real
devices and interact with system calls with fixed layouts).
--
Michael Meissner, Red
ween what K&R said
(ref/def model) and what their compilers actually did (common model), the AT&T
representative at the time said that the ref/def model was put into K&R when
they tried to make a C compiler for their IBM mainframes, using the standard
linker, and discovered that linker
bove is ok also on mips in practice though.
That needs to be fixed ASAP to use an array (not a structure). It is simply
wrong to depend on two variables winding up in at adjacent offsets.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Wo
Obviously, if you do this and gcc 7.0 changes the interface to call
different functions, you are hosed.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED]
since.
> You know how it goes- you do a trick once- you don't change it for years...
According to the ChangeLog of the 2.7.2.3 compiler, Doug Evans added it in
March of 1995.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:
the optimization
level, what was on the stack and in the registers when main started, and
possibly other criteria. Just because a program is executing, it doesn't mean
it is correct.
Both the kernel and the compiler are large complex pieces of software, and
almost certainly have bugs in them, a
, since
a[i] = b[i++]
does not have a sequence, it is explicitly undefined behavior in the standard.
As I recall Bernd Schmidt recently found a number of places where the above
construct is used in the Linux kernel.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, W
he latest
codegen as well). Note, I seriously doubt Linus will want a flag day (ie,
after a given kernel release, you must use revision n of the compiler, but
before that release, you must use revision n-1 of the compiler), so you still
have to maintain support for the old GCC way of doing things, i
, and nobody seemed willing to step in
(at the time Cygnus only had 4 GCC engineers, and like now there was always
more GCC work to do than bodies to do work). The trouble is it takes a lot of
time from your paying job to actively participate (figure 4 week long meetings
a year, plus the time to r
o available ptys
>
> I'm not sure which device I'm missing in /dev. I'm no
> expert on how the tty's and stuff work so feel free to
> fill me in. Everything else seems to work fine on the
> CD.
Did you mount /dev/pts, which is usually done with a line in /etc/f
rsion from:
http://www.sco.com/developer/devspecs/abi386-4.pdf
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
-
To unsubscribe
On Fri, Nov 10, 2000 at 07:11:37PM -0500, Albert D. Cahalan wrote:
> Michael Meissner writes:
>
> > It may be out of print by now, but the original reference
> > for the x86 ABI, is the:
> >
> > System V Application Binary Interface
> > Intel386 (t
have their own ideas of what to work on.
Also note, that for -mregpar=n, it is important that variable argument
functions be declared properly in all callers, since they need to use the
standard calling sequence.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts
tself certainly is file scope (or larger).
Old K&R allowed the following:
foo(){
extern int a;
a = 1;
}
bar(){
a = 2;
}
Ie, compiler put the definition for a in the file scope symbol table, and not
the current block's. The a
The
ebnf looks like:
statement:
labeled-statement
| expression-statem
| compoundstatement
| selection-statement
| iteration-statement
| jump-statement
labeled-statement:
identifier
e changes, I would:
1) Make all stdio functions consistant in taking the FILE * argument as
the first argument.
2) Make && and || have the proper priority.
3) Make plain char and bitfields unsigned by default, add signed keyword
to the original language.
4)
nditional floating point move, and a
few other instructions that GCC currently does not generate code for such as
atomic exchange of 8 bytes.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486
d. I have a 1460
scsi card, so I build my laptop release with scsi support included.
I'll post this also to the pcmcia support pages.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] pho
On Fri, May 18, 2001 at 03:17:50PM +0100, Stephen C. Tweedie wrote:
> Hi,
>
> On Wed, May 16, 2001 at 12:18:15PM -0400, Michael Meissner wrote:
>
> > With the current LABEL= support, you won't be able to mount the disks with
> > duplicate labels, but you can
ic case for an
> embedded CD-RW appliance.
Or alternatively, you want to enable SCSI code, with no hardware driver,
because you are going to build pcmcia, which builds the scsi drivers only if
CONFIG_SCSI is defined, and the user might put in an Adaptec 1460B or 1480 scsi
card into your pc
els, etc.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
-
To unsubscribe from this list: send the line "unsubscribe
k was "Why workstations don't work", where he outlined
Plan9. If it wasn't the Baltimore USENIX, it may have been Salt Lake city,
Dallas, or the Boston one.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
tfields don't have addresses, and different compiler
ABIs do lay them out in different fashions within the words). C89 never
changed the wording that mandates this.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:
nd the later ones got tapes.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
-
To unsubscribe from this list: send the lin
n special
PowerPC's, the home may have moved to Austin, which is the PowerPC/AIX center.
The AS/400 line was intended to be the mid-range system, between the mainframes
(360 -> 370 -> 3080 -> 3900 -> ???) and the PCs.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 1
ating point and the number of arguments
is not variable, it is passed in a FP register, instead of an integer
register. For variable argument functions, everything is passed in the integer
registers.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachuse
Unix(TM) boxes of various types. Linux won't pass void
> either, you have to get a 0 at least. Compliance is subjective. It's
> easier when things make sense.
Yes, that is an artifact of the original UNIX implementation on the PDP-11 (16
bit ints, signal number is passed back in
n to the kernel, only whether I want to build the alternative
USHI USB dirver (the JE driver). Make xconfig asks whether you want to build
both drivers. I'm not sure whether this was a bug in previous versions or
not.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton
On Tue, Apr 24, 2001 at 07:36:42PM -0400, Johannes Erdfelt wrote:
> On Tue, Apr 24, 2001, Michael Meissner <[EMAIL PROTECTED]> wrote:
> > and it doesn't ask whether I want to build the normal USHI USB driver either as
> > a module or builtin to the kernel, only w
I would imagine you should ask the Berkely folks, since the TCP/IP support all
came from there, and not Bell Labs.
> > Were they afraid that "e" being the most widely used letter in
> > the English language was going to war out thir xpnsiv kyboards if
> > thy usd it al
ne of the first systems
I worked on professionally (Data General RDOS) used RAD50 in their object file
format.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EM
for extensibility and write part of the program in that language.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
-
To uns
mount could scan
> partition IDs and associate mount points on matching IDs rather than on
> /dev/hdX or /dev/sdX.
I don't see how this is any different from the current LABEL= support that is
currently in the ext2 filesystem (except I seem to recall that it doesn't work
on devfs).
Similarly for serial ports, if
I have 3 or 4 (or 127 :-) USB serial devices, I really don't want to have to
change my cabling each time I boot or change OSes (since I doubt my UPS will be
happy if I give it the commands destined for the X10 controller or my remote
boards).
--
Michael Meissn
53c8xx
to my /etc/modules.conf. That way, when the kernel boots, it will only see the
Adaptec driver.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PRO
system do not (well presumably anybody who reads this
mailing list has enough of a clue). Also, I bet the number of USB and
Firewire devices used on the above two systems is probably vanishingly small.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, We
49 matches
Mail list logo