RFC: Generic shadow mechanism useable from a payload

Stefan Reinauer stepan at openbios.org
Wed Jan 26 08:39:01 CET 2005


* Richard Smith <smithbone at gmail.com> [050126 18:40]:
> What if we created a shadow.c file that was in the northbridge
> directory with a simple API type setup that enabled and disabled the
> various shadow ranges.

What about going the LinuxBIOS table way, providing an array of writes

typedef struct { 
        device_t dev;
        unsigned pos;
        unsigned and_val;
        unsigned or_val;
} modifier_t;

and then provide two arrays of modifier_t for enable_shadow and
disable_shadow.

or whatever the according s-record representation will be in future ;-)
Then we're on the safe side without hurting philosophy.

Stefan







More information about the coreboot mailing list