Displaying 3 results from an estimated 3 matches for "0a1h".
Did you mean:
0.1h
2010 Dec 21
0
unable to write into Local APIC registers
...nd enabling Local APIC but im unable to write into
Local APIC registers . can anyone tell me is there something which im
missing
?
Here is my piece of code
SVR EQU 0FEE000F0H ; define the Spurious interrupt vector
APIC_ENABLE EQU 100H
;disable 8259
MOV AL,0FFH
OUT 0A1H, AL
OUT 021H, AL
;enable local apic and set the spurious interrupt vector
MOV ESI,SVR
MOV EAX,<ESI>
OR EAX,APIC_ENABLE
MOV <ESI>,EAX
Warm regards,
Ravi Kulkarni.
2010 Dec 21
0
unable to write into Local APIC registers
...nd enabling Local APIC but im unable to write into
Local APIC registers . can anyone tell me is there something which im
missing
?
Here is my piece of code
SVR EQU 0FEE000F0H ; define the Spurious interrupt vector
APIC_ENABLE EQU 100H
;disable 8259
MOV AL,0FFH
OUT 0A1H, AL
OUT 021H, AL
;enable local apic and set the spurious interrupt vector
MOV ESI,SVR
MOV EAX,<ESI>
OR EAX,APIC_ENABLE
MOV <ESI>,EAX
Warm regards,
Ravi Kulkarni.
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...g_memory
+ int 22h
+ stc
+ ret
+
+got_e801:
+ cmp ax,3c00h
+ jb mem_below_16mb
+ shl ebx,6
+ add eax,ebx
+
+mem_below_16mb:
+ shl eax,10
+ mov [gfx_bios_mem_size],eax
+ shr eax,20
+ cmp ax,16
+ jb skip_extended
+
+ mov word [gfx_xmem_0],81h ; 1MB at 8MB
+ mov word [gfx_xmem_1],0a1h ; 1MB at 10MB
+ mov dword [gfx_save_area1],7f0000h ; 8MB-64k
+
+skip_extended:
+ movzx ebx,word [gfx_mem_start_seg]
+ shl ebx,4
+
+ movzx ecx,word [gfx_mem_end_seg]
+ shl ecx,4
+
+ mov dword [gfx_mem],ebx
+ mov dword [gfx_mem0_start],ebx
+ mov dword [gfx_mem0_end],ecx
+
+ call gf...