|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v13A 26/35] x86/fred: FRED entry/exit and dispatch code
On Sat, Dec 09, 2023 at 01:42:14PM -0800, Xin Li wrote:
> +static noinstr void fred_intx(struct pt_regs *regs)
> +{
> + switch (regs->fred_ss.vector) {
> + /* Opcode 0xcd, 0x3, NOT INT3 (opcode 0xcc) */
> + case X86_TRAP_BP:
> + return exc_int3(regs);
> +
> + /* Opcode 0xcd, 0x4, NOT INTO (opcode 0xce) */
> + case X86_TRAP_OF:
> + return exc_overflow(regs);
> +
> + /* INT80 */
> + case IA32_SYSCALL_VECTOR:
> + if (ia32_enabled())
> + return int80_emulation(regs);
Second compiler no likey:
arch/x86/entry/entry_fred.c:68:11: error: implicit declaration of function
'int80_emulation' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return int80_emulation(regs);
^
arch/x86/entry/entry_fred.c:68:4: error: void function 'fred_intx' should not
return a value [-Wreturn-type]
return int80_emulation(regs);
^ ~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
config is attached.
compiler is Ubuntu clang version 14.0.0-1ubuntu1.1.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Attachment:
00-38-19-randconfig-x86_64-14904.cfg
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |