From: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: max-ZrNlpQwM5lQ@public.gmane.org
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Bitfield usage in FADT table?
Date: Tue, 11 Nov 2003 18:55:03 +0100 [thread overview]
Message-ID: <20031111175503.GF29175@poupinou.org> (raw)
In-Reply-To: <20031111171845.GA19024-llVo0kcOI43s6UcQ8r3GPg@public.gmane.org>
On Tue, Nov 11, 2003 at 06:18:45PM +0100, maximE bizon wrote:
>
> On Tue, Nov 11, 2003 at 06:02:45PM +0100, Ducrot Bruno wrote:
>
> > > begin dump of fadt:
> > > [...]
> > > 6e 0
> > > 6f 0
> > > 70 f1
> > > 71 a2
> > > 72 35
> > > 73 78
> > > 74 0
> > > 75 0
> > > [...]
> > > bit wb_invd is 1
> > > bit wb_invd_flush is 0
> > > bit proc_c1 is 0
> > > bit plvl2_up is 0
> > > bit pwr_button is 1
> > > bit sleep_button is 1
> > > bit fixed_rTC is 1
> > > bit rtcs4 is 1
> > > bit tmr_val_ext is 0
> > > bit dock_cap is 1
> > > bit reset_reg_sup is 0
> > > bit sealed_case is 0
> > > bit headless is 0
> > > bit cpu_sw_sleep is 1
> > >
>
> > > Is it really what it is supposed to be?
> >
> > To be what?
>
> According to the ACPI specs:
>
> value bit offset
> ===== ==========
> wb_invd 0
> wb_invd_flush 1
> proc_c1 2
> plvl2_up 3
> pwr_button 4
> sleep_button 5
> [...]
>
> So, for instance, sleep_button should be 0, no ?
No. This is a double word, so, with endianess issues, you
actually have overwriten with
0x7825a2f1
and bit 5 of 0x7825a2f1 is 1.
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
next prev parent reply other threads:[~2003-11-11 17:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 16:15 Bitfield usage in FADT table? maxime bizon
[not found] ` <20031111161527.GC23128-AroONJ29hSVWj0EZb7rXcA@public.gmane.org>
2003-11-11 17:02 ` Ducrot Bruno
[not found] ` <20031111170245.GE29175-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-11 17:18 ` maximE bizon
[not found] ` <20031111171845.GA19024-llVo0kcOI43s6UcQ8r3GPg@public.gmane.org>
2003-11-11 17:55 ` Ducrot Bruno [this message]
2003-11-11 17:57 ` Ducrot Bruno
[not found] ` <20031111175730.GG29175-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-11 18:25 ` maximE bizon
[not found] ` <20031111182522.GA19215-llVo0kcOI43s6UcQ8r3GPg@public.gmane.org>
2003-11-11 18:57 ` Ducrot Bruno
[not found] ` <20031111185717.GH29175-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-11 20:26 ` maxime bizon
[not found] ` <20031111202613.GA25458-AroONJ29hSVWj0EZb7rXcA@public.gmane.org>
2003-11-11 20:34 ` Ducrot Bruno
[not found] ` <20031111203433.GN29175-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-11 20:46 ` maximE bizon
[not found] ` <20031111204627.GA26007-AroONJ29hSVWj0EZb7rXcA@public.gmane.org>
2003-11-11 20:47 ` Ducrot Bruno
2003-11-12 0:15 ` Karol Kozimor
2003-11-11 17:23 ` Randy.Dunlap
[not found] ` <20031111092316.124cdfa0.rddunlap-3NddpPZAyC0@public.gmane.org>
2003-11-11 17:48 ` maximE bizon
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=20031111175503.GF29175@poupinou.org \
--to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=max-ZrNlpQwM5lQ@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.