Home
last modified time | relevance | path

Searched refs:printk (Results 1 – 17 of 17) sorted by relevance

/DragonOS-0.1.3/kernel/src/common/
Dkprint.h17 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 …]
Dprintk.h71 #define printk(...) printk_color(WHITE, BLACK, __VA_ARGS__) macro
/DragonOS-0.1.3/kernel/src/ktest/
Dktest_utils.h10 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.3/kernel/src/libs/
Dprintk.rs29 ($($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…
Dmod.rs1 pub mod printk; module
/DragonOS-0.1.3/kernel/src/exception/
Dtrap.c25 printk("[ "); in do_debug()
27printk(" ] 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()
40printk(" ] 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()
53printk(" ] 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()
66printk(" ] 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()
112printk(" ] 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.3/kernel/src/driver/hid/
Dhidparse.c128 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()
155printk("%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()
203printk("%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.3/kernel/src/driver/disk/
Data.c23 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.3/kernel/src/debug/traceback/
Dtraceback.c22printk("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.3/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md30 - port kmalloc and printk to rust
262 port kmalloc and printk to rust (#83)
270 * 实现了printk
272 * new: 完善了printk的颜色
DV0.1.0.md151 - printk
/DragonOS-0.1.3/docs/introduction/
Dfeatures.md78 - [x] printk
/DragonOS-0.1.3/kernel/src/syscall/
Dsyscall.c233 printk("%s", buf); in sys_write()
237 printk("%s", buf); in sys_write()
/DragonOS-0.1.3/kernel/src/driver/mouse/
Dps2_mouse.c74 printk("c=%d\tval = %d\n", ++c, x); in ps2_mouse_handler()
/DragonOS-0.1.3/docs/kernel/core_api/
Dkernel_api.md575 #### `printk(const char* fmt, ...)`
/DragonOS-0.1.3/kernel/src/mm/
Dmm.c80 printk("[ INFO ] Total amounts of RAM : %ld bytes\n", mm_Total_Memory); in mm_init()
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dxhci.c1598 printk(" Found USB Device:\n" in xhci_get_descriptor()