mips/*/time.h
Hi,
In mips branch grub_cpu_idle() is provided by grub/mips/yeeloong/time.h and grub/mips/qemu-mips/time.h, but there's no grub/mips/time.h.
This breaks mipsel-emu port, which lacks this definition. Why not merge mips/yeeloong/time.h and mips/qemu-mips/time.h into mips/time.h ? Both files are identical.
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
Quoted 10 lines · Robert Millan
Hi,
In mips branch
grub_cpu_idle()is provided bygrub/mips/yeeloong/time.handgrub/mips/qemu-mips/time.h, but there's nogrub/mips/time.h.This breaks mipsel-emu port, which lacks this definition. Why not merge
mips/yeeloong/time.handmips/qemu-mips/time.hintomips/time.h? Both files are identical.
Both are stubs actually. Why does *-emu needs these files at all? *-emu doesn't see this type of machine info. It should just use host function for both cpu_idle and get_rtc
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 5 lines · Robert Millan
Hi,
In mips branch
grub_cpu_idle()is provided bygrub/mips/yeeloong/time.handgrub/mips/qemu-mips/time.h, but there's nogrub/mips/time.h.
Quoted 8 lines
Quoted 5 lines
This breaks mipsel-emu port, which lacks this definition. Why not merge
mips/yeeloong/time.handmips/qemu-mips/time.hintomips/time.h? Both files are identical.Both are stubs actually. Why does *-emu needs these files at all? *-emu doesn't see this type of machine info. It should just use host function for both
cpu_idleandget_rtc
grub_cpu_idle is implemented as an inline stub, which resides in time.h.
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."