Re: [patch 1/3] acpi: dock driver

From: Patrick Mochel
Date: Wed Apr 19 2006 - 14:10:14 EST


[ Bouncing sgi address dropped. ]

On Wed, Apr 19, 2006 at 10:51:18AM -0700, Moore, Robert wrote:
>
> Architecturally, this was the design of ACPICA -- that anything
> OS-dependent would be written in whatever format/style/exception
> model/threading model/blah as the host OS.
>
> We even discussed having an interface layer in order to translate
> incoming requests (to ACPICA) from the host drivers to ACPICA requests,
> and then translate the output (such as exception codes) back to the host
> format, but we ended up deciding that this was overkill.

I don't think it needs to be formally defined, but it happens by default with
e.g. drivers/acpi/utils.c. But, they don't do any translation per se; they
keep the same semantics that the CA exposes. Over time, these can be converted
to provide a stronger barrier between the CA and the Linuxy stuff, but I
don't think we much formality beyond a few rules of guidance.

Besides the error namespace and the debug functions, what are other things
off the top of your head that should be contained within the CA and the OSL
layers?

Thanks,


Pat
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/