Changeset 397


Ignore:
Timestamp:
Aug 17, 2017, 11:26:00 AM (7 years ago)
Author:
max@…
Message:

Use panic().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_gpt.c

    r386 r397  
    277277        /* check page size */
    278278        if (CONFIG_PPM_PAGE_SIZE != 4096) {
    279                 printk("\n[PANIC] in %s : For x86, the page must be 4 Kbytes\n", __FUNCTION__);
    280                 hal_core_sleep();
     279                panic("for x86, the page must be 4 Kbytes");
    281280        }
    282281
Note: See TracChangeset for help on using the changeset viewer.