python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why "GCC" ignores -fno-pic for assembly code
I'm writing an OS and I want to switch to long mode.
The problem is that my cross compiler (x86_64-elf-gcc) is generating position independent code even if I pass the -fno-pic option.
boot.S
/* boot.S...
R0M2
Votes: 0
Answers: 0
Why does interrupt 0x10 works after cli instruction?
I have the following code which I was expecting not to work:
cli
lgdt [gdt_32_descriptor]
mov ah , 0x0e
mov al , 'f'
int 0x10
I was expecting after using cli instruction, that int 0x10 would not wo...
Νίκος Αντωνετσής
Votes: 0
Answers: 0
What is contained in Android's init on initrd.img?
I unpacked the initrd.img with cat initrd.img | gunzip | cpio -vid and then there's an executable called init which I think is the first thing the kernel runs. However, what does it do? Is there an ex...
Guerlando OCs
Votes: 0
Answers: 1
Android VideoView Can't play this video when streaming from localserver
I want to play video in VideoView from my local Spring Boot server, when I pass the URL into VideoView it shows (Can't play this video).
e.g. URL passed to VideoView is (http://172.20.10.3:8090/api/v1...
Yousef
Votes: 0
Answers: 1