/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/ |
D | trap.rs | 70 unsafe extern "C" fn do_divide_error(regs: &'static TrapFrame, error_code: u64) { in do_divide_error() 84 unsafe extern "C" fn do_debug(regs: &'static TrapFrame, error_code: u64) { in do_debug() 98 unsafe extern "C" fn do_nmi(regs: &'static TrapFrame, error_code: u64) { in do_nmi() 112 unsafe extern "C" fn do_int3(regs: &'static TrapFrame, error_code: u64) { in do_int3() 126 unsafe extern "C" fn do_overflow(regs: &'static TrapFrame, error_code: u64) { in do_overflow() 140 unsafe extern "C" fn do_bounds(regs: &'static TrapFrame, error_code: u64) { in do_bounds() 154 unsafe extern "C" fn do_undefined_opcode(regs: &'static TrapFrame, error_code: u64) { in do_undefined_opcode() 168 unsafe extern "C" fn do_dev_not_avaliable(regs: &'static TrapFrame, error_code: u64) { in do_dev_not_avaliable() 182 unsafe extern "C" fn do_double_fault(regs: &'static TrapFrame, error_code: u64) { in do_double_fault() 196 unsafe extern "C" fn do_coprocessor_segment_overrun(regs: &'static TrapFrame, error_code: u64) { in do_coprocessor_segment_overrun() [all …]
|
D | entry.rs | 567 unsafe fn get_idt_entry(irq: u32) -> &'static mut [u64] { in get_idt_entry() 578 unsafe fn set_gate(gate: &mut [u64], attr: u8, ist: u8, handler: VirtAddr) { in set_gate()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/ |
D | tsc.rs | 241 fn pit_calibrate_tsc(latch: u64, ms: u64, loopmin: u64) -> Option<u64> { in pit_calibrate_tsc() 311 fn read_refs(hpet_enabled: bool) -> (u64, u64) { in read_refs() 339 fn calc_hpet_ref(mut deltatsc: u64, ref1: u64, mut ref2: u64) -> u64 { in calc_hpet_ref() 355 fn calc_pmtimer_ref(mut deltatsc: u64, ref1: u64, mut ref2: u64) -> u64 { in calc_pmtimer_ref() 383 fn set_cpu_khz(khz: u64) { in set_cpu_khz() 389 fn set_tsc_khz(khz: u64) { in set_tsc_khz()
|
/DragonOS-0.1.9/kernel/crates/crc/src/ |
D | crc64.rs | 41 pub fn crc64_be(mut crc: u64, buf: &[u8]) -> u64 { in crc64_be() 57 pub fn crc64_rocksoft_generic(mut crc: u64, buf: &[u8]) -> u64 { in crc64_rocksoft_generic()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/init/ |
D | mod.rs | 35 fn multiboot2_init(mb2_info: u64, mb2_magic: u32) -> bool; in multiboot2_init() 36 fn __init_set_cpu_stack_start(cpu: u32, stack_start: u64); in __init_set_cpu_stack_start() 41 mb2_info: u64, in kernel_main() 42 mb2_magic: u64, in kernel_main() 43 bsp_gdt_size: u64, in kernel_main() 44 bsp_idt_size: u64, in kernel_main() 71 let stack_start = unsafe { *(head_stack_start as *const u64) } as usize; in early_setup_arch() constant
|
/DragonOS-0.1.9/kernel/src/driver/timers/hpet/ |
D | mod.rs | 28 pub fn counter_clock_period(&self) -> u64 { in counter_clock_period() 35 pub fn frequency(&self) -> u64 { in frequency() 39 pub fn main_counter_value(&self) -> u64 { in main_counter_value() 45 pub unsafe fn write_main_counter_value(&mut self, value: u64) { in write_main_counter_value() 51 pub fn general_config(&self) -> u64 { in general_config() 56 pub unsafe fn write_general_config(&mut self, value: u64) { in write_general_config() 62 pub fn general_intr_status(&self) -> u64 { in general_intr_status()
|
/DragonOS-0.1.9/kernel/src/driver/acpi/ |
D | c_adapter.rs | 4 unsafe extern "C" fn rs_acpi_init(rsdp_vaddr1: u64, rsdp_vaddr2: u64) { in rs_acpi_init()
|
D | mod.rs | 59 pub fn init(&self, rsdp_vaddr1: u64, rsdp_vaddr2: u64) -> Result<(), SystemError> { in init() 74 fn map_tables(&self, rsdp_vaddr1: u64, rsdp_vaddr2: u64) -> Result<(), SystemError> { in map_tables()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/ |
D | mmu.rs | 92 fn tdp_get_cr3(_vcpu: &VmxVcpu) -> u64 { in tdp_get_cr3() 110 gpa: u64, in tdp_page_fault() 211 gpa: u64, in __direct_map() 215 _gfn: u64, in __direct_map() 216 pfn: u64, in __direct_map() 236 _gpa: u64, in mmu_gfn_to_pfn_fast() 238 gfn: u64, in mmu_gfn_to_pfn_fast() 241 ) -> Result<u64, SystemError> { in mmu_gfn_to_pfn_fast()
|
D | ept.rs | 93 gpa: u64, in walk() 94 hpa: u64, in walk()
|
D | vmx_asm_wrapper.rs | 38 pub fn vmx_vmread(vmcs_field: u32) -> Result<u64, SystemError> { in vmx_vmread()
|
/DragonOS-0.1.9/kernel/src/virt/kvm/ |
D | host_mem.rs | 101 fn __gfn_to_hva(slot: KvmMemorySlot, gfn: u64) -> u64 { in __gfn_to_hva() 106 gfn: u64, in __gfn_to_hva_many() 107 nr_pages: Option<&mut u64>, in __gfn_to_hva_many() 109 ) -> Result<u64, SystemError> { in __gfn_to_hva_many() 143 fn hva_to_pfn(addr: u64, _atomic: bool, _writable: &mut bool) -> Result<u64, SystemError> { in hva_to_pfn() 165 gfn: u64, in __gfn_to_pfn() 169 ) -> Result<u64, SystemError> { in __gfn_to_pfn()
|
/DragonOS-0.1.9/kernel/src/mm/ |
D | c_adapter.rs | 136 _vm_flags: u64, in rs_mmio_create() 137 res_vaddr: *mut u64, in rs_mmio_create() 138 res_length: *mut u64, in rs_mmio_create() 163 pub unsafe extern "C" fn rs_mmio_release(vaddr: u64, length: u64) -> i32 { in rs_mmio_release()
|
/DragonOS-0.1.9/kernel/src/driver/base/block/ |
D | disk_info.rs | 27 lba_start: u64, in new() 28 sectors_num: u64, in new()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | core.rs | 183 pub fn do_mkdir(path: &str, _mode: FileMode) -> Result<u64, SystemError> { in do_mkdir() 215 pub fn do_remove_dir(dirfd: i32, path: &str) -> Result<u64, SystemError> { in do_remove_dir() 251 pub fn do_unlink_at(dirfd: i32, path: &str) -> Result<u64, SystemError> { in do_unlink_at()
|
/DragonOS-0.1.9/kernel/src/driver/open_firmware/ |
D | fdt.rs | 179 pub fn early_init_dt_add_memory(&self, _base: u64, _size: u64) { in early_init_dt_add_memory() 184 pub fn early_init_dt_add_memory(&self, base: u64, size: u64) { in early_init_dt_add_memory() 429 fn read_cell(reg_value: &[u8], base_index: usize, cells: usize) -> (u64, usize) { in read_cell()
|
/DragonOS-0.1.9/kernel/src/filesystem/fat/ |
D | entry.rs | 64 pub fn size(&self) -> u64 { in size() 85 offset: u64, in read() 162 offset: u64, in write() 232 offset: u64, in ensure_len() 233 len: u64, in ensure_len() 321 range_start: u64, in zero_range() 322 range_end: u64, in zero_range() 402 pub fn size(&self, fs: &Arc<FATFileSystem>) -> u64 { in size() 415 num_free: u64, in find_free_entries() 417 ) -> Result<Option<(Cluster, u64)>, SystemError> { in find_free_entries() argument [all …]
|
D | fs.rs | 351 pub fn bytes_per_cluster(&self) -> u64 { in bytes_per_cluster() 460 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, SystemError> { in get_fat_entry_raw() 511 pub fn root_dir_bytes_offset(&self) -> u64 { in root_dir_bytes_offset() 529 pub fn root_dir_end_bytes_offset(&self) -> Option<u64> { in root_dir_end_bytes_offset() 543 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset() 660 pub fn fat_start_sector(&self) -> u64 { in fat_start_sector() 667 pub fn active_fat(&self) -> u64 { in active_fat() 683 pub fn fat_size(&self) -> u64 { in fat_size() 727 pub fn bytes_to_sector(&self, in_partition_bytes_offset: u64) -> u64 { in bytes_to_sector() 733 pub fn get_in_partition_bytes_offset(&self, disk_bytes_offset: u64) -> u64 { in get_in_partition_bytes_offset() [all …]
|
/DragonOS-0.1.9/kernel/src/time/ |
D | timer.rs | 247 pub fn next_n_ms_timer_jiffies(expire_ms: u64) -> u64 { in next_n_ms_timer_jiffies() 251 pub fn next_n_us_timer_jiffies(expire_us: u64) -> u64 { in next_n_us_timer_jiffies() 321 pub fn update_timer_jiffies(add_jiffies: u64, time_us: i64) -> u64 { in update_timer_jiffies()
|
/DragonOS-0.1.9/kernel/src/libs/intertrait/src/ |
D | hasher.rs | 13 fn finish(&self) -> u64 { in finish()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/ |
D | apic_timer.rs | 211 fn init(&mut self, mode: LocalApicTimerMode, initial_count: u64, divisor: u32) { in init() 221 fn install_periodic_mode(&mut self, initial_count: u64, divisor: u32) { in install_periodic_mode() 250 fn set_initial_cnt(&mut self, initial_count: u64) { in set_initial_cnt() 318 fn set_timer_initial_count(&self, initial_count: u64) { in set_timer_initial_count()
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | wait_queue.rs | 293 pub fn sleep(&self, events: u64) { in sleep() 304 pub unsafe fn sleep_without_schedule(&self, events: u64) { in sleep_without_schedule() 314 pub fn sleep_unlock_spinlock<T>(&self, events: u64, to_unlock: SpinLockGuard<T>) { in sleep_unlock_spinlock()
|
D | vec_cursor.rs | 83 pub fn read_u64(&mut self) -> Result<u64, SystemError> { in read_u64() 198 pub fn write_u64(&mut self, value: u64) -> Result<u64, SystemError> { in write_u64()
|
/DragonOS-0.1.9/kernel/crates/crc/src/tables/ |
D | crc64.rs | 10 pub const fn new(poly: u64, table: [u64; 256]) -> Self { in new()
|
/DragonOS-0.1.9/kernel/crates/klog_types/src/ |
D | lib.rs | 42 id: u64, in new() 46 time: u64, in new() 73 pub fn calculate_checksum(value: &Self) -> u64 { in calculate_checksum()
|