Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/smp/
Dcore.rs3 pub fn smp_get_processor_id() -> u32 { in smp_get_processor_id()
5 return crate::arch::x86_64::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.2/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.2/kernel/src/arch/x86_64/
Dcpu.rs6 let cpuid_res: u32; in arch_current_apic_id()
/DragonOS-0.1.2/kernel/src/sched/
Dcore.rs5 pub fn cpu_executing(cpu_id:u32) -> *const process_control_block{ in cpu_executing()
/DragonOS-0.1.2/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.2/kernel/src/ipc/
Dsignal_types.rs169 pub reserved: u32,
572 *set |= 1 << ((sig as u32) - 1); in sigset_add()
614 return if 1 & (set >> ((_sig as u32) - 1)) != 0 { in sig_is_member()
658 pub flags: u32,
659 pub size: u32,
/DragonOS-0.1.2/kernel/src/process/
Dprocess.rs93 pub fn process_cpu(pcb: *const process_control_block) -> u32 { in process_cpu() argument