/DragonOS-0.1.2/kernel/src/common/ |
D | kprint.h | 17 printk("[ "); \ 19 printk(" ] "); \ 20 printk(__VA_ARGS__); \ 21 printk("\n"); \ 27 printk("[ INFO ] "); \ 28 printk(__VA_ARGS__); \ 29 printk("\n"); \ 35 printk("[ DEBUG ] (%s:%d)\t", __FILE__, __LINE__); \ 36 printk(__VA_ARGS__); \ 37 printk("\n"); \ [all …]
|
D | printk.h | 71 #define printk(...) printk_color(WHITE, BLACK, __VA_ARGS__) macro
|
/DragonOS-0.1.2/kernel/src/ktest/ |
D | ktest_utils.h | 10 printk("[ kTEST FAILED ] Ktest Assertion Failed, file:%s, Line:%d\n", __FILE__, __LINE__); \ 18 printk("[ kTEST ] file:%s, Line:%d\t", __FILE__, __LINE__); \ 19 printk(__VA_ARGS__); \ 20 printk("\n"); \
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | printk.rs | 29 ($($arg:tt)*) => ($crate::libs::printk::__printk(format_args!($($arg)*))); 48 …$crate::libs::printk::PrintkWriter.__write_string_color($FRcolor, $BKcolor, alloc::fmt::format(for… 55 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("[ DEBUG ] ({}:… 63 …$crate::libs::printk::PrintkWriter.__write_string((alloc::string::String::from("[ INFO ] ")+ alloc… 70 …$crate::libs::printk::PrintkWriter.__write_string_color($crate::libs::printk::COLOR_YELLOW, $crate… 71 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!($($arg)*)) + "\… 78 …$crate::libs::printk::PrintkWriter.__write_string_color($crate::libs::printk::COLOR_RED, $crate::l… 79 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", fi… 87 …$crate::libs::printk::PrintkWriter.__write_string_color($crate::libs::printk::COLOR_RED, $crate::l… 88 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", fi…
|
D | mod.rs | 1 pub mod printk; module
|
/DragonOS-0.1.2/kernel/src/exception/ |
D | trap.c | 25 printk("[ "); in do_debug() 27 …printk(" ] do_debug(1),\tError Code:%#18lx,\tRSP:%#18lx,\tRIP:%#18lx\t CPU:%d, pid:%d\n", error_co… in do_debug() 38 printk("[ "); in do_nmi() 40 …printk(" ] do_nmi(2),\tError Code:%#18lx,\tRSP:%#18lx,\tRIP:%#18lx\t CPU:%d\n", error_code, regs->… in do_nmi() 51 printk("[ "); in do_int3() 53 …printk(" ] do_int3(3),\tError Code:%#18lx,\tRSP:%#18lx,\tRIP:%#18lx\t CPU:%d\n", error_code, regs-… in do_int3() 64 printk("[ "); in do_overflow() 66 …printk(" ] do_overflow(4),\tError Code:%#18lx,\tRSP:%#18lx,\tRIP:%#18lx\t CPU:%d\n", error_code, r… in do_overflow() 110 printk("[ "); in do_double_fault() 112 …printk(" ] do_double_fault(8),\tError Code:%#18lx,\tRSP:%#18lx,\tRIP:%#18lx\t CPU:%d\n", error_cod… in do_double_fault() [all …]
|
/DragonOS-0.1.2/kernel/src/driver/hid/ |
D | hidparse.c | 128 printk("\n %02X ", parser->report_desc[parser->pos]); in hid_parse() 140 printk("%02X ", parser->report_desc[parser->pos + i]); in hid_parse() 142 printk(" "); in hid_parse() 155 … printk("%sUsage Page (%s)", __spaces(space_cnt), hid_get_usage_page_str(parser->u_page)); in hid_parse() 168 printk("%sUsage (%s)", __spaces(space_cnt), in hid_parse() 175 printk("%sUsage min (%i=%s)", __spaces(space_cnt), parser->value, in hid_parse() 181 printk("%sUsage max (%i=%s)", __spaces(space_cnt), parser->value, in hid_parse() 203 … printk("%sCollection (%s)", __spaces(space_cnt), hid_get_collection_str(parser->value)); in hid_parse() 216 printk("%sEnd Collection", __spaces(space_cnt)); in hid_parse() 271 printk("%sFeature ", __spaces(space_cnt)); in hid_parse() [all …]
|
/DragonOS-0.1.2/kernel/src/driver/disk/ |
D | ata.c | 23 printk("Serial number:"); in ata_disk_handler() 33 printk("%s", buf); in ata_disk_handler() 34 printk("\n"); in ata_disk_handler()
|
/DragonOS-0.1.2/kernel/src/debug/traceback/ |
D | traceback.c | 22 …printk("function:%s() \t(+) %04d address:%#018lx\n", &str[kallsyms_names_index[index]], addr - kal… in lookup_kallsyms() 68 printk("\n"); in traceback()
|
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 30 - port kmalloc and printk to rust 262 port kmalloc and printk to rust (#83) 270 * 实现了printk宏 272 * new: 完善了printk的颜色
|
D | V0.1.0.md | 151 - printk
|
/DragonOS-0.1.2/docs/introduction/ |
D | features.md | 77 - [x] printk
|
/DragonOS-0.1.2/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 74 printk("c=%d\tval = %d\n", ++c, x); in ps2_mouse_handler()
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | kernel_api.md | 575 #### `printk(const char* fmt, ...)`
|
/DragonOS-0.1.2/kernel/src/mm/ |
D | mm.c | 80 printk("[ INFO ] Total amounts of RAM : %ld bytes\n", mm_Total_Memory); in mm_init()
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 1598 printk(" Found USB Device:\n" in xhci_get_descriptor()
|