Home | History | Annotate | Download | only in pbsdboot

Lines Matching refs:pref

523 	pref_init(&pref);
527 fb_settings[0].type = pref.fb_type;
528 fb_settings[0].width = pref.fb_width;
529 fb_settings[0].height = pref.fb_height;
530 fb_settings[0].linebytes = pref.fb_linebytes;
531 fb_settings[0].addr = pref.fb_addr;
532 fb_settings[0].platid_cpu = pref.platid_cpu;
533 fb_settings[0].platid_machine = pref.platid_machine;
539 pref.setting_idx = 1;
540 pref.fb_type = fb_settings[0].type;
541 pref.fb_width = fb_settings[0].width;
542 pref.fb_height = fb_settings[0].height;
543 pref.fb_linebytes = fb_settings[0].linebytes;
544 pref.fb_addr = fb_settings[0].addr;
545 pref.platid_cpu = fb_settings[0].platid_cpu;
546 pref.platid_machine = fb_settings[0].platid_machine;
547 wstrcpy(pref.setting_name, TEXT("User defined"));
548 wstrcpy(pref.kernel_name, tmpbuf);
549 wstrcpy(pref.options, TEXT(""));
550 pref.check_last_chance = FALSE;
551 pref.load_debug_info = FALSE;
552 pref.serial_port = FALSE;
553 pref.reverse_video = FALSE;
555 fb_settings[0].name = pref.setting_name;
580 SetDlgItemText(hDlgMain, IDC_KERNEL, pref.kernel_name);
581 SetDlgItemText(hDlgMain, IDC_OPTIONS, pref.options);
596 pref.setting_idx, (LPARAM)NULL);
598 if(pref.autoboot){
599 if(pref.boot_time > 0){/* 0 can't use */
601 how_long_to_boot = pref.boot_time;
605 pref.boot_time);
703 autop = pref.autoboot;
706 pref.check_last_chance, 0);
708 pref.load_debug_info, 0);
710 pref.serial_port, 0);
712 pref.reverse_video, 0);
713 SendDlgItemMessage(hWnd,IDC_AUTOBOOT,BM_SETCHECK,pref.autoboot,0);
721 if(pref.boot_time){
722 wsprintf(tempbuf,TEXT("%d"),pref.boot_time);
733 EnableWindow(hwnd,pref.autoboot);
756 pref.check_last_chance = TRUE;
758 pref.check_last_chance = FALSE;
764 pref.load_debug_info = TRUE;
766 pref.load_debug_info = FALSE;
772 pref.serial_port = TRUE;
774 pref.serial_port = FALSE;
780 pref.reverse_video = TRUE;
782 pref.reverse_video = FALSE;
788 pref.autoboot = TRUE;
790 pref.autoboot = FALSE;
793 pref.boot_time = _wtoi(tempbuf);
1062 if (pref.check_last_chance) {
1175 pref.fb_type = fb_settings[0].type;
1176 pref.fb_width = fb_settings[0].width;
1177 pref.fb_height = fb_settings[0].height;
1178 pref.fb_linebytes = fb_settings[0].linebytes;
1179 pref.fb_addr = fb_settings[0].addr;
1180 pref.platid_cpu = fb_settings[0].platid_cpu;
1181 pref.platid_machine = fb_settings[0].platid_machine;
1182 wstrcpy(pref.kernel_name, wkernel_name);
1183 wstrcpy(pref.options, woptions);
1187 SetBootInfo(&bi, &fb_settings[pref.setting_idx]);
1198 if (pref.serial_port) {
1201 if (pref.reverse_video) {
1219 if (pref.serial_port) {
1322 pref.setting_idx = 0;
1346 pref.setting_idx = i;