Record networking and DMA development progress

Add the current OS source tree, build scripts, system image layout, and development notes covering DMA page allocation, e1000 bring-up, net API dispatch, and DHCP work in progress.
This commit is contained in:
xyou
2026-07-02 16:17:09 +08:00
parent fbc14631e3
commit f1a2a110d7
182 changed files with 16472 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef DSK_PORT_H
#define DSK_PORT_H
static inline void outb(unsigned short port, unsigned char value) {
__asm__ volatile ("outb %0, %1" :: "a"(value), "Nd"(port));
}
static inline unsigned char inb(unsigned short port) {
unsigned char value;
__asm__ volatile ("inb %1, %0" : "=a"(value) : "Nd"(port));
return value;
}
#endif