From: Ben Elliston <bje@redhat.com>
To: Johan Rydberg <johan.rydberg@netinsight.se>
Cc: "Frank Ch. Eigler" <fche@redhat.com>, <cgen@sources.redhat.com>
Subject: Re: enums
Date: Wed, 06 Dec 2000 03:35:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.30.0012062234210.12267-100000@moshpit.cygnus.com> (raw)
In-Reply-To: <3A2E21F0.A5A0C5FE@netinsight.se>
> : (values ("RESET") ("BUSERR" -) ("DPF" -) ("IPF" -)
> : ("EXTINT" -) ("ALIGN" -) ("ILLEGAL" -) ("PEINT" -)
> : ("DTLBMISS" -) ("ITLBMISS" -) ("RRANGE" -)
> : ("SYSCALL" -) ("BREAK" -) ("RESERVED" -))
> Is this intentional? Why define the others with value "-" ?
Well, first i defined it like: ("RESET" #x100) ("BUFFER" #x200) And
that didn't work at all. All the "-" values is just the result of a
search-and-replace.
In other contexts, an enum value can be:
(values "RESET" "BUSERR" "DPF" ..)
Does that work?
Ben
next prev parent reply other threads:[~2000-12-06 3:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-06 0:30 enums Johan Rydberg
2000-12-06 3:16 ` enums Frank Ch. Eigler
2000-12-06 3:23 ` enums Johan Rydberg
2000-12-06 3:35 ` Ben Elliston [this message]
2000-12-06 3:38 ` enums Johan Rydberg
2000-12-06 8:55 ` enums Doug Evans
2000-12-06 9:06 ` enums Johan Rydberg
2000-12-06 9:28 ` enums Doug Evans
2000-12-07 6:33 ` enums Johan Rydberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.30.0012062234210.12267-100000@moshpit.cygnus.com \
--to=bje@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=fche@redhat.com \
--cc=johan.rydberg@netinsight.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).