retire BIOS_SEG and umap_bios
. readbios call is now a physical copy with range check in the kernel call instead of BIOS_SEG+umap_bios . requires all access to physical memory in bios range to go through sys_readbios . drivers/dpeth: wasn't using it . adjusted printer
This commit is contained in:
@@ -63,8 +63,6 @@
|
||||
#define D 1 /* proc[i].mem_map[D] is for data */
|
||||
#define S 2 /* proc[i].mem_map[S] is for stack */
|
||||
|
||||
#define BIOS_SEG 0x0200 /* flags indicating BIOS memory segment */
|
||||
|
||||
#define PHYS_SEG 0x0400 /* flag indicating entire physical memory */
|
||||
|
||||
#define LOCAL_VM_SEG 0x1000 /* same as LOCAL_SEG, but with vm lookup */
|
||||
|
||||
@@ -131,10 +131,6 @@ int sys_vtimer(endpoint_t proc_nr, int which, clock_t *newval, clock_t
|
||||
int sys_irqctl(int request, int irq_vec, int policy, int *irq_hook_id);
|
||||
|
||||
/* Shorthands for sys_vircopy() and sys_physcopy() system calls. */
|
||||
#define sys_biosin(bios_vir, dst_vir, bytes) \
|
||||
sys_vircopy(SELF, BIOS_SEG, bios_vir, SELF, D, dst_vir, bytes)
|
||||
#define sys_biosout(src_vir, bios_vir, bytes) \
|
||||
sys_vircopy(SELF, D, src_vir, SELF, BIOS_SEG, bios_vir, bytes)
|
||||
#define sys_datacopy(src_proc, src_vir, dst_proc, dst_vir, bytes) \
|
||||
sys_vircopy(src_proc, D, src_vir, dst_proc, D, dst_vir, bytes)
|
||||
#define sys_textcopy(src_proc, src_vir, dst_proc, dst_vir, bytes) \
|
||||
|
||||
Reference in New Issue
Block a user