Bug 194022

Summary: Cannot do continue boot with defaults/do a cpu reset from boot2
Product: Base System Reporter: Enji Cooper <ngie>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: delphij
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Enji Cooper freebsd_committer freebsd_triage 2014-09-29 20:55:46 UTC
If I drop into the boot2 prompt, I can't issue a command or key strokes to do a CPU reset of the machine. It would be nice if end-users could do this because there are issues that I've run into in the past (mostly with older releases, e.g. 6.x~7.x), where if there's garbled text that comes across a serial console, it can get a machine stuck on the boot2 prompt and there's no way to either continue the boot (with the default value) or issue a CPU reset.
Comment 1 Xin LI freebsd_committer freebsd_triage 2024-04-15 22:43:41 UTC
This haven't been touched for a decade, so closing as overcome by events as newer hardware are generally using EFI, and nobody appear to be working on this anyways.

I think this can be accomplished by something like:

```
static void
reboot(void)
{

        v86.addr = 0x19;
        v86int();
}
```