#include <pci.h>
#include <smram.h>
-#ifdef __linux__
+#ifndef __RAW__
static unsigned long memsz[] = {
0, // 0
void smram_restore_state(smram_state_t state)
{
- return pci_write8(0, 0, 0, SMRAMC, state);
+ pci_write8(0, 0, 0, SMRAMC, state);
}
int smram_aseg_set_state (int open) {