Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\boot.h Create Date:2022-07-28 07:26:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inb

Proto:static inline u8 inb(u16 port)

Type:u8

Parameter:

TypeParameterName
u16port
46  asm volatile
47  Return v
Caller
NameDescribe
i8254
empty_8042
enable_a20_fast
early_serial_init
probe_baud
serial_putcharThese functions are in .inittext so they can be used to signal* error during initialization.
vga_crtcI/O address of the VGA CRTC
vga_set_480_scanlines
i8259A_irq_pending
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!
save_ELCR
probe_8259A
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.
pit_verify_msbThis reads the current MSB of the PIT counter, and* checks if we are running on sufficiently fast and* non-virtualized hardware
quick_pit_calibrate
rtc_cmos_readRoutines for accessing the CMOS RAM/RTC.
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
kb_wait
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
print_PIC
io_serial_in
kdb_get_kbd_charCheck if the keyboard controller has a keypress for us.* Some parts (Enter Release, LED change) are still blocking polled here,* but hopefully they are all short.
kdb_kbd_cleanup_stateBest effort cleanup of ENTER break codes on leaving KDB. Called on* exiting KDB, when we know we processed an ENTER or KP ENTER scan* code.
in_idxAccessing VGA indexed registers