Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
- Truncate video address in PTE. Apparently some cards use wierd offsets.
|
|
|
|
|
|
|
|
|
|
comment accordingly. Patch from Dale Rahn.
|
|
|
|
|
|
don't do and of 16 bit quantity on a 32 bit register.
Also gets rid of the assembler warning/error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 bit operations should not be done on 32 bit quantities.
|
|
if the expected argument to the opcode is unsigned,
return (val & 0xffff)
if the expected argument to the occode is signed,
sign extend the 16 bit value
short = val;
val = (int) short;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I also cleaned it up to pass -Wall and check malloc().
|