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