1 /* Convert to C by yhlu */
3 #define DRC_DONE (1 << 29)
4 /* If I have already booted once skip a bunch of initialization */
5 /* To see if I have already booted I check to see if memory
8 static int bios_reset_detected(void) {
11 dword = pci_read_config32(PCI_DEV(0, 0, 0), MCH_DRC);
13 if( (dword & DRC_DONE) != 0 ) {