函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\boot.h Create Date:2022-07-27 08:25:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Basic port I/O

函数原型:static inline void outb(u8 v, u16 port)

返回类型:void

参数:

类型参数名称
u8v
u16port
41  asm volatile
调用者
名称描述
enable_a20_kbc
enable_a20_fast
early_serial_init串口初始化
probe_baud取串口波特率
realmode_switch_hook设置真实模式钩子
mask_all_interrupts禁止中断
reset_coprocessor重置协处理器
serial_putcharThese functions are in .inittext so they can be used to signal* error during initialization.
vga_set_480_scanlines
io_check_error
mask_8259A_irq
unmask_8259A_irq
i8259A_irq_realThis function assumes to be called rarely. Switching between* 8259A registers is slow.* This has to be protected by the irq controller spinlock* before being called.
mask_and_ack_8259ACareful! The 8259A is a fragile beast, it pretty* much _has_ to be done exactly like this (mask it* first, _then_ send the EOI, and the order of EOI* to the two 8259s is important!
restore_ELCRELCR registers (0x4d0, 0x4d1) control edge/level of IRQ
i8259A_shutdown
mask_8259A
unmask_8259A
probe_8259A
init_8259AThis is the 'legacy' 8259A Programmable Interrupt Controller,* present in the majority of PC/AT boxes.* plus some generic x86 specific things if generic specifics makes* any sense at all.
pit_calibrate_tscTry to calibrate the TSC against the Programmable* Interrupt Timer and return the frequency of the TSC* in kHz.* Return ULONG_MAX on failure to calibrate.
quick_pit_calibrate
rtc_cmos_readRoutines for accessing the CMOS RAM/RTC.
rtc_cmos_write
acpi_pic_sci_set_triggeracpi_pic_sci_set_trigger()* use ELCR to set PIC-mode trigger type for SCI* If a PIC-mode SCI is not recognized or gives spurious IRQ7's* it may require Edge Trigger -- use "acpi_sci=edge"* Port 0x4d0-4d1 are ECLR1 and ECLR2, the Edge/Level Control
native_machine_emergency_restartTo the best of our knowledge Windows compatible x86 hardware expects* the following on reboot:* 1) If the FADT has the ACPI reboot register flag set, try it* 2) If still alive, write to the keyboard controller* 3) If still alive, write to the ACPI reboot
imcr_pic_to_apicHandle interrupt mode configuration register (IMCR)
imcr_apic_to_pic
print_PIC
rdc321x_reset
ce4100_reset
io_serial_out
in_idxAccessing VGA indexed registers
reassert_nmi
outb_pic
pci_serr_error
getCx86NSC/Cyrix CPU indexed register access. Must be inlined instead of* macros to ensure correct access ordering* Access order is always 0x22 (=offset), 0x23 (=value)
setCx86