Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch ahci #347

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions kernel/src/arch/x86_64/ia64_msi.c

This file was deleted.

11 changes: 0 additions & 11 deletions kernel/src/arch/x86_64/ia64_msi.h

This file was deleted.

8 changes: 4 additions & 4 deletions kernel/src/debug/traceback/traceback.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#pragma once
#include <common/glib.h>
#include<process/ptrace.h>
#include <process/ptrace.h>

// 使用弱引用属性导出kallsyms中的符号表。
// 采用weak属性是由于第一次编译时,kallsyms还未链接进来,若不使用weak属性则会报错
extern const uint64_t kallsyms_address[] __attribute__((weak));
extern const uint64_t kallsyms_num __attribute__((weak));
extern const uint64_t kallsyms_names_index[] __attribute__((weak));
extern const char* kallsyms_names __attribute__((weak));
extern const char *kallsyms_names __attribute__((weak));

/**
* @brief 追溯内核栈调用情况
*
*
* @param regs 内核栈结构体
*/
void traceback(struct pt_regs * regs);
void traceback(struct pt_regs *regs);
7 changes: 2 additions & 5 deletions kernel/src/driver/disk/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@

all: ata.o ahci.o
all: ata.o

CFLAGS += -I .

ata.o: ata.c
$(CC) $(CFLAGS) -c ata.c -o ata.o

ahci.o: ahci/ahci.c
$(CC) $(CFLAGS) -c ahci/ahci.c -o ahci/ahci.o
$(CC) $(CFLAGS) -c ata.c -o ata.o
32 changes: 0 additions & 32 deletions kernel/src/driver/disk/ahci/ahci.c

This file was deleted.

Loading
Loading