/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_BIOS_EBDA_H #define _ASM_X86_BIOS_EBDA_H #include <asm/io.h> /* * Returns physical address of EBDA. Returns 0 if there is no EBDA. */
static inline unsigned int get_bios_ebda(void) { /* * There is a real-mode segmented pointer pointing to the * 4K EBDA area at 0x40E. */ unsigned int address = *(unsigned short *)phys_to_virt(0x40E); address <<= 4; return address; /* 0 means none */ }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Alan Cox | 33 | 97.06% | 1 | 50.00% |
Mike Waychison | 1 | 2.94% | 1 | 50.00% |
Total | 34 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ingo Molnar | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Alan Cox | 39 | 43.33% | 1 | 12.50% |
Ingo Molnar | 37 | 41.11% | 2 | 25.00% |
Huang Ying | 5 | 5.56% | 1 | 12.50% |
Akinobu Mita | 3 | 3.33% | 1 | 12.50% |
H. Peter Anvin | 3 | 3.33% | 1 | 12.50% |
Mike Waychison | 2 | 2.22% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 1.11% | 1 | 12.50% |
Total | 90 | 100.00% | 8 | 100.00% |