diff options
Diffstat (limited to 'arch/i386/boot/video.S')
-rw-r--r-- | arch/i386/boot/video.S | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/i386/boot/video.S b/arch/i386/boot/video.S index 925d3f5a3824..0587477c99f2 100644 --- a/arch/i386/boot/video.S +++ b/arch/i386/boot/video.S | |||
@@ -1924,36 +1924,36 @@ skip10: movb %ah, %al | |||
1924 | ret | 1924 | ret |
1925 | 1925 | ||
1926 | store_edid: | 1926 | store_edid: |
1927 | pushw %es # just save all registers | 1927 | pushw %es # just save all registers |
1928 | pushw %ax | 1928 | pushw %ax |
1929 | pushw %bx | 1929 | pushw %bx |
1930 | pushw %cx | 1930 | pushw %cx |
1931 | pushw %dx | 1931 | pushw %dx |
1932 | pushw %di | 1932 | pushw %di |
1933 | 1933 | ||
1934 | pushw %fs | 1934 | pushw %fs |
1935 | popw %es | 1935 | popw %es |
1936 | 1936 | ||
1937 | movl $0x13131313, %eax # memset block with 0x13 | 1937 | movl $0x13131313, %eax # memset block with 0x13 |
1938 | movw $32, %cx | 1938 | movw $32, %cx |
1939 | movw $0x140, %di | 1939 | movw $0x140, %di |
1940 | cld | 1940 | cld |
1941 | rep | 1941 | rep |
1942 | stosl | 1942 | stosl |
1943 | 1943 | ||
1944 | movw $0x4f15, %ax # do VBE/DDC | 1944 | movw $0x4f15, %ax # do VBE/DDC |
1945 | movw $0x01, %bx | 1945 | movw $0x01, %bx |
1946 | movw $0x00, %cx | 1946 | movw $0x00, %cx |
1947 | movw $0x01, %dx | 1947 | movw $0x01, %dx |
1948 | movw $0x140, %di | 1948 | movw $0x140, %di |
1949 | int $0x10 | 1949 | int $0x10 |
1950 | 1950 | ||
1951 | popw %di # restore all registers | 1951 | popw %di # restore all registers |
1952 | popw %dx | 1952 | popw %dx |
1953 | popw %cx | 1953 | popw %cx |
1954 | popw %bx | 1954 | popw %bx |
1955 | popw %ax | 1955 | popw %ax |
1956 | popw %es | 1956 | popw %es |
1957 | ret | 1957 | ret |
1958 | 1958 | ||
1959 | # VIDEO_SELECT-only variables | 1959 | # VIDEO_SELECT-only variables |