/DragonOS-0.1.2/kernel/src/exception/ |
D | trap.c | 26 printk_color(RED, BLACK, "ERROR / TRAP"); in do_debug() 39 printk_color(BLUE, BLACK, "INT"); in do_nmi() 52 printk_color(YELLOW, BLACK, "TRAP"); in do_int3() 65 printk_color(YELLOW, BLACK, "TRAP"); in do_overflow() 111 printk_color(RED, BLACK, "Terminate"); in do_double_fault() 135 printk_color(RED, BLACK, "ERROR"); in do_invalid_TSS() 139 printk_color(YELLOW, BLACK, "Information:\n"); in do_invalid_TSS() 191 printk_color(RED, BLACK, in do_general_protection() 196 printk_color(RED, BLACK, "Refers to a gate descriptor in the IDT;\n"); in do_general_protection() 198 printk_color(RED, BLACK, "Refers to a descriptor in the GDT or the current LDT;\n"); in do_general_protection() [all …]
|
/DragonOS-0.1.2/kernel/src/common/ |
D | kprint.h | 18 printk_color(GREEN, BLACK, "SUCCESS"); \ 44 printk_color(YELLOW, BLACK, "WARN"); \ 54 printk_color(RED, BLACK, "ERROR"); \ 64 printk_color(RED, BLACK, "TERMINATED"); \ 74 printk_color(RED, BLACK, "BUG"); \
|
D | printk.h | 71 #define printk(...) printk_color(WHITE, BLACK, __VA_ARGS__) 73 int printk_color(unsigned int FRcolor, unsigned int BKcolor, const char *fmt, ...);
|
/DragonOS-0.1.2/kernel/src/debug/traceback/ |
D | traceback.c | 39 …printk_color(YELLOW, BLACK, "Kernel traceback: Fault in userland. pid=%ld, rbp=%#018lx\n", current… in traceback() 44 printk_color(YELLOW, BLACK, "======== Kernel traceback =======\n"); in traceback() 62 printk_color(ORANGE, BLACK, "rbp:%#018lx,*rbp:%#018lx\n", rbp, *rbp); in traceback() 70 printk_color(YELLOW, BLACK, "======== Kernel traceback end =======\n"); in traceback()
|
/DragonOS-0.1.2/kernel/src/driver/interrupt/8259A/ |
D | 8259A.c | 56 printk_color(ORANGE, BLACK, "Received key irq, key code:%#018lx\n", x); in do_IRQ() 62 printk_color(ORANGE, BLACK, "Received irq:%#018x\n", number); in do_IRQ()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | printk.rs | 2 use crate::include::bindings::bindings::{printk_color, BLACK, WHITE}; 44 macro_rules! printk_color { macro 101 printk_color(WHITE, BLACK, str_to_print.as_ptr() as *const c_char); in __write_string() 108 printk_color(fr_color, bk_color, str_to_print.as_ptr() as *const c_char); in __write_string_color()
|
D | printk.c | 594 int printk_color(unsigned int FRcolor, unsigned int BKcolor, const char *fmt, ...) in printk_color() function
|
/DragonOS-0.1.2/kernel/src/driver/acpi/ |
D | acpi.c | 176 printk_color(ORANGE, BLACK, "RSDT Length=%dbytes.\n", rsdt->header.Length); in acpi_init() 177 printk_color(ORANGE, BLACK, "RSDT Entry num=%d\n", acpi_RSDT_Entry_num); in acpi_init() 215 printk_color(ORANGE, BLACK, "RSDT Length=%dbytes.\n", rsdt->header.Length); in acpi_init() 216 printk_color(ORANGE, BLACK, "RSDT Entry num=%d\n", acpi_RSDT_Entry_num); in acpi_init()
|
/DragonOS-0.1.2/kernel/src/ |
D | lib.rs | 81 printk_color!(GREEN, BLACK, "__rust_demo_func()\n"); in __rust_demo_func()
|
/DragonOS-0.1.2/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 355 else printk_color(ORANGE, BLACK, "COUNT=%d\n", ps2_mouse_buf_ptr->count); in analyze_mousecode() 378 …printk_color(RED, GREEN, "(M:%02x,X:%3d,Y:%3d)\tcount=%d\n", pak.byte0, pak.movement_x, pak.moveme… in analyze_mousecode()
|
/DragonOS-0.1.2/kernel/src/time/ |
D | timer.c | 17 printk_color(ORANGE, BLACK, "(test_timer)"); in test_timer()
|
/DragonOS-0.1.2/kernel/src/smp/ |
D | smp.c | 191 printk_color(BLACK, WHITE, "CPU:%d IDLE process.\n", proc_current_cpu_id); in smp_ap_start()
|
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 303 * new: rust的代码能够调用c语言的printk_color
|
/DragonOS-0.1.2/kernel/src/syscall/ |
D | syscall.c | 121 printk_color(regs->r9, regs->r10, (char *)regs->r8); in sys_put_string()
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | kernel_api.md | 591 #### `printk_color(unsigned int FRcolor, unsigned int BKcolor, const char* fmt, ...)`
|
/DragonOS-0.1.2/kernel/src/filesystem/fat32/ |
D | fat32.c | 404 printk_color(ORANGE, BLACK, in fat32_read_superblock() 413 …printk_color(BLUE, BLACK, "FAT32 FSInfo\n\tFSI_LeadSig:%#018lx\n\tFSI_StrucSig:%#018lx\n\tFSI_Free… in fat32_read_superblock()
|