Function report |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-28 08:00:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mce_panic
Proto:static void mce_panic(const char *msg, struct mce *final, char *exp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | msg | |
| struct mce * | final | |
| char * | exp |
| 315 | apei_err = 0 |
| 319 | If Not fake_panic Then |
| 323 | If atomic_inc_return( & mce_panicked) > 1 Then Panic in progress. Enable interrupts and wait for final IPI |
| 327 | bust_spinlocks(1) |
| 328 | console_verbose() |
| 329 | Else |
| 331 | If atomic_inc_return( & mce_fake_panicked) > 1 Then Return |
| 334 | pending = mce_gen_pool_prepare_records() |
| 338 | If Not (Bank's MCi_STATUS MSR & uncorrected error ) Then |
| 340 | If Not apei_err Then apei_err = apei_write_mce(m) |
| 347 | If Not (Bank's MCi_STATUS MSR & uncorrected error ) Then Continue |
| 355 | If final Then |
| 364 | If Not fake_panic Then |
| 365 | If panic_timeout == 0 Then panic_timeout = panic_timeout |
| Name | Describe |
|---|---|
| mce_timed_out | Check if a timeout waiting for other CPUs happened. |
| mce_reign | The Monarch's reign |
| do_machine_check | The actual machine check handler. This only handles real* exceptions when something got corrupted coming in through int 18.* This is executed in NMI context not subject to normal locking rules. This* implies that most kernel services cannot be safely used |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |