mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
parent
5e069a64d4
commit
d932948fb4
954 changed files with 1095 additions and 1342 deletions
|
@ -16,17 +16,18 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
#include "libc/macros.internal.h"
|
||||
.real
|
||||
.source __FILE__
|
||||
.code16 # ∩ .code32 ∩ .code64
|
||||
|
||||
// Aborts or hard blocks instruction pointer.
|
||||
// @mode long,legacy,real
|
||||
panic: push %bp
|
||||
__panic:
|
||||
push %bp
|
||||
mov %sp,%bp
|
||||
.softicebp
|
||||
cli
|
||||
1: hlt
|
||||
jmp 1b
|
||||
.endfn panic,weak
|
||||
.endfn __panic,weak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue