/DragonOS-0.1.8/user/apps/shell/ |
D | cmd_test.c | 58 char *msg = "hello world"; in shell_pipe_test() local 61 msg = "how are you"; in shell_pipe_test() 66 msg = "quit"; in shell_pipe_test() 69 n = strlen(msg); in shell_pipe_test() 70 printf("Parent process send:%s\n", msg); in shell_pipe_test() 72 write(fd[1], msg, n); // 向管道的写端写入一条消息 in shell_pipe_test() 73 if (strcmp(msg, "quit") == 0) in shell_pipe_test()
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | ia64_msi.c | 23 msi_desc->msg.address_hi = 0; in msi_arch_get_msg() 24 msi_desc->msg.address_lo = ia64_pci_get_arch_msi_message_address(msi_desc->processor); in msi_arch_get_msg() 25 …msi_desc->msg.data = ia64_pci_get_arch_msi_message_data(msi_desc->irq_num, msi_desc->processor, ms… in msi_arch_get_msg() 26 msi_desc->msg.vector_control = 0; in msi_arch_get_msg() 27 return &(msi_desc->msg); in msi_arch_get_msg()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | compiler_attributes.h | 15 #define __compiletime_error(msg) __attribute__((__error__(msg))) argument 17 #define __compiletime_error(msg) argument
|
D | compiler.h | 20 #define __compiletime_assert(condition, msg, prefix, suffix) … argument 28 … __compiletime_error(msg); \ 39 #define complietime_assert(condition, msg) \ argument 40 __compiletime_assert(condition, msg, __compiletime_assert__, __COUNTER__)
|
/DragonOS-0.1.8/kernel/src/debug/ |
D | bug.h | 58 #define BUILD_BUG_ON_MSG(condition, msg) complietime_assert(!(condition), msg) argument
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | msi.c | 113 *ptr = ((uint64_t)(msi_desc->msg.address_hi) << 32) | (msi_desc->msg.address_lo); in __msix_set_entry() 117 *ptr = ((uint64_t)(msi_desc->msg.vector_control) << 32) | (msi_desc->msg.data); in __msix_set_entry() 201 …message_addr = ((((uint64_t)msi_desc->msg.address_hi) << 32) | msi_desc->msg.address_lo); // 获取mes… in pci_enable_msi() 210 tmp = msi_desc->msg.data; in pci_enable_msi()
|
D | pci_irq.rs | 276 fn irq_install(&mut self, msg: IrqMsg) -> Result<u8, PciError> { in irq_install() 278 if msg.irq_common_message.irq_index as usize > irq_vector.len() { in irq_install() 280 msg.irq_common_message.irq_index, in irq_install() 288 return self.msix_install(msg); in irq_install() 291 return self.msi_install(msg); in irq_install() 307 fn msi_install(&mut self, msg: IrqMsg) -> Result<u8, PciError> { in msi_install() 321 self.irq_vector_mut().unwrap()[msg.irq_common_message.irq_index as usize]; in msi_install() 322 let common_msg = &msg.irq_common_message; in msi_install() 346 let trigger = match msg.irq_specific_message { in msi_install() 457 fn msix_install(&mut self, msg: IrqMsg) -> Result<u8, PciError> { in msix_install() [all …]
|
D | msi.h | 78 struct msi_msg_t msg; // msi消息 member
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 91 Some(msg) => { in panic() 92 println!("Message:\n\t{}", msg); in panic()
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 854 let msg = args[1] as *mut crate::net::syscall::MsgHdr; in handle() localVariable 856 let virt_msg = VirtAddr::new(msg as usize); in handle() 868 let msg = unsafe { msg.as_mut() }.ok_or(SystemError::EFAULT)?; in handle() localVariable 869 return Ok(msg); in handle() 875 let msg = r.unwrap(); in handle() localVariable 876 Self::recvmsg(args[0], msg, flags) in handle()
|
/DragonOS-0.1.8/kernel/src/net/ |
D | syscall.rs | 267 pub fn recvmsg(fd: usize, msg: &mut MsgHdr, _flags: u32) -> Result<usize, SystemError> { in recvmsg() 269 let mut iovs = unsafe { IoVecs::from_user(msg.msg_iov, msg.msg_iovlen, true)? }; in recvmsg() 288 sockaddr_in.write_to_user(msg.msg_name, &mut msg.msg_namelen)?; in recvmsg()
|