Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.3/kernel/src/smp/
Dcore.rs3 pub fn smp_get_processor_id() -> u32 { in smp_get_processor_id()
5 return crate::arch::cpu::arch_current_apic_id() as u32; in smp_get_processor_id()
12 pub fn smp_send_reschedule(_cpu: u32) { in smp_send_reschedule() argument
/DragonOS-0.1.3/kernel/src/libs/
Dprintk.rs9 pub const COLOR_WHITE: u32 = 0x00ffffff;
11 pub const COLOR_BLACK: u32 = 0x00000000;
13 pub const COLOR_RED: u32 = 0x00ff0000;
15 pub const COLOR_ORANGE: u32 = 0x00ff8000;
17 pub const COLOR_YELLOW: u32 = 0x00ffff00;
19 pub const COLOR_GREEN: u32 = 0x0000ff00;
21 pub const COLOR_BLUE: u32 = 0x000000ff;
23 pub const COLOR_INDIGO: u32 = 0x0000ffff;
25 pub const COLOR_PURPLE: u32 = 0x008000ff;
105 pub fn __write_string_color(&self, fr_color: u32, bk_color: u32, s: &str) { in __write_string_color() argument
Dlz4.c359 U32 u32; member
364 static U32 LZ4_read32(const void *ptr) { return ((const unalign *)ptr)->u32; } in LZ4_read32()
368 static void LZ4_write32(void *memPtr, U32 value) { ((unalign *)memPtr)->u32 = value; } in LZ4_write32()
/DragonOS-0.1.3/kernel/src/exception/
Dsoftirq.rs82 irq_num: u32, in register_softirq() argument
94 pub extern "C" fn unregister_softirq(irq_num: u32) { in unregister_softirq() argument
102 pub extern "C" fn set_softirq_pending(irq_num: u32) { in set_softirq_pending() argument
112 pub extern "C" fn clear_softirq_pending(irq_num: u32) { in clear_softirq_pending() argument
150 pub fn set_softirq_pending(&mut self, softirq_num: u32) { in set_softirq_pending() argument
155 pub fn set_softirq_running(&mut self, softirq_num: u32) { in set_softirq_running() argument
160 pub fn clear_softirq_running(&mut self, softirq_num: u32) { in clear_softirq_running() argument
166 pub fn clear_softirq_pending(&mut self, softirq_num: u32) { in clear_softirq_pending() argument
173 pub fn is_running(&mut self, softirq_num: u32) -> bool { in is_running()
180 pub fn is_pending(&mut self, softirq_num: u32) -> bool { in is_pending()
[all …]
/DragonOS-0.1.3/kernel/src/arch/x86_64/
Dcpu.rs6 let cpuid_res: u32; in arch_current_apic_id()
/DragonOS-0.1.3/kernel/src/driver/uart/
Duart.rs7 const UART_MAX_BITS_RATE: u32 = 115200;
77 baud_rate: u32,
92 pub fn uart_init(uart_port: &UartPort, baud_rate: u32) -> Result<i32, &'static str> { in uart_init()
215 pub extern "C" fn c_uart_init(port: u16, baud_rate: u32) -> i32 { in c_uart_init()
/DragonOS-0.1.3/kernel/src/sched/
Dcore.rs13 pub fn cpu_executing(cpu_id: u32) -> &'static mut process_control_block { in cpu_executing()
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs169 pub reserved: u32,
579 *set |= 1 << ((sig as u32) - 1); in sigset_add()
621 return if 1 & (set >> ((_sig as u32) - 1)) != 0 { in sig_is_member()
665 pub flags: u32,
666 pub size: u32,
/DragonOS-0.1.3/kernel/src/process/
Dprocess.rs92 pub fn process_cpu(pcb: *const process_control_block) -> u32 { in process_cpu() argument