/DragonOS-0.1.8/user/apps/test_bind/ |
D | main.c | 16 struct sockaddr_in address; variable 17 int addrlen = sizeof(address); 43 if (bind(tcp_sk_fd1, (struct sockaddr *)&address, sizeof(address)) < 0) in test_tcp_bind() 48 address.sin_port = htons(PORT+1); in test_tcp_bind() 49 if (bind(tcp_sk_fd2, (struct sockaddr *)&address, sizeof(address)) < 0) in test_tcp_bind() 57 address.sin_port = htons(PORT); in test_tcp_bind() 58 if (bind(tcp_sk_fd3, (struct sockaddr *)&address, sizeof(address)) < 0) in test_tcp_bind() 105 if (bind(udp_sk_fd1, (struct sockaddr *)&address, sizeof(address)) < 0) in test_udp_bind() 110 address.sin_port = htons(PORT+1); in test_udp_bind() 111 if (bind(udp_sk_fd2, (struct sockaddr *)&address, sizeof(address)) < 0) in test_udp_bind() [all …]
|
D | link.lds | 75 /* Adjust the address for the rodata segment. We want to adjust up to 76 the same address within the page on the next page up. */ 86 /* Adjust the address for the data segment. We want to adjust up to 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/http_server/ |
D | main.c | 177 struct sockaddr_in address; in main() local 178 int addrlen = sizeof(address); in main() 197 address.sin_family = AF_INET; in main() 198 address.sin_addr.s_addr = INADDR_ANY; in main() 199 address.sin_port = htons(PORT); in main() 202 if (bind(server_fd, (struct sockaddr *)&address, sizeof(address)) < 0) in main() 220 … if ((new_socket = accept(server_fd, (struct sockaddr *)&address, (socklen_t *)&addrlen)) < 0) in main()
|
D | link.lds | 75 /* Adjust the address for the rodata segment. We want to adjust up to 76 the same address within the page on the next page up. */ 86 /* Adjust the address for the data segment. We want to adjust up to 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/include/asm/ |
D | asm.h | 119 void wrmsr(uint64_t address, uint64_t value) in wrmsr() argument 121 __asm__ __volatile__("wrmsr \n\t" ::"d"(value >> 32), "a"(value & 0xffffffff), "c"(address) in wrmsr() 131 uint64_t rdmsr(uint64_t address) in rdmsr() argument 136 : "c"(address) in rdmsr()
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/pci/ |
D | pci.rs | 17 let address = ((bus_device_function.bus as u32) << 16) in read_config() localVariable 23 io_out32(PORT_PCI_CONFIG_ADDRESS, address); in read_config() 31 let address = ((bus_device_function.bus as u32) << 16) in write_config() localVariable 37 io_out32(PORT_PCI_CONFIG_ADDRESS, address); in write_config()
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | page_frame.rs | 290 unsafe fn free(&mut self, address: PhysAddr, count: PageFrameCount); in free() 296 unsafe fn free_one(&mut self, address: PhysAddr) { in free_one() 297 return self.free(address, PageFrameCount::new(1)); in free_one() 308 unsafe fn free(&mut self, address: PhysAddr, count: PageFrameCount) { in free() 309 return T::free(self, address, count); in free() 314 unsafe fn free_one(&mut self, address: PhysAddr) { in free_one() 315 return T::free_one(self, address); in free_one()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | mod.rs | 89 pub const fn new(address: usize) -> Self { in new() 90 Self(address) in new() 194 pub const fn new(address: usize) -> Self { in new() 195 return Self(address); in new() 393 unsafe fn read<T>(address: VirtAddr) -> T { in read() 394 return ptr::read(address.data() as *const T); in read() 399 unsafe fn write<T>(address: VirtAddr, value: T) { in write() 400 ptr::write(address.data() as *mut T, value); in write() 404 unsafe fn write_bytes(address: VirtAddr, value: u8, count: usize) { in write_bytes() 405 ptr::write_bytes(address.data() as *mut u8, value, count); in write_bytes() [all …]
|
D | slab.h | 29 extern unsigned long kfree(void *address);
|
D | page.rs | 160 self.entry(index)?.address().ok()?, in next_level_table() 200 pub fn address(&self) -> Result<PhysAddr, PhysAddr> { in address() method 676 let paddr = entry.address().ok()?; in translate() 768 return Some((entry.address().ok()?, entry.flags())); in unmap_phys_inner()
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 42 pub const fn new(address: usize) -> Self { in new() 43 Self(address) in new() 671 let address = bdf << 12 | register_offset as u32; in cam_offset() localVariable 673 assert!(address & 0x3 == 0); in cam_offset() 674 address in cam_offset() 681 let address = self.cam_offset(bus_device_function, register_offset); in read_config() localVariable 684 (self.mmio_base.unwrap().add((address >> 2) as usize)).read_volatile() in read_config() 698 let address = self.cam_offset(bus_device_function, register_offset); in write_config() localVariable 703 (self.mmio_base.unwrap().add((address >> 2) as usize)).write_volatile(data) in write_config() 1250 address: u64, [all …]
|
D | pci.c | 47 …uint address = (uint)((lbus << 16) | (lslot << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint)0x800… in pci_read_config() local 48 io_out32(PORT_PCI_CONFIG_ADDRESS, address); in pci_read_config() 71 …uint address = (uint)((lbus << 16) | (lslot << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint)0x800… in pci_write_config() local 72 io_out32(PORT_PCI_CONFIG_ADDRESS, address); in pci_write_config()
|
/DragonOS-0.1.8/kernel/src/driver/timers/HPET/ |
D | HPET.c | 272 HPET_REG_BASE = SPECIAL_MEMOEY_MAPPING_VIRT_ADDR_BASE + hpet_table->address; in HPET_init() 273 kdebug("hpet_table->address=%#018lx", hpet_table->address); in HPET_init()
|
/DragonOS-0.1.8/tools/qemu/ |
D | ifup-nat | 53 --listen-address=$GATEWAY \
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | errno.md | 45 #define EDESTADDRREQ 17 /* 需要目标地址 Destination address required.*/ 55 #define EFAULT 21 /* 错误的地址 Bad address*/ 145 #define ENXIO 63 /* 没有这样的设备或地址 No such device or address.*/
|
/DragonOS-0.1.8/kernel/src/driver/acpi/ |
D | acpi.h | 92 uint64_t address; member
|
/DragonOS-0.1.8/user/apps/test_fstat/ |
D | link.lds | 75 /* Adjust the address for the rodata segment. We want to adjust up to 76 the same address within the page on the next page up. */ 86 /* Adjust the address for the data segment. We want to adjust up to 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/test_gettimeofday/ |
D | link.lds | 75 /* Adjust the address for the rodata segment. We want to adjust up to 76 the same address within the page on the next page up. */ 86 /* Adjust the address for the data segment. We want to adjust up to 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/user/apps/test_relibc/ |
D | link.lds | 75 /* Adjust the address for the rodata segment. We want to adjust up to 76 the same address within the page on the next page up. */ 86 /* Adjust the address for the data segment. We want to adjust up to 87 the same address within the page on the next page up. */
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 157 unsafe fn invalidate_page(address: VirtAddr) { in invalidate_page() 159 asm!("invlpg [{0}]", in(reg) address.data(), options(nostack, preserves_flags)); in invalidate_page() 542 address: crate::mm::PhysAddr, in free() 547 return allocator.free(address, count); in free()
|
/DragonOS-0.1.8/kernel/src/net/ |
D | net_core.rs | 74 .update_ip_addrs(&[wire::IpCidr::Ipv4(config.address)]) in dhcp_query()
|
/DragonOS-0.1.8/ |
D | README_EN.md | 41   You can send an email to the project's maintainer: longjin. His email address is [longj…
|
D | LICENSE | 240 address new problems or concerns.
|