x86: add GDT and IDT
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
f10e3f31d7
commit
e5b55a6ba5
25 changed files with 1211 additions and 13 deletions
|
|
@ -4,7 +4,10 @@
|
|||
#
|
||||
# Important to remember that this is run at the project-root-level,
|
||||
# all of it, as it is invoked with $(MAKE) -f
|
||||
include .config
|
||||
ifneq ($(shell test -e .config && echo -n yes),yes)
|
||||
$(error Please type `make config` to generate a config)
|
||||
endif
|
||||
-include .config
|
||||
export
|
||||
|
||||
obj-y :=
|
||||
|
|
|
|||
|
|
@ -23,11 +23,16 @@ run_menuconfig() {
|
|||
done
|
||||
|
||||
# 2. Show the menu
|
||||
CHOICES=$(dialog --stdout --backtitle "Project Setup" \
|
||||
tput smcup
|
||||
|
||||
CHOICES=$(dialog --stdout --keep-tite --backtitle "Project Setup" \
|
||||
--title "$TITLE" \
|
||||
--checklist "Use SPACE to toggle, ENTER to save:" 15 70 10 \
|
||||
"${DIALOG_ARGS[@]}")
|
||||
|
||||
tput rmcup
|
||||
|
||||
|
||||
# 3. Save if user didn't cancel
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "# Generated Configuration" > "$CONFIG_FILE"
|
||||
|
|
|
|||
Loading…
Reference in a new issue