/DragonOS-0.1.8/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() 192 printk_color(RED, BLACK, in do_general_protection() 197 printk_color(RED, BLACK, "Refers to a gate descriptor in the IDT;\n"); in do_general_protection() 199 printk_color(RED, BLACK, "Refers to a descriptor in the GDT or the current LDT;\n"); in do_general_protection() [all …]
|
/DragonOS-0.1.8/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.8/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.8/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.8/kernel/src/libs/ |
D | printk.rs | 4 include::bindings::bindings::{printk_color, BLACK, WHITE}, 51 macro_rules! printk_color { macro 119 printk_color(WHITE, BLACK, str_to_print.as_ptr() as *const c_char); in __write_string() 131 printk_color(fr_color, bk_color, str_to_print.as_ptr() as *const c_char); in __write_string_color() 187 printk_color(WHITE, BLACK, str_to_print.as_ptr() as *const c_char); in __write_string_on_stack() 207 printk_color(fr_color, bk_color, str_to_print.as_ptr() as *const c_char); in __write_string_color_on_stack()
|
D | printk.c | 594 int printk_color(unsigned int FRcolor, unsigned int BKcolor, const char *fmt, ...) in printk_color() function
|
/DragonOS-0.1.8/kernel/src/driver/acpi/ |
D | acpi.c | 194 printk_color(ORANGE, BLACK, "RSDT Length=%dbytes.\n", rsdt->header.Length); in acpi_init() 195 printk_color(ORANGE, BLACK, "RSDT Entry num=%d\n", acpi_RSDT_Entry_num); in acpi_init() 237 printk_color(ORANGE, BLACK, "RSDT Length=%dbytes.\n", rsdt->header.Length); in acpi_init() 238 printk_color(ORANGE, BLACK, "RSDT Entry num=%d\n", acpi_RSDT_Entry_num); in acpi_init()
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | syscall.c | 72 printk_color(front_color, background_color, s); in do_put_string()
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 109 printk_color!(GREEN, BLACK, "__rust_demo_func()\n"); in __rust_demo_func()
|
/DragonOS-0.1.8/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.8/kernel/src/smp/ |
D | smp.c | 217 printk_color(BLACK, WHITE, "CPU:%d IDLE process.\n", proc_current_cpu_id); in smp_ap_start()
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 303 * new: rust的代码能够调用c语言的printk_color
|
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | kernel_api.md | 591 #### `printk_color(unsigned int FRcolor, unsigned int BKcolor, const char* fmt, ...)`
|