Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thiago Farina
Date: Monday, August 2, 2010 - 12:09 pm

On Mon, Aug 2, 2010 at 3:27 PM, H. Peter Anvin <hpa@zytor.com> wrote:

What about this instead?

static inline bool isxdigit(int ch) {
  return (isdigit(ch) || (ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f');
}

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup, Thiago Farina, (Mon Aug 2, 12:09 pm)
[tip:x86/setup] x86, setup: Allow global variables and fun ..., tip-bot for H. Peter ..., (Mon Aug 2, 8:30 pm)
[tip:x86/setup] x86, setup: reorganize the early console setup, tip-bot for Yinghai Lu, (Mon Aug 2, 8:31 pm)
[tip:x86/setup] x86, setup: move isdigit.h to ctype.h, hea ..., tip-bot for H. Peter ..., (Mon Aug 2, 9:10 pm)